Switchboard API
Post organisations schema utils source url
Upload a schema document based on a source URL. The server will download this URL and upload to object storage automatically.
POST
/
organisations
/
{organisationId}
/
schema-utils
/
{schemaType}
/
source-url
Authorizations
Authorization
string
headerrequiredPath Parameters
organisationId
string
requiredschemaType
string
requiredSchemaType is the type of schema which an App implements. The only supported values are currently "openapi", but is planned to be extended to include gRPC, GraphQL and SOAP.
Body
application/json
sourceURL
string
requiredSourceURL is the URL which can be used to download the original schema document.
additionalHeaders
object[]
additionalHeaders.name
string
requiredadditionalHeaders.value
string
requiredResponse
200 - application/json
url
string
requiredThe URL to identify the schema. This is not publicly accessible and is to be used when creating an App.