Direct Uploads

• unauthenticated

Endpoint

POST /api/v2/direct_uploads

Parameters

Name Description type
blob[content_type] required Content Type string
blob[filename] required Filename string
blob[checksum] required MD5 Checksum string
blob[byte_size] required Size in bytes number

Request

Route

POST /api/v2/direct_uploads

Headers

Accept: application/json
Content-Type: application/json

Body

{
  "blob": {
    "content_type": "text/plain",
    "filename": "test.obj",
    "checksum": "ah59gycxlQLQuD7UA4GblA==",
    "byte_size": "1024"
  }
}

Response

Status

401

Headers

Content-Type: application/json; charset=utf-8

Body

{
  "errors": [
    "You need to sign in or sign up before continuing."
  ]
}