Studio
List Custom Ingredient Versions
List a custom ingredient's version history, newest first (cursor-paginated, max 50 per page).
Each entry includes version_id, parent_version_id, created_at,
created_by, and an auto-generated summary of what changed. For
actor/event audit narrative, use
GET /custom-ingredients/\{custom_ingredient_id\}/audit-trail instead.
Path Parameters
custom_ingredient_id*Custom Ingredient Id
Query Parameters
after?|
Opaque pagination cursor returned in meta.cursor from a previous response. Omit on the first page; pass the previous response's meta.cursor verbatim on each subsequent page.
limit?Limit
Maximum entries to return per page (1 to 50).
Default
50Range
1 <= value <= 50Response Body
application/json
application/json
curl -X GET "https://api.bettermenu.live/studio/custom-ingredients/string/versions"{
"data": [
{
"version_id": "string",
"parent_version_id": "string",
"created_at": "2019-08-24T14:15:22Z",
"created_by": "string",
"summary": "string",
"restored_from_version_id": "string",
"caused_by_event_id": "string"
}
],
"meta": {
"version": "string",
"request_id": "string",
"timestamp": "string",
"cursor": "string",
"has_more": true
}
}Empty
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}