POST
/
organisations
/
{organisationId}
/
schemas
/
{id}
/
components
curl --request POST \
  --url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/schemas/{id}/components \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "replaceExisting": true,
  "components": [
    {
      "schemaId": "<string>",
      "ref": "<string>",
      "definition": {}
    }
  ]
}'
{
  "components": [
    {
      "schemaId": "<string>",
      "ref": "<string>",
      "definition": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

organisationId
string
required
id
string
required

Body

application/json
CreateSchemaComponentsRequest is the request body for creating a new batch of Schema Components.
components
object[]
required
replaceExisting
boolean

Response

200 - application/json
CreateSchemaComponentsResponse is the response definition after creating a batch of schema components.
components
object[]
required