POST
/
workspaces
/
assets
/
upload
curl --request POST \
  --url https://api.mudstack.com/workspaces/assets/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'x-account-id: <x-account-id>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-account-id
string
required
x-workspace-id
string
required

Query Parameters

name
string
required

The name of the file to be uploaded.

type
string
required

The type of the file to be uploaded.

checksum
string

The checksum of the file to be uploaded.

Response

200 - application/json
A signed URL for the upload.
url
string

The signed URL for the upload.