The computer reads its items' states
State, match note, park reason and files of each named item this computer sent (1 to 100 refs); a ref the server does not hold is left out. Never a name; an erased item answers only its tombstone.
State, match note, park reason and files of each named item this computer sent (1 to 100 refs); a ref the server does not hold is left out. Never a name; an erased item answers only its tombstone.
Authorization
uploaderKey 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
Query Parameters
^[0-9a-f]{32}(?:,[0-9a-f]{32}){0,9}$/uResponse Body
application/json
curl -X GET "https://example.com/uploader/device/items?refs=string"{ "items": [ { "ref": "string", "state": "importing", "matchNote": "matched_code", "parkReason": "too_large", "erased": true, "files": [ { "ref": "string", "id": "string", "generation": 0, "uploaded": true } ] } ]}The computer reads which of its items' patients were erased GET
Refs of this computer's items whose patient was erased, in erasure order, up to 500 a page; an erasure appears 10 minutes or more after it happens. Ask again with `next` until `refs` is empty. 400 INVALID_CURSOR for a cursor the server did not give.
The computer registers an item POST
The body is the item's manifest (at most 4 MiB), read only after the key; the item is known by the SHA-256 of its exact bytes and its `ref`. The same bytes again answer the item's current state; other bytes under the same ref are 409 UPLOADER_ITEM_CHANGED. An item whose patient was erased answers `erased: true` with no files. 202 `{parked: true, reason}`: `invalid` (unreadable, nothing stored), `manifest_too_large` (over 4 MiB, nothing stored) or `too_large` (a file over 2 GiB: recorded and parked, nothing uploaded). 429 with Retry-After past 100 new items a minute.