POST
/
workspaces
/
import
/
upload
/
single
curl --request POST \
  --url https://api.mudstack.com/workspaces/import/upload/single \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-account-id: <x-account-id>' \
  --header 'x-workspace-id: <x-workspace-id>' \
  --data '{
  "file_sha": "<string>",
  "contentType": "<string>",
  "checksum": {
    "algorithm": "CRC32",
    "value": "<string>"
  }
}'
{
  "signedUrl": "<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

Body

application/json
file_sha
string

The SHA of the file

contentType
string

The content type of the file

checksum
object

Payload containing checksum information.

Response

200 - application/json
Signed URL for the temp location
signedUrl
string

The signed URL for the temp location