Organizing Routes Around One Resource Identity
A resource can have list, detail, and edit routes. Keeping one identity scheme across them simplifies discovery and permission reasoning.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace one article
The public list points to a stable detail ID. An edit route refers to the same record while requiring different authorization and giving a draft result. See public reads and state changes.
Check route responsibilities
Test one normal read and one normal edit against their documented effects. Web route matching explains where each handler is selected.[1]