-
-
Notifications
You must be signed in to change notification settings - Fork 224
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
src/docs/api/design.mdx
Outdated
Nested resources format like `api/0/organizations/{org}/projects/` is recommended over `api/0/projects/` for readability because it gives user an understanding of resource hierarchy but they can also make the URLs too long and hard to use. So at Sentry we’re going with 3-level nesting as a hybrid solution. | ||
|
||
Here are some possible urls for values with this resource hierarchy: organization -> project -> tag -> value | ||
``` |
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.
@shanamatthews is there a better way to highlight a block? I used code block but this is not exactly code :/
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.
hmm, you could put it in a Note or a quote block, but that doesn't seem to fit the content. It might be best to just make it a bulleted list and format the URLs as code, like in my suggested edit
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.
Left some suggestions to fix some grammar & spelling things as well as some other language tweaks for clarity.
apply suggested changes Co-authored-by: Shana Matthews <[email protected]>
Moving https://www.notion.so/sentry/WIP-API-Design-Standards-Expectations-5bb7ceb1266a4fbebf6cc14225fde7bb to api documentation.