Skip to content

Send the file bytes for an upload

PUT
/v1/uploads/{upload_id}/content
curl --request PUT \
--url 'https://api.deskew.dev/v1/uploads/example/content?token=example' \
--header 'Authorization: Bearer <token>'

Raw body, any content type. Authenticated by the signed token in the URL, so a shell command needs no API key.

upload_id
required
Upload Id
string
token
required
Token
string
>= 16 characters

Successful Response

Media typeapplication/json
Response Put Content V1 Uploads Upload Id Content Put
object
key
additional properties
any

Example generated

{}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}