Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This describes a type of functional contract. Servers inform clients what can be done through hypermedia and clients inform servers what they want to do through the same hypermedia. This provides the basis of statelessness with our RESTful APIs. That is, servers are not tracking the application state of each and every client. Servers don't track (and don't care what about) the application state of each and every client. Rather, servers (i.e., our APIs) only care about what cares about requested resource state changes when a client requests at the time it calls our API. Our APIs then package up the When the request is made, our API returns resource content (static and hypermedia) as that is appropriate at the that time. Likewise, clients also should not care about the resource state of the server. They should only be concerned with the application state and any responses the server returns when a change in the resource state is made.

...