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.
curl -i -X POST \ 'https://platform.api.756794052567.rhythmsoftware.com/fileUploads/:tenantId/signedUrlRequest/:service/:filename?contentType=string&public=true' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "url": "string",
- "signed_url": "string",
- "download_url": "string"
}
This method uploads a file to a temporary staging location
curl -i -X PUT \ https://platform.api.756794052567.rhythmsoftware.com/fileUploads/staging/:tenantId/:service/:filename \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'Content-Type: string'
This method retrieves a file that was previously uploaded
curl -i -X GET \ https://platform.api.756794052567.rhythmsoftware.com/fileUploads/:tenantId/:service/:id/:fileid \ -H 'Authorization: YOUR_API_KEY_HERE'
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.
curl -i -X GET \ 'https://platform.api.756794052567.rhythmsoftware.com/fileUploads/:tenantId/signedUrl/:service/:id/:fileid?filename=string&expires=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"
This method retrieves a file that was previously uploaded
curl -i -X GET \ https://platform.api.756794052567.rhythmsoftware.com/fileUploads/:tenantId/:service/:id/:fileid/image \ -H 'access_token: YOUR_API_KEY_HERE'
This method retrieves a file that was previously uploaded
curl -i -X GET \ 'https://platform.api.756794052567.rhythmsoftware.com/fileUploads/:tenantId/public/:service/:id/:fileid/presignedUrlForUpload?isPublic=true&contentType=string'
This method retrieves a file that was previously uploaded
curl -i -X GET \ https://platform.api.756794052567.rhythmsoftware.com/fileUploads/:tenantId/public/:service/:id/:fileid/image