curl --request PUT \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/schemas/{id}/import \
--header 'Authorization: <api-key>'{
"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": {}
}
}
],
"id": "<string>",
"title": "<string>"
}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>'{
"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": {}
}
}
],
"id": "<string>",
"title": "<string>"
}SchemaInfoResponse is the response containing the SchemaInfo of a schema.
Show child attributes
Show child attributes
SupportedAuthConfigs is a list of authentication standards which can be used to connect a user's account to this app. At least one auth type needs to be valid for the App to be used by a user.
Show child attributes
The ID of the Schema record if it is stored.
Title is calculated from the parsed schema. Not all schemas contain this information so may be null.