Authorizations
Body
application/json
curl --request POST \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/schema-utils/{schemaType}/info \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"sourceURL": "<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": {}
}
}
]
}SchemaInfo processes the schema referenced by the provided URL and returns information to allow a user to create an App.
Deprecated: This endpoint is no longer supported, users should create a Schema using the CreateSchema
(POST /organisations//schemas) operation, and use the GetSchemaInfo operation to retrieve
this information.
curl --request POST \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/schema-utils/{schemaType}/info \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"sourceURL": "<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": {}
}
}
]
}