Hateous

Hateous (Hypermedia as the Engine of Application State) is REST API pattern, which also display the relevant URL for the client to discover.

Pasted image 20240310210130.png

Pasted image 20240310210141.png

Benefit

  1. Discoverbility: client can discover more apis without having to search the docs
  2. Flexibility: API can evolve independently without client implementation since there is always a mapping.
  3. Evolvability: Client can choose to adapt the new resources or not, API can just evolve without the need of client to update.