Skip to main content
POST
/
organisations
/
{organisationId}
/
schema-utils
/
{schemaType}
/
import
cURL
curl --request POST \
  --url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/schema-utils/{schemaType}/import \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "<string>"
}'
{
  "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
schemaType
string
required

Body

application/json
url
string
required

Response

availableServers
object[]
required
schemaMetadata
object
required
supportedAuthConfigs
object[]
required
id
string
title
string