mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
Updates message/hal.md
Auto commit by GitBook Editor
This commit is contained in:
@@ -44,8 +44,8 @@ A more complex document example could be an "Order" resource that has a related
|
||||
"href": "/users/john"
|
||||
}
|
||||
},
|
||||
"orderNumber": 1234,
|
||||
"itemCount": 42,
|
||||
"order_number": 1234,
|
||||
"item_count": 42,
|
||||
"status": "pending"
|
||||
}
|
||||
```
|
||||
@@ -69,14 +69,14 @@ The `_embedded` field's object simply contains the related resources HAL represe
|
||||
"_links": {
|
||||
"self": { "href": "/orders/1" }
|
||||
},
|
||||
"orderNumber": "1",
|
||||
"order_number": "1",
|
||||
"status": "pending"
|
||||
},
|
||||
{
|
||||
"_links": {
|
||||
"self": { "href": "/orders/2" }
|
||||
},
|
||||
"orderNumber": "2",
|
||||
"order_number": "2",
|
||||
"status": "cancelled"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user