Get Recipe Protein Quality
Get the recipe's protein quality value, protein claim and display choice.
The value (with its source, who entered it and any supporting document, with
a one-hour download link), the claim, the ingredient that supplies most of
the protein and its share, whether the protein ingredients changed since the
value was entered, and the same value and claim in the label rule checker's
input shape. Accepts ?version_id= to read them at an earlier version.
recipe_id*Recipe Idversion_id?|Leave out for the current recipe. To read an earlier version, pass a version_id from the recipe's version list.
Successful Response
application/json- response
Standard response envelope.
data*The recipe's protein quality value, claim and display choice.
meta*Response metadata.
version_id?|Version committed for this mutation; pass on the next request as If-Match for optimistic concurrency. Present only on versions declaring the recipe_versioning capability.
curl -X GET 'https://api.bettermenu.live/studio/recipes/string/protein-quality'{ "data": { "recipe_id": "string", "quality": { "method": "pdcaas", "score": "string", "source": "lab_finished_product", "basis_note": "string", "entered_by": "string", "entered_at": "2019-08-24T14:15:22Z", "document": { "sha256": "string", "file_name": "string", "content_type": "string", "size_bytes": 0, "uploaded_by": "string", "uploaded_at": "2019-08-24T14:15:22Z", "download_url": "string" } }, "claim": "none", "low_score_display": "percent_dv", "main_protein_source": { "ingredient_name": "string", "share": "string" }, "ingredients_changed_since_entered": true, "check_facts": {} }, "meta": { "version": "string", "request_id": "string", "timestamp": "string" }, "version_id": "string"}