Skip to content

Instantly share code, notes, and snippets.

@yann-yinn
Last active June 29, 2017 22:34
Show Gist options
  • Select an option

  • Save yann-yinn/608901544b93102e1ab8726e86ce335c to your computer and use it in GitHub Desktop.

Select an option

Save yann-yinn/608901544b93102e1ab8726e86ce335c to your computer and use it in GitHub Desktop.
example subrequest
[
{
"requestId": "0",
"uri": "/api/recipes?filter[category.name][value]=Main%20course&page[limit]=4",
"action": "view",
"headers": {
"Accept": "application/json",
"Content-Type": "application/vnd.api+json"
}
},
{
"requestId": "1",
"uri": "/api/recipes?filter[category.name][value]=Starter&page[limit]=4",
"action": "view",
"headers": {
"Accept": "application/json",
"Content-Type": "application/vnd.api+json"
}
},
{
"requestId": "2",
"uri": "/api/recipes?filter[category.name][value]=Snack&page[limit]=4",
"action": "view",
"headers": {
"Accept": "application/json",
"Content-Type": "application/vnd.api+json"
}
},
{
"requestId": "3",
"uri": "/api/recipes?filter[category.name][value]=Salad&page[limit]=4",
"action": "view",
"headers": {
"Accept": "application/json",
"Content-Type": "application/vnd.api+json"
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment