Skip to content

Instantly share code, notes, and snippets.

@odrotbohm
Created April 2, 2016 18:27
Show Gist options
  • Save odrotbohm/77902a7fbef2e46d1eae21db745d1c34 to your computer and use it in GitHub Desktop.
Save odrotbohm/77902a7fbef2e46d1eae21db745d1c34 to your computer and use it in GitHub Desktop.
{
"_embedded" : {
"orders" : [ {
"items" : [ {
"description" : "Lakewood guitar",
"price" : 1299.00,
"_embedded" : {
"product" : {
"name" : "Lakewood guitar",
"price" : 1299.00
}
},
"_links" : {
"type" : {
"href" : "http://localhost:8080/lineItemTypes/1"
},
"product" : {
"href" : "http://localhost:8080/products/1{?projection}",
"templated" : true
}
}
} ],
"_embedded" : {
"customer" : {
"address" : "4711 Some Place, 54321 Charlottesville, VA",
"firstname" : "Dave",
"lastname" : "Matthews",
"_links" : {
"self" : {
"href" : "http://localhost:8080/customers/1{?projection}",
"templated" : true
}
}
}
},
"_links" : {
"self" : {
"href" : "http://localhost:8080/orders/1"
},
"order" : {
"href" : "http://localhost:8080/orders/1"
},
"customer" : {
"href" : "http://localhost:8080/orders/1/customer"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "http://localhost:8080/orders"
},
"profile" : {
"href" : "http://localhost:8080/profile/orders"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment