Skip to main content
POST
Upload a file

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

The file to upload as binary data

The body is of type file.

Response

200 - application/json

The file

content_hash
string

SHA-1 hash of the file contents

content_length
integer

Length of the file contents in bytes

content_type
string

A valid media type

content_url
string

A url that can be used to download the file. URL is only valid for a short time

id
string

Unique identifier for object