POST
/
organisations
/
{organisationId}
/
schemas
/
{id}
/
operation-builder
curl --request POST \
  --url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/schemas/{id}/operation-builder \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "method": "GET",
  "description": "<string>",
  "name": "<string>",
  "schemaId": "<string>",
  "path": "<string>",
  "request": {
    "parameters": [
      {
        "name": "<string>",
        "type": "string",
        "location": "path",
        "required": true
      }
    ],
    "body": {}
  },
  "response": {},
  "callbacks": {},
  "components": {}
}'
{
  "id": "<string>",
  "method": "GET",
  "description": "<string>",
  "name": "<string>",
  "schemaId": "<string>",
  "path": "<string>",
  "request": {
    "parameters": [
      {
        "name": "<string>",
        "type": "string",
        "location": "path",
        "required": true
      }
    ],
    "body": {}
  },
  "response": {},
  "callbacks": {},
  "components": {}
}

Authorizations

Authorization
string
header
required

Path Parameters

organisationId
string
required

OrganisationID is the ID of the organisation that the schema belongs to.

id
string
required

ID is the schema identifier

Body

application/json

BuildSchemaOperationRequest contains the necessary parameters to build a new schema operation.

The body is of type object.

Response

200
application/json

BuildSchemaOperationResponse is returned after a schema operation has been built.

The response is of type object.