_links self href http localhost 8080 orders page size sort projection

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"_links": {
"self": {
"href": "http://localhost:8080/orders?page=&size=&sort=&projection="
},
"search": {
"href": "http://localhost:8080/orders/search"
}
},
"_embedded": {
"orders": [
{
"location": "TAKE_AWAY",
"status": "PAYMENT_EXPECTED",
"orderedDate": "2014-05-20T20:17:00.830Z",
"items": [
{
"name": "Java Chip",
"quantity": 1,
"milk": "SEMI",
"size": "LARGE",
"price": {
"currency": "EUR",
"value": 4.2
}
}
],
"_links": {
"self": {
"href": "http://localhost:8080/orders/1{?projection}",
"templated": true
},
"restbucks:payment": {
"href": "http://localhost:8080/orders/1/payment"
},
"restbucks:cancel": {
"href": "http://localhost:8080/orders/1"
},
"restbucks:update": {
"href": "http://localhost:8080/orders/1"
},
"curies": [
{
"href": "http://localhost:8080/rels/{rel}",
"name": "restbucks",
"templated": true
}
]
}
},
{
"location": "TAKE_AWAY",
"status": "PAYMENT_EXPECTED",
"orderedDate": "2014-05-20T20:17:00.830Z",
"items": [
{
"name": "Cappuchino",
"quantity": 1,
"milk": "SEMI",
"size": "LARGE",
"price": {
"currency": "EUR",
"value": 3.2
}
}
],
"_links": {
"self": {
"href": "http://localhost:8080/orders/2{?projection}",
"templated": true
},
"restbucks:payment": {
"href": "http://localhost:8080/orders/2/payment"
},
"restbucks:cancel": {
"href": "http://localhost:8080/orders/2"
},
"restbucks:update": {
"href": "http://localhost:8080/orders/2"
},
"curies": [
{
"href": "http://localhost:8080/rels/{rel}",
"name": "restbucks",
"templated": true
}
]
}
}
]
},
"page": {
"size": 20,
"totalElements": 2,
"totalPages": 1,
"number": 0
}
}