PUT
/
organisations
/
{organisationId}
/
schemas
/
{id}
/
import
curl --request PUT \
  --url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/schemas/{id}/import \
  --header 'Authorization: <api-key>'
{
  "id": "<string>",
  "title": "<string>",
  "availableServers": [
    {
      "name": "<string>",
      "url": "<string>"
    }
  ],
  "schemaMetadata": {
    "type": "<string>",
    "version": "<string>",
    "url": "<string>"
  },
  "supportedAuthConfigs": [
    {
      "type": "<string>",
      "isValid": true,
      "data": {
        "discoveryUrl": "<string>",
        "clientId": "<string>",
        "clientSecret": "<string>",
        "scopes": {}
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

organisationId
string
required
id
string
required

Query Parameters

force
boolean
default:false

Response

200
application/json
SchemaInfoResponse is the response containing the SchemaInfo of a schema.

The response is of type object.