curl --request GET \
--url https://platform.versori.com/api/connect/v1/o/{organisation_id}/protocols/{protocol_slug}/upload-url \
--header 'Authorization: Bearer <token>'{
"uploadUrl": "<string>",
"url": "<string>"
}GetProtocolUploadURL returns a Signed URL to an object storage service which can be used to upload a file via a PUT request. This is used as a precursor to importing a Connector from a file, which expects a URL. If the user already has a publicly accessible URL to a file then this step can be skipped.
The URL will be valid for 5 minutes and can only be used once.
The content_type and content_length parameters are required to enforce any size and content type restrictions, and these must be sent with the PUT request to the returned URL.
curl --request GET \
--url https://platform.versori.com/api/connect/v1/o/{organisation_id}/protocols/{protocol_slug}/upload-url \
--header 'Authorization: Bearer <token>'{
"uploadUrl": "<string>",
"url": "<string>"
}Bearer token authentication used by the Versori Platform. External consumers must provide an API key, however internal consumers must provide a JWT id_token issued by our IdP.
OK
SignedURL contains URLs to upload and download files from a storage provider.
UploadURL is a URL which can be used to upload a file to a storage provider. This is most-commonly a signed-url from an S3-compatible storage provider however the implementation may vary. Users can use this URL in a PUT request to upload a file.
URL can be used to download the file from a storage provider after it has been uploaded
via uploadUrl. This URL may be a gs:// or s3:// URL which is not accessible to the
public, but it may be provided back to Versori for us to access.