Create a DirectUpload
FileAttachments
Create a DirectUpload
Create a DirectUpload.
The checksum must be calculated exactly the way rails expects it (javascript example).
You should upload the file to direct_upload.url using any provided headers from direct_upload.headers.
Once this is done you can use signed_id in place of a file in any endpoint that accepts file uploads.
POST
Create a DirectUpload
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The Accept-Language request HTTP header indicates the natural language and locale that the client prefers.
Example:
"en"
Body
application/json
Response
Created