Skip to main content
POST
/
organisations
/
{organisationId}
/
schemas
/
{id}
/
operation-builder
cURL
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
id
string
required

Body

application/json
schemaId
string
required
id
string
method
enum<string>
Available options:
GET,
PUT,
POST,
DELETE,
OPTIONS,
HEAD,
PATCH,
TRACE,
SQL
description
string
name
string
path
string
request
object
response
object
callbacks
object
components
object

Response

schemaId
string
required
id
string
method
enum<string>
Available options:
GET,
PUT,
POST,
DELETE,
OPTIONS,
HEAD,
PATCH,
TRACE,
SQL
description
string
name
string
path
string
request
object
response
object
callbacks
object
components
object