-
Notifications
You must be signed in to change notification settings - Fork 438
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
New settings and resources API #7821
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7821 +/- ##
===========================================
+ Coverage 50.10% 62.82% +12.72%
===========================================
Files 1244 1316 +72
Lines 117337 108778 -8559
===========================================
+ Hits 58788 68341 +9553
+ Misses 55594 36500 -19094
- Partials 2955 3937 +982
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
External Discussion DraftFeedback on new Resources and Settings APIsDear Community, we need your help We are working on a new API version for resources and settings: To achieve a uniform design and behavior, we propose the API Style Guide below. If you want to have more plastic view on the new design, have a look at the protos we defined for all settings as well as some resource blueprints for users, user schemas, action exections and action targets in the PR #7821. The end goal is to have all resources defined according to these examples. Any feedback is appreciated, preferrably as early in the process as possible. What do you think about the API Style Guide? What is unclear or not helpful? Is something overengineered? Can you cover your use cases? Are you missing any rules? Is the API and the terminology intuitive? Anything else you would like to mention? Please comment in this discussion or directly in #7821. Thank you very much! API Style GuideThe ZITADEL API adheres to the following style guide. GeneralAll APIs share the following behavior:
All ResourcesAll resource APIs share the following behavior:
Reusable Resources
Settings
API OverviewResources APIsThe following resource APIs adhere to the behavior described in the All Resources section.
Settings APIsThe following settings APIs adhere to the behavior described in the Settings section:
gRPC-Gateway
Documentation
Footnotes |
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.
flatten defaultlogin folder
@@ -9,4 +9,13 @@ This simplifies finding the right API, especially for multi-organization resourc | |||
|
|||
**Note**: V2 is currently in [Beta](/support/software-release-cycles-support#beta) and not yet generally available (breaking changes possible). Check individual services for availability. | |||
|
|||
Once, V2 is generally available, it will adhere to the new [API style guide](/API_STYLE_GUIDE.md) and include these improvements: |
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.
release strategy internal
Please have a look at this (grpc error docs): #5797 |
Design an improved UX for settings and resources APIs
Based on the outcomes of this PR we implement future APIs and change existing APIs. The main goal is to have a uniform API structure and behavior.
Internal Discussion
@zitadel/staff the proposal for a new experience with the ZITADEL resources and settings APIs tracked in #5875 is open for the internal discussion. Everybody who has opinions is invited to express themselves before we invite the community to the discussion (see the external discussion draft below). The external GitHub discussion is planned to be published on May 3rd. I will invite some of you to personal meetings next week.
Please review the /API_STYLE_GUIDE.md and all changes in the /proto and /docs folders. Everything else is for testing purposes only and will be cleaned up before this PR is merged.