POST
/
workspaces
/
assets
/
upload
/
direct
curl --request POST \
  --url https://api.mudstack.com/workspaces/assets/upload/direct \
  --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

object_id
string
required

The ID of the object to be uploaded.

version_id
string
required

The version ID of the object to be uploaded.

upload_type
string
required

The type of upload.

type
string
required

The content type of the file to be uploaded.

object_type
string
required

The type of the object 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.