Get upload URL
Get a presigned URL for uploading a file.
Query Parameters
resource Id - Type: string · UUID
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ID of the resource that will be overwritten by the uploaded file.
- Type: string
filename min length:1required - Type: integer | null
size min:0Integer numbers.
Headers
- Type: string
X - Fabric - Workspace - Id Optional. When provided, the request is executed against the specified delegated workspace. If omitted, the parent workspace is used.
Responses
- application/json
Request Example for get/v2/upload
curl 'https://api.fabric.so/v2/upload?resourceId=null&filename=&size=null' \
--header 'X-Fabric-Workspace-Id: ' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"url": "string",
"headers": {
"ETag": null,
"Content-Disposition": null
}
}