collection

POST /collections

Changed on

Add a new collection

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/collections
  • Auth
    • none
    • or HTTP bearer

Request body text/plain

string required

Response

Collection(s)

CollectionIDstring
CollectionSetunknown
IsActiveboolean
IsBranchableboolean
IsEmbeddedOnlyboolean
IsMaterializedboolean
IsPlaceholderboolean
Namestring
Policyunknown
PreviousVersionunknown
Queryunknown
VersionIDstring

Changes

    • breaking

      added subschema #1 subschema #2 subschema #3 to the /// response property oneOf list for the response status

    • breaking

      the /// response's property type changed from integer to string for status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status