Developers

Check that an upload landed

POST
/uploads/status

Whether the object behind a key from create_upload_target exists, with its size and type. A read: it sends the target in the body because the target is structured.

Authorization

headerAuthorizationBearer <token>

An API Key the User creates in account settings, sent as Authorization: Bearer <key>. It holds the Scopes chosen at creation.

Request Body

application/json
  1. body
key*string
Length1 <= length
target*||

Response Body

Success.

application/json
  1. response
exists*boolean
Example request
curl -X POST 'https://ximagesplitter.com/api/v1/uploads/status' \
  -H 'Content-Type: application/json' \
  -d '{
  "key": "string",
  "target": {
    "kind": "profile-image"
  }
}'
Example response
{
  "exists": false
}