Skip to content
Skip to Content
Docs
Studio

Get Issued Label Record

Read the record of an issued label and the files issued under it.

GET
/studio/recipes/{recipe_id}/servings/{serving_id}/issued-labels/{issued_label_id}

Path Parameters

recipe_id*Recipe Id
serving_id*Serving Id

Serving identifier

issued_label_id*Issued Label Id

Issued label id, from an export's provenance.issued_label_id.

Match^ilbl_[0-9a-f]{24}$

Query Parameters

version_id*Version Id

The recipe version the label was issued for.

Length26 <= length <= 26

Response Body

Successful Response

application/json
  1. response

What a label said when it was issued, and the files issued under it.

record*

The record exactly as stored: its id, the SHA-256 of its content, and the content (the label as printed with each row's basis, the stated zeros and whether they were confirmed, where Added Sugars stood, the findings, the ingredients and their sources, the rule and software versions, and the watermark and footer state). It names no member.

files*array<>

One entry per file issued under this record.

meta*

Response metadata.

Example Request
curl -X GET 'https://api.bettermenu.live/studio/recipes/string/servings/string/issued-labels/string?version_id=stringstringstringstringst'
Example Response
{  "record": {},  "files": [    {      "format": "string",      "artifact_key": "string",      "sha256": "string",      "size_bytes": 0    }  ],  "meta": {    "version": "string",    "request_id": "string",    "timestamp": "string"  }}

Recipe in, FDA-format Nutrition Facts out, with every version kept.

Start freeNo card needed.