Get upload URL

Get a presigned URL for uploading a file.

Query Parameters
  • resourceId
    • 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.

  • filename
    Type: string
    min length:  
    1
    required
  • size
    Type: integer | null
    min:  
    0

    Integer numbers.

Headers
  • X-Fabric-Workspace-Id
    Type: string

    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
  }
}