Skip to content

Instantly share code, notes, and snippets.

@mikekelly
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikekelly/24965e1e0eda5fc3d877 to your computer and use it in GitHub Desktop.
Save mikekelly/24965e1e0eda5fc3d877 to your computer and use it in GitHub Desktop.
{
"links":{
"self":"/orders",
"link-docs":[
{
"name":"v1",
"href":"http://api.example.com/docs/v1/{link}",
"templated":true
}
],
"next": "/orders?page=2",
"v1:find":{
"href":"/orders{?id}",
"templated":true
},
"v1:admin":[
{
"href":"/admins/2",
"title":"Fred"
},
{
"href":"/admins/5",
"title":"Kate"
}
]
},
"currentlyProcessing":14,
"shippedToday":20,
"orders":[
{
"links":{
"self":"/orders/123",
"v1:basket":"/baskets/98712",
"v1:customer":"/customers/7809"
},
"total":30.00,
"currency":"USD",
"status":"shipped"
},
{
"links":{
"self":"/orders/124",
"v1:basket":"/baskets/97213",
"v1:customer":"/customers/12369"
},
"total":20.00,
"currency":"USD",
"status":"processing"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment