GET
/
o
/
{organisation_id}
/
protocols
/
{protocol_slug}
/
upload-url
curl --request GET \
  --url https://platform.versori.com/api/connect/v1alpha1/o/{organisation_id}/protocols/{protocol_slug}/upload-url
{
  "uploadUrl": "<string>",
  "url": "<string>"
}

Authorizations

cookie
string
cookierequired

Cookie authentication used by the Versori Platform.

Path Parameters

organisation_id
string
required
protocol_slug
string
required

Query Parameters

filename
string
required

The name of the file to be uploaded.

content_type
string
required

The content type of the file to be uploaded.

content_length
integer
required

The content length of the file to be uploaded.

Response

200 - application/json
uploadUrl
string
required

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
string
required

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.