curl --request POST \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/schema-utils/{schemaType}/source-url \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"sourceURL": "<string>",
"additionalHeaders": [
{
"name": "<string>",
"value": "<string>"
}
]
}'{
"url": "<string>"
}Upload a schema document based on a source URL. The server will download this URL and upload to object storage automatically.
curl --request POST \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/schema-utils/{schemaType}/source-url \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"sourceURL": "<string>",
"additionalHeaders": [
{
"name": "<string>",
"value": "<string>"
}
]
}'{
"url": "<string>"
}