forked from donnemartin/system-design-primer
-
Notifications
You must be signed in to change notification settings - Fork 0
[Imported] REST section improvement #441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ido777
wants to merge
7
commits into
main
Choose a base branch
from
imported-pr-404
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Previous reference and definition wrongly assumed HTML as mandatory for HATEOAS, where in fact Hypermedia is.
Previous definition assumed rest is only suited for simple hierarchies and presented a use case which can be easily expressed through query params or even an 'action' from a resource Replaced it with the indeed requisite for designing APIs, which is a solid understanding of the business, so relationships are well expressed.
If an action outside CRUD is needed for a specific resource, it is usually expressed with an POST to an action. For instance, the previous example could be modelled as: POST /documents/archieveExpired
Add a more broad view of the problem derived from changing entities and business understanding evolving. Also add common workarounds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
anandfresh
approved these changes
Apr 15, 2025
anandfresh
pushed a commit
that referenced
this pull request
Apr 22, 2025
* ja-Translation: Follows #433 * ja-Translation: Follows #350 * ja-Translation: Follows #348 * ja-Translation: Follows #439 * ja-Translation: Follows #351 * ja-Translation: Follows #411 * ja-Translation: Follows #328 * ja-Translation: Follows #441, #108 * ja-Translation: Follows #400 * ja-Translation: Follows #321 * Update README-ja.md --------- Co-authored-by: Ryo Shibayama <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Imported from donnemartin/system-design-primer#404
Original author: @Roger13
Changed some references, definitions and disadvantages, and removed a misconception.
Changes are: