Skip to content
On this page

Portion size methods

List as served image sets

GET /admin/portion-size/as-served

Get as served set record

GET /admin/portion-size/as-served/:id

Export as served set record in a portable format

GET /admin/portion-size/as-served/:id/export

Import as served set record from a portable format

POST /admin/portion-size/as-served/import

Create new as served set

POST /admin/portion-size/as-served/new

Create new as served set from existing source images

POST /admin/portion-size/as-served/new-from-source

Update as served set

PUT /admin/portion-size/as-served/:id

Delete as served set

DELETE /admin/portion-size/as-served/:id

List image maps

GET /admin/portion-size/image-map

Get image map record

GET /admin/portion-size/image-map/:id

Get source base image for image map

GET /admin/portion-size/image-map/:id/base-image-source-id

Create an image map from SVG

POST /admin/portion-size/image-map/new-from-svg

Upload image map (?)

POST /admin/portion-size/image-map

List guide images

GET /admin/portion-size/guide-image

Get guide image record

GET/admin/portion-size/guide-image/:id

Delete guide image

DELETE /admin/portion-size/guide-image/:id

Update guide image metadata

PATCH /admin/portion-size/guide-image/:id/meta

Update guide image objects

PATCH /admin/portion-size/guide-image/:id/objects

Create a guide image

POST /admin/portion-size/guide-image/new

Update portion size method selection screen image for a guide image

POST /admin/portion-size/guide-image/selection-screen-image

List drinkware sets

GET /admin/portion-size/drinkware

Get drinkware set record

GET /admin/portion-size/drinkware/:id