The mini scale drawn at every crossing of the calibration page
GET
/api/v1/printers/calibration/scale
const url = 'https://example.com/api/v1/printers/calibration/scale';const options = {method: 'GET', 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 GET \ --url https://example.com/api/v1/printers/calibration/scale \ --header 'X-Label-Hub-Key: <X-Label-Hub-Key>'Authorizations
Abschnitt betitelt „Authorizations“Responses
Abschnitt betitelt „Responses“Successful Response
Media typeapplication/json
CalibrationScale
The mini scale at a crossing of the calibration page (mm); the app draws from it.
object
half_mm
required
Half Mm
number
line_mm
required
Line Mm
number
step_mm
required
Step Mm
number
tick_centre_mm
required
Tick Centre Mm
number
tick_half_mm
required
Tick Half Mm
number
tick_whole_mm
required
Tick Whole Mm
number
Example generated
{ "half_mm": 1, "line_mm": 1, "step_mm": 1, "tick_centre_mm": 1, "tick_half_mm": 1, "tick_whole_mm": 1}