Authorizations
Body
application/json
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": {}
}
}
]
}Create a schema record and import the operations to store locally as DB records.
Deprecated in favour of CreateSchema (POST /organisations//schemas)
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": {}
}
}
]
}