Create a backing design
POST
/api/v1/backing-designs
const url = 'https://example.com/api/v1/backing-designs';const options = { method: 'POST', headers: {'X-Label-Hub-Key': '<X-Label-Hub-Key>', 'Content-Type': 'application/json'}, body: '{"key":"example","name":"example","page_size":"A4","strips":[]}'};
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/backing-designs \ --header 'Content-Type: application/json' \ --header 'X-Label-Hub-Key: <X-Label-Hub-Key>' \ --data '{ "key": "example", "name": "example", "page_size": "A4", "strips": [] }'Authorizations
Abschnitt betitelt „Authorizations“Request Bodyrequired
Abschnitt betitelt „Request Bodyrequired“Media typeapplication/json
BackingDesignCreate
object
key
required
Key
string
name
required
Name
string
page_size
required
Page Size
string
strips
Strips
Array<object>
StripMmA free strip on the back of the liner, in mm, in back-side coordinates (R-350-4).
object
h_mm
required
H Mm
number
w_mm
required
W Mm
number
x_mm
required
X Mm
number
y_mm
required
Y Mm
number
Responses
Abschnitt betitelt „Responses“Successful Response
Media typeapplication/json
BackingDesignRead
A backing design: the vendor print on the back of a liner and its free strips.
object
key
required
Key
string
name
required
Name
string
origin
required
Origin
string
page_size
required
Page Size
string
strips
required
Strips
Free strips on the back of the liner in mm, viewed on the liner with the sheet’s top at the top after turning it over along the long edge.
Array<object>
StripMmA free strip on the back of the liner, in mm, in back-side coordinates (R-350-4).
object
h_mm
required
H Mm
number
w_mm
required
W Mm
number
x_mm
required
X Mm
number
y_mm
required
Y Mm
number
types_in_use
required
Types In Use
Sheet types that point to this design.
integer
Example
{ "origin": "seed", "page_size": "A4"}The key exists (backing_design_exists).
Invalid request: a strip is smaller than 1 mm or reaches outside the page (invalid_geometry, error_detail.field names it, e.g. strips.0).