You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.
Following the Resource Blueprint Concept the API Blueprint should offer description of the API state machine.
This will benefit both the conceptual design of an API and the testing of its implementation. Enabling next generation of tools such as powerful mocks or implementation generators.
If an API client is following the REST principles it is essential that it does not utilize any knowledge of the state machine as that should be driven completely by the server (HATEOAS).
#Resource Blog Post- attributes
##Action Retrieve Blog Post- relation: list (self)
##Action Edit Blog Post- relation: edit
##Action Archive Blog Post- relation: archive
##Action Unarchive Blog Post- relation: unarchive
##States- active
- Affordances
- list -> active
- edit -> active
- archive -> archived
- archived
- Affordances
- list -> archived
- unarchive -> active
See the Resource Blueprint concept for details on the possible design of this feature.
Following the Resource Blueprint Concept the API Blueprint should offer description of the API state machine.
This will benefit both the conceptual design of an API and the testing of its implementation. Enabling next generation of tools such as powerful mocks or implementation generators.
If an API client is following the REST principles it is essential that it does not utilize any knowledge of the state machine as that should be driven completely by the server (HATEOAS).
See the Resource Blueprint concept for details on the possible design of this feature.
Related issue #13
The text was updated successfully, but these errors were encountered: