curl --request GET \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/apps/{appId}/operations/{operationId}/schema \
--header 'Authorization: <api-key>'{
"schemaId": "<string>",
"id": "<string>",
"method": "GET",
"description": "<string>",
"name": "<string>",
"path": "<string>",
"request": {
"parameters": [
{
"name": "<string>",
"type": "string",
"location": "path",
"required": true
}
],
"body": {}
},
"response": {},
"callbacks": {},
"components": {}
}Retrieve the input and output schema for a given operation belonging to an app.
curl --request GET \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/apps/{appId}/operations/{operationId}/schema \
--header 'Authorization: <api-key>'{
"schemaId": "<string>",
"id": "<string>",
"method": "GET",
"description": "<string>",
"name": "<string>",
"path": "<string>",
"request": {
"parameters": [
{
"name": "<string>",
"type": "string",
"location": "path",
"required": true
}
],
"body": {}
},
"response": {},
"callbacks": {},
"components": {}
}GetAppOperationSchemaResponse is the response definition containing the schema for a given Operation.
The ID of the schema this object belongs to.
The ID of the operation, for OpenAPI this will be the operationId field if set, otherwise the request's
type and path.
The http method that the operation uses.
GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE, SQL A human-friendly description of what this operation does.
A human-friendly name based on the operation ID.
The path used to call the operation.
Show child attributes
The response body of the operation.
The callbacks of the operation.
An optional map of components the operation refers to indexed by ref.