GET
/
organisations
/
{organisationId}
/
schemas
/
{id}
/
info
curl --request GET \
  --url https://api.switchboard.svc.versori.io/v1alpha1/organisations/{organisationId}/schemas/{id}/info \
  --header 'Authorization: Bearer <token>'
{
  "availableServers": [
    {
      "name": "<string>",
      "url": "<string>"
    }
  ],
  "id": "<string>",
  "schemaMetadata": {
    "type": "<string>",
    "url": "<string>",
    "version": "<string>"
  },
  "supportedAuthConfigs": [
    {
      "data": {
        "clientId": "<string>",
        "clientSecret": "<string>",
        "discoveryUrl": "<string>",
        "scopes": {}
      },
      "isValid": true,
      "type": "<string>"
    }
  ],
  "title": "<string>"
}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

organisationId
string
required

OrganisationID is the ID of the organisation that the schema belongs to.

id
string
required

ID is the schema identifier

Response

200 - application/json
availableServers
object[]
required
id
string

The ID of the Schema record if it is stored.

schemaMetadata
object
required
supportedAuthConfigs
object[]
required

SupportedAuthConfigs is a list of authentication standards which can be used to connect a user's account to this app. At least one auth type needs to be valid for the App to be used by a user.

title
string

Title is calculated from the parsed schema. Not all schemas contain this information so may be null.