-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(api): Switch create team to body params & clarify name vs slug (#…
…56458) ### Name vs Slug for Team Create & Update Clarify the usage of `name` vs `slug` by: 1. Marking `name` as deprecated 2. Explicitly mentioning `slug` is used for the interface 3. Switching display order of `name` and `slug` 4. Marking `name` as deprecated in our request body schema. Ideally we would require `slug` so I wouldn't have to include the extra bit in the description and b/c we use `slug` over `name` for everything now, but that would be a breaking change. ### Create Before + After ![Screenshot 2023-09-19 at 5 45 11 PM](https://github.com/getsentry/sentry/assets/67301797/172e9565-3a7f-4fb3-b4f6-4ea2291d6e86) ![Screenshot 2023-09-19 at 5 44 20 PM](https://github.com/getsentry/sentry/assets/67301797/31162906-b171-410c-bd73-fba651fcf783) ### Update Before + After ![Screenshot 2023-09-19 at 5 45 02 PM](https://github.com/getsentry/sentry/assets/67301797/079a85e7-7462-4382-a7c4-35ec70c9453e) ![Screenshot 2023-09-19 at 6 31 47 PM](https://github.com/getsentry/sentry/assets/67301797/b695500d-7749-4bba-8f86-af7319fa90cc)
- Loading branch information
Showing
2 changed files
with
20 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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