GuideLab Docs

The computer starts sending a file

Starts the generation's multipart upload, or answers the one already started. Parts are 16 MiB. 413 UPLOADER_FILE_TOO_LARGE past 2 GiB; 409 UPLOADER_ITEM_PARKED (details `{parkReason}`) when the item waits for a person; 429 with Retry-After past 3,600 new uploads an hour.

POST
/uploader/device/files/{fileId}/g/{gen}/start

Starts the generation's multipart upload, or answers the one already started. Parts are 16 MiB. 413 UPLOADER_FILE_TOO_LARGE past 2 GiB; 409 UPLOADER_ITEM_PARKED (details {parkReason}) when the item waits for a person; 429 with Retry-After past 3,600 new uploads an hour.

Authorization

uploaderKey
Authorization<token>

Uploader <key>: the 43 base64url characters a Guidelab Uploader computer made and registered by its SHA-256 (POST /uploader/computers). Accepted only on /uploader/device/*; revoking the computer ends it.

In: header

Path Parameters

fileId*string
Length1 <= length <= 200
gen?|
Range0 <= value <= 2147483647

Response Body

application/json

curl -X POST "https://example.com/uploader/device/files/string/g/{gen}/start"
{  "fileId": "string",  "generation": 0,  "state": "pending",  "partSize": 1,  "partCount": 1}
Empty
Empty
Empty
Empty
Empty
Empty
Empty