summary:Fetch the information for the specified menu
description:|
This will return the information for the specified menu.
parameters:
- name:name
description:The name of the menu to return the data for, or 'active' to retrieve the user's currently active menu
in:path
type:string
required:true
default:'active'
responses:
'200':
description:The details of the menu
schema:
$ref:'#/definitions/Menu'
'403':
description:Permission error
schema:
$ref:'#/definitions/Error'
'404':
description:Not found
schema:
$ref:'#/definitions/Error'
default:
description:Unexpected error
schema:
$ref:'#/definitions/Error'
post:
tags:
- menus
summary:Create a menu with the specified name
description:|
This will create the menu, set it as the user's active menu, and return the information for the menu.
parameters:
- name:name
description:The name of the menu to create
in:path
type:string
required:true
responses:
'200':
description:The details of the menu
schema:
$ref:'#/definitions/Menu'
'403':
description:Permission error
schema:
$ref:'#/definitions/Error'
'404':
description:Not found
schema:
$ref:'#/definitions/Error'
default:
description:Unexpected error
schema:
$ref:'#/definitions/Error'
'/menus/{name}/stage/{identifier}':
put:
tags:
- menus
summary:Stage a recipe on the specified menu
description:This will stage the recipe identified by {identifier} on the specified menu. If the menu name is 'current', the user's current menu is used.
parameters:
- name:name
description:The name of the menu to return the data for, or 'active' to retrieve the user's currently active menu
in:path
type:string
required:true
default:'active'
- name:identifier
description:The identifier for the recipe - generally the recipe ID