|
|
|
|
|
by liveoneggs
3363 days ago
|
|
a principal of REST which is often ignored or improperly implemented is hypermedia-driven discovery. You should be able to discover the entire api via a top-level entry point which will return a bunch of links. https://en.wikipedia.org/wiki/HATEOAS |
|
- SOAP had discovery
- XML based REST APIs had discovery (via HATEOAS)
- JSON based REST APIs inevitably never have discovery (looks like there's no standard JSON version of the 'link rel' from HATEOAS)
- GraphQL has discovery