v3

latestOpenAPI 3.1.02026-08-0797185285.8 KB

Post Signed Upload Url

Recreates a presigned upload URL, which must be used to upload the documentation associated with this source. If the document is already uploaded, this endpoint will response with a 409 error.

post/sources/{id}/signed_upload_url

Path parameters

idstring required
Example:src_1EBBF4M7X1S06G1Y

Headers

x-client-secretstring required

A secret token identifying the client connecting to the API

Example:Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP

A secret token identifying the client connecting to the API

Request body

content_typestring required

The content type of the file that will be uploaded. This must also be passed as a 'content-type' header during the upload. The pre-signed URL will only accept a file of this content-type.

content_lengthinteger required

The size (in bytes) of the file that will be uploaded. The pre-signed URL will only accept a file of this size.

Response

Successful Response

string required