Skip to main content
POST
/
v1
/
collections
/
{collection_identifier}
/
documents
/
schema
/
validate
Validate document against collection schema
curl --request POST \
  --url https://api.mixpeek.com/v1/collections/{collection_identifier}/documents/schema/validate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "status": 123,
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": "<string>",
    "details": {}
  },
  "success": false
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

collection_identifier
string
required

The ID or name of the collection.

Body

application/json

The document payload to validate against the collection schema.

Response

Successful Response