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": {}
}
}
]
}ImportSchemaOperations adds the operations for a schema the database for faster retrieval.
Deprecated: This endpoint is no longer supported as schemas are automatically imported using the
CreateSchema (POST /organisations//schemas) operation. This endpoint will be replaced with a
reimport endpoint in the future, in the meantime this may be used when the force parameter is set to true.
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": {}
}
}
]
}