Skip to content

Returns an AWS S3 pre-signed URL for use in downloading a file from a web application

Request

This method contacts S3 and generates a "presigned URL." This URL can be used to post a file. The return value is the URL to post.

Security
knox-authorizer
Path
tenantIdstringrequired

The id of the tenant being accessed

servicestringrequired

The service containing the record this file is related to

idstringrequired

The id of the record this file is related to

fileidstringrequired

The id of the uploaded file

Query
filenamestring

An optional filename to enforce for the file

expiresstring

An optional signed url expire time in seconds, default - 60 (1 minute), max - 259200 (72 hours)

curl -i -X GET \
  'https://docs.api.rhythmsoftware.com/_mock/apis/platform/platform-v1/fileUploads/{tenantId}/signedUrl/{service}/{id}/{fileid}?filename=string&expires=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

The file upload was saved successfully

Headers
Access-Control-Allow-Headersstring
Access-Control-Allow-Methodsstring
Access-Control-Allow-Originstring
Bodyapplication/json
string
Response
"string"