POST
/
v4
/
schemas
curl --request POST \
  --url https://api.kadoa.com/v4/schemas \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "entity": "<string>",
  "fields": [
    {
      "name": "<string>",
      "description": "<string>",
      "example": "<string>",
      "dataType": "STRING"
    }
  ]
}'
{
  "success": true,
  "schemaId": "<string>",
  "message": "<string>"
}

Authorizations

x-api-key
string
header
required

Headers

x-api-key
string

API key for authorization

Authorization
string

Bearer token for authorization

Body

application/json

Response

201
application/json

Schema created successfully

The response is of type object.