Skip to main content
POST
Confirm an upload

Authorizations

x-cominty-token
string
header
required

A Cominty Platform API secret. A key created now starts with sk-cmt-. Send it as is, or as Bearer sk-cmt-..., with at most one Bearer prefix. A key created before the prefix existed has no sk-cmt- and still works.

Body

application/json
etag
string
required

ETag returned by the storage upload.

key
string
required

key field from the upload permission's fields.

Response

Successful Response

id
string
required
name
string
required
size
integer
required
mimetype
string
required
origin
enum<string>
required
Available options:
user,
agent
url
string
required
read-only