document

POST /collections/{name}

Changed on

Add document(s) to a collection

Request

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

Path parameters

namestring required

Collection name

Request body

Document required
OR
Document[] required

Response

The IDs of the added documents

string[] required

Changes