Skip to main content

uploadFile

POST 

/v1/environment/:environment/files/upload

Get a signed url to upload a File in an Environment. The url will valid for 15 minutes. Uploads to a Ganymede bucket will require a PUT request with the header "x-goog-content-length-range" set with value "0,10000000", the header "x-goog-meta-initiatortype" set with value "API", and the header "x-goog-meta-initiatorid" set with the initiator value that was passed in the request body. Uploads to a customer S3 Bucket managed by Ganymede will require a "POST" request with formData including all "formData" returned with the upload response from Ganymede as well as the field "file" with the file string contents.

Request

Responses

Signed Url