Skip to content

Gets a presigned URL to update for uploading a public image

Request

This method retrieves a file that was previously uploaded

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
isPublicboolean

Should this be a public signed url

contentTypestring

The content type of the file being generate

curl -i -X GET \
  'https://docs.api.rhythmsoftware.com/_mock/apis/platform/platform-v1/fileUploads/{tenantId}/public/{service}/{id}/{fileid}/presignedUrlForUpload?isPublic=true&contentType=string'

Responses

The file upload was saved successfully

Headers
Access-Control-Allow-Headersstring
Access-Control-Allow-Methodsstring
Access-Control-Allow-Originstring
Body*/*
download_urlstring(Download Url)

The pre-signed url to use to download the temporary fiel once it has been uploaded

signed_urlstring(Signed Url)

The pre-signed url to upload the file

urlstring(Url)

The S3 location of the file

Response
{
  "download_url": "string",
  "signed_url": "string",
  "url": "string"
}