document
POST /collections/{name}
Changed onAdd 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
Response
The IDs of the added documents
string[] required
Changes
- info
added the media type
application/jsonfor the response with the status
- info
- info
added the non-success response with the status
- info