GET
/
organisations
/
{organisationId}
/
schema-utils
/
{schemaType}
/
signed-url
curl --request GET \
  --url https://api.switchboard.svc.versori.io/v1alpha1/organisations/{organisationId}/schema-utils/{schemaType}/signed-url \
  --header 'Authorization: Bearer <token>'
{
  "uploadURL": "<string>",
  "url": "<string>"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organisationId
string
required
schemaType
string
required

SchemaType 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.

Response

200 - application/json
uploadURL
string
required

The URL used to upload the object, this includes parameters containing the signature of the ServiceAccount which authorised the upload

url
string
required

The URL to identify the schema. This is not publicly accessible and is to be used when creating an App.