uploadFile
POST/v1/environment/:environment/files/upload
Get a signed url to upload a File in an Environment. The url will be valid for 15 minutes. Uploads to a Ganymede bucket will require a PUT request with these header elements:
{
"x-goog-content-length-range": "0,10000000",
"x-goog-meta-initiatortype": "API",
"x-goog-meta-initiatorid": initiator value 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
- 200
- 409
Signed Url
File Already Exists