alejandroaizel / obento_api

GNU General Public License v3.0
1 stars 0 forks source link

Menu API #1

Closed vickmp closed 2 years ago

vickmp commented 2 years ago

Description API CRUD methods for menu creation.

Use cases

Interface Changes

New API methods:

Description Method Endpoint Body Returns
Get menu GET /api/v1/menus/@menu_id JSON
Get all menus GET /api/v1/menus JSON Array
Create new menu POST /api/v1/menus JSON JSON Array
Delete menu DELETE /api/v1/menus/@menu_id HTTP Response code

Additional Context

IMPORTANT: A user can only access his own data

Schedule model data:

TYPE NAME
INT ID
ID USER_ID
ID RECIPE_ID
TIMESTAMP DATE
TINYINT IS_LUNCH

Progress Status