Confirm that the sheet code on the back is printed
const url = 'https://example.com/api/v1/sheets/example/back-side/confirm';const options = {method: 'POST', headers: {'X-Label-Hub-Key': '<X-Label-Hub-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/sheets/example/back-side/confirm \ --header 'X-Label-Hub-Key: <X-Label-Hub-Key>'The person checked the code on the back (toner dry, QR not smeared). Only this marks the code of a back_side sheet as printed, and an extra code on the back of another sheet as confirmed (back_side_state); a second confirmation changes nothing.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Sheet code, e.g. L4736-0002.
Sheet code, e.g. L4736-0002.
Responses
Section titled “Responses”Successful Response
object
An active sheet whose wanted code on the back of the liner is not confirmed yet: id_placement back_side with id_printed false, or an extra code on the back that is pending (back_side_state). A sheet that never asked for a code on the back misses nothing.
Every cell that is not free, by cell number.
object
Whether the cell holds the sheet’s ID label (the hub fills it). Set by the hub; do not infer it from source.
Whether the feed-direction mark has been printed on this sheet.
Geometry of the version the sheet is pinned to.
object
Example
{ "back_side_state": "pending", "cells": [ { "state": "reserved" } ], "geometry": { "page_size": "A4", "shape": "rectangle" }, "id_placement": "cell", "state": "active"}Sheet not found.
The sheet is discarded (sheet_discarded), or its code does not go on the back and no extra code on the back was printed (id_placement_mismatch).
Validation Error