mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
Updates evolution/naming-conventions.md
Auto commit by GitBook Editor
This commit is contained in:
@@ -36,6 +36,25 @@ A well-formed URI Template Variable:
|
|||||||
## Representation Format Fields
|
## Representation Format Fields
|
||||||
Every representation format field **MUST** conform to the General Naming Rules.
|
Every representation format field **MUST** conform to the General Naming Rules.
|
||||||
|
|
||||||
|
#### Example
|
||||||
|
A well-formed resource representation:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"_links": {
|
||||||
|
"self": {
|
||||||
|
"href": "/orders/1234"
|
||||||
|
},
|
||||||
|
"author": {
|
||||||
|
"href": "/users/john"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"order_number": 1234,
|
||||||
|
"item_count": 42,
|
||||||
|
"status": "pending"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Relation Type Identifier
|
## Relation Type Identifier
|
||||||
Every custom [relation identifier](https://github.com/for-GET/know-your-http-well/blob/master/relations.md) **MUST** conform to the General Naming Rules.
|
Every custom [relation identifier](https://github.com/for-GET/know-your-http-well/blob/master/relations.md) **MUST** conform to the General Naming Rules.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user