mirror of
https://github.com/twirl/The-API-Book.git
synced 2025-05-19 21:33:04 +02:00
style fix
This commit is contained in:
parent
44b0b8ef3d
commit
a30f75c284
@ -203,11 +203,11 @@ We should also note that providing a newly created entity identifier by the requ
|
||||
```
|
||||
POST /v1/recipes/custom
|
||||
{
|
||||
// First part of the composite
|
||||
// The first part of the composite
|
||||
// identifier, for example,
|
||||
// the partner's own id
|
||||
"namespace": "my-coffee-company",
|
||||
// Second part of the identifier
|
||||
// The second part of the identifier
|
||||
"id_component": "lungo-customato"
|
||||
}
|
||||
→
|
||||
@ -217,4 +217,4 @@ POST /v1/recipes/custom
|
||||
}
|
||||
```
|
||||
|
||||
Also note that this format allows us to maintain an important extensibility point: different partners might have totally isolated namespaces, or conversely share them. Furthermore, we might introduce special namespaces (like `common`, for example) to allow for publishing new recipes for everyone (and that, by the way, would allow us to organize our own backoffice to edit recipes).
|
||||
Also note that this format allows us to maintain an important extensibility point: different partners might have totally isolated namespaces or conversely share them. Furthermore, we might introduce special namespaces (like `common`, for example) to allow editing standard recipes (and thus organizing our own recipes backoffice).
|
Loading…
x
Reference in New Issue
Block a user