ServerMania logo

Get List of Recipes Attached to Recipe Group

To view the list of recipes attached to the recipe group, use the following request:
GET /recipe_groups/:id/recipe_group_relations.xml
GET /recipe_groups/:id/recipe_group_relations.json

XML Request Example:


curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://test/recipe_groups/2/recipe_group_relations.xml

JSON Request Example:

curl -i -X GET -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://test/recipe_groups/2/recipe_group_relations.json

Where you have to specify ID of the recipe group in the URL.