POST
/
organisations
/
{organisationId}
/
schemas
curl --request POST \
  --url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/schemas \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "<string>",
  "type": "<string>",
  "async": true
}'
{
  "id": "<string>",
  "type": "<string>",
  "version": "<string>",
  "sourceUrl": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "deletedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Path Parameters

organisationId
string
required

Body

application/json

CreateSchemaRequest is the request body for creating a new Schema.

SchemaCreate is the request body for creating a new schema.

Response

200
application/json

CreateSchemaSyncResponse is the response definition after creating a schema synchronously.

The response is of type object.