-
Couldn't load subscription status.
- Fork 3
feat: AIP-121 – Resource-oriented Design #42
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
base: main
Are you sure you want to change the base?
Conversation
| - The operations (verbs) each resource provides, relying as much as possible on | ||
| the standard operations. | ||
|
|
||
| ### Resources |
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.
A couple of immediate questions...
- How would a "join" query look that faults in resources that cross multiple domains? Should this definition include some notion of composition?
- I'm going to assume that a resource includes multiple "sub resources" (e.g. order header plus order lines with additional reference/inclusion-of other resources (e.g. shipping and billing address for customer). How will this fold in here?
aip/general/0121/aip.md
Outdated
|
|
||
| Resource-oriented APIs emphasize resources (data model) over the operations | ||
| performed on those resources (functionality). A typical resource-oriented API | ||
| exposes a large number of resources with a small number of operations on each |
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.
an arbitrary number
aip/general/0121/aip.md
Outdated
| verbs (usually `POST`) and define the custom verb in the URI. See AIP-136 for | ||
| more detail. | ||
|
|
||
| Services **should** prefer standard operations over custom operations; the |
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.
This is the spot to include the guidance about including all the standard operations unless you have a reason.
Co-authored-by: Richard Gibson <[email protected]>
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.
Looks good! 👍
No description provided.