Files
Get upload url for a file
Changed onReturns a presigned PUT URL for uploading a new version of an existing file. The URL is valid for 1 hour.
get/matters/{matterId}/documents/files/{fileId}/upload
Request
- Base URLhttps://api.smokeball.com
- URLhttps://api.smokeball.com/matters/{matterId}/documents/files/{fileId}/upload
- AuthAPI key in header x-api-key and API key in header Authorization
Path parameters
matterIdstring required
Unique identifier (GUID) of the matter.
fileIdstring required
Unique identifier (GUID) of the file.
Response
When request is successful. Returns an 'UploadFileInfo' object.
Example response
{
"fileId": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
"uploadUrl": "https://example-bucket.s3.amazonaws.com/apiuploads/2f1c9a3e-6b1d-4c7e-9a0f-1d2e3f4a5b6c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600&X-Amz-Signature=...",
"expiry": "2022-04-23T14:30:00Z"
}Changes
- info
added the non-success response with the status
- info