Management API Documentation

Create collection

Description

Create a new collection.

Url

Parameters optional

  • name: must be unique

Example

Create a collection named Wine bottles

Request

Response

HTTP Status code: 201 Created

Errors

HTTP Status code: 400 Bad Request

Invalid JSON

Content not in JSON

Duplicate collection name

Empty collection name

HTTP Status code: 403 Forbidden

Collection limit reached