POST
/
organisations
/
{organisationId}
/
apps
/
{appId}
/
operations
curl --request POST \
  --url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/apps/{appId}/operations \
  --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
appId
string
required

Body

application/json

CreateAppOperationRequest is the request body for creating a new Operation for an App.

The body is of type object.

Response

200
application/json

GetAppOperationSchemaResponse is the response definition containing the schema for a newly created Operation.

The response is of type object.