From 2e3b0c54c09c3d4dda8c7d0f3057c538d718c8b0 Mon Sep 17 00:00:00 2001 From: Fabi <38692350+fgerschwiler@users.noreply.github.com> Date: Mon, 5 Jul 2021 16:16:39 +0200 Subject: [PATCH] docs: fix proto option generation (#1972) * docs: fix proto option generation * update Co-authored-by: Livio Amstutz --- docs/docs/apis/proto/admin.md | 148 +++++++++++ docs/docs/apis/proto/auth.md | 80 ++++++ docs/docs/apis/proto/management.md | 400 +++++++++++++++++++++++++++++ proto/zitadel/docs/zitadel-md.tmpl | 2 +- 4 files changed, 629 insertions(+), 1 deletion(-) diff --git a/docs/docs/apis/proto/admin.md b/docs/docs/apis/proto/admin.md index f86a43368b..a2e6cde824 100644 --- a/docs/docs/apis/proto/admin.md +++ b/docs/docs/apis/proto/admin.md @@ -17,6 +17,8 @@ It respondes as soon as ZITADEL started + GET: /healthz + ### IsOrgUnique @@ -27,6 +29,8 @@ Checks whether an organisation exists by the given parameters + GET: /orgs/_is_unique + ### GetOrgByID @@ -37,6 +41,8 @@ Returns an organisation by id + GET: /orgs/{id} + ### ListOrgs @@ -48,6 +54,8 @@ all queries need to match (AND) + POST: /orgs/_search + ### SetUpOrg @@ -59,6 +67,8 @@ and adds the user to the orgs members as ORG_OWNER + POST: /orgs/_setup + ### GetIDPByID @@ -69,6 +79,8 @@ Returns a identity provider configuration of the IAM + GET: /idps/{id} + ### ListIDPs @@ -79,6 +91,8 @@ Returns all identity provider configurations of the IAM + POST: /idps/_search + ### AddOIDCIDP @@ -89,6 +103,8 @@ Adds a new oidc identity provider configuration the IAM + POST: /idps/oidc + ### UpdateIDP @@ -100,6 +116,8 @@ all fields are updated. If no value is provided the field will be empty afterwar + PUT: /idps/{idp_id} + ### DeactivateIDP @@ -111,6 +129,8 @@ the state MUST be IDP_STATE_ACTIVE for this call + POST: /idps/{idp_id}/_deactivate + ### ReactivateIDP @@ -122,6 +142,8 @@ the state MUST be IDP_STATE_INACTIVE for this call + POST: /idps/{idp_id}/_reactivate + ### RemoveIDP @@ -132,6 +154,8 @@ RemoveIDP deletes the IDP permanetly + DELETE: /idps/{idp_id} + ### UpdateIDPOIDCConfig @@ -143,6 +167,8 @@ all fields are updated. If no value is provided the field will be empty afterwar + PUT: /idps/{idp_id}/oidc_config + ### GetDefaultFeatures @@ -153,6 +179,8 @@ all fields are updated. If no value is provided the field will be empty afterwar + GET: /features + ### SetDefaultFeatures @@ -163,6 +191,8 @@ all fields are updated. If no value is provided the field will be empty afterwar + PUT: /features + ### GetOrgFeatures @@ -173,6 +203,8 @@ all fields are updated. If no value is provided the field will be empty afterwar + GET: /orgs/{org_id}/features + ### SetOrgFeatures @@ -183,6 +215,8 @@ all fields are updated. If no value is provided the field will be empty afterwar + PUT: /orgs/{org_id}/features + ### ResetOrgFeatures @@ -193,6 +227,8 @@ all fields are updated. If no value is provided the field will be empty afterwar + DELETE: /orgs/{org_id}/features + ### GetOrgIAMPolicy @@ -203,6 +239,8 @@ Returns the IAM policy defined by the administrators of ZITADEL + GET: /policies/orgiam + ### UpdateOrgIAMPolicy @@ -214,6 +252,8 @@ it impacts all organisations without a customised policy + PUT: /policies/orgiam + ### GetCustomOrgIAMPolicy @@ -224,6 +264,8 @@ Returns the customised policy or the default if not customised + GET: /orgs/{org_id}/policies/orgiam + ### AddCustomOrgIAMPolicy @@ -234,6 +276,8 @@ Defines a custom ORGIAM policy as specified + POST: /orgs/{org_id}/policies/orgiam + ### UpdateCustomOrgIAMPolicy @@ -244,6 +288,8 @@ Updates a custom ORGIAM policy as specified + PUT: /orgs/{org_id}/policies/orgiam + ### ResetCustomOrgIAMPolicyToDefault @@ -255,6 +301,8 @@ ZITADEL will fallback to the default policy defined by the ZITADEL administrator + DELETE: /orgs/{org_id}/policies/orgiam + ### GetLabelPolicy @@ -265,6 +313,8 @@ Returns the label policy defined by the administrators of ZITADEL + GET: /policies/label + ### GetPreviewLabelPolicy @@ -275,6 +325,8 @@ Returns the preview label policy defined by the administrators of ZITADEL + GET: /policies/label/_preview + ### UpdateLabelPolicy @@ -286,6 +338,8 @@ it impacts all organisations without a customised policy + PUT: /policies/label + ### ActivateLabelPolicy @@ -296,6 +350,8 @@ Activates all changes of the label policy + POST: /policies/label/_activate + ### RemoveLabelPolicyLogo @@ -306,6 +362,8 @@ Removes the logo of the label policy + DELETE: /policies/label/logo + ### RemoveLabelPolicyLogoDark @@ -316,6 +374,8 @@ Removes the logo dark of the label policy + DELETE: /policies/label/logo_dark + ### RemoveLabelPolicyIcon @@ -326,6 +386,8 @@ Removes the icon of the label policy + DELETE: /policies/label/icon + ### RemoveLabelPolicyIconDark @@ -336,6 +398,8 @@ Removes the logo dark of the label policy + DELETE: /policies/label/icon_dark + ### RemoveLabelPolicyFont @@ -346,6 +410,8 @@ Removes the font of the label policy + DELETE: /policies/label/font + ### GetLoginPolicy @@ -356,6 +422,8 @@ Returns the login policy defined by the administrators of ZITADEL + GET: /policies/login + ### UpdateLoginPolicy @@ -367,6 +435,8 @@ it impacts all organisations without a customised policy + PUT: /policies/login + ### ListLoginPolicyIDPs @@ -378,6 +448,8 @@ defined by the administrators of ZITADEL + POST: /policies/login/idps/_search + ### AddIDPToLoginPolicy @@ -389,6 +461,8 @@ It impacts all organisations without a customised policy + POST: /policies/login/idps + ### RemoveIDPFromLoginPolicy @@ -400,6 +474,8 @@ It impacts all organisations without a customised policy + DELETE: /policies/login/idps/{idp_id} + ### ListLoginPolicySecondFactors @@ -410,6 +486,8 @@ Returns the available second factors defined by the administrators of ZITADEL + POST: /policies/login/second_factors/_search + ### AddSecondFactorToLoginPolicy @@ -421,6 +499,8 @@ It impacts all organisations without a customised policy + POST: /policies/login/second_factors + ### RemoveSecondFactorFromLoginPolicy @@ -432,6 +512,8 @@ It impacts all organisations without a customised policy + DELETE: /policies/login/second_factors/{type} + ### ListLoginPolicyMultiFactors @@ -442,6 +524,8 @@ Returns the available multi factors defined by the administrators of ZITADEL + POST: /policies/login/multi_factors/_search + ### AddMultiFactorToLoginPolicy @@ -453,6 +537,8 @@ It impacts all organisations without a customised policy + POST: /policies/login/multi_factors + ### RemoveMultiFactorFromLoginPolicy @@ -464,6 +550,8 @@ It impacts all organisations without a customised policy + DELETE: /policies/login/multi_factors/{type} + ### GetPasswordComplexityPolicy @@ -474,6 +562,8 @@ Returns the password complexity policy defined by the administrators of ZITADEL + GET: /policies/password/complexity + ### UpdatePasswordComplexityPolicy @@ -485,6 +575,8 @@ it impacts all organisations without a customised policy + PUT: /policies/password/complexity + ### GetPasswordAgePolicy @@ -495,6 +587,8 @@ Returns the password age policy defined by the administrators of ZITADEL + GET: /policies/password/age + ### UpdatePasswordAgePolicy @@ -506,6 +600,8 @@ it impacts all organisations without a customised policy + PUT: /policies/password/age + ### GetPasswordLockoutPolicy @@ -516,6 +612,8 @@ Returns the password lockout policy defined by the administrators of ZITADEL + GET: /policies/password/lockout + ### UpdatePasswordLockoutPolicy @@ -527,6 +625,8 @@ it impacts all organisations without a customised policy + PUT: /policies/password/lockout + ### GetPrivacyPolicy @@ -537,6 +637,8 @@ Returns the privacy policy defined by the administrators of ZITADEL + GET: /policies/privacy + ### UpdatePrivacyPolicy @@ -548,6 +650,8 @@ it impacts all organisations without a customised policy + PUT: /policies/privacy + ### GetDefaultInitMessageText @@ -558,6 +662,8 @@ Returns the custom text for initial message + GET: /text/message/init/{language} + ### SetDefaultInitMessageText @@ -571,6 +677,8 @@ The Following Variables can be used: + PUT: /text/message/init/{language} + ### GetDefaultPasswordResetMessageText @@ -581,6 +689,8 @@ Returns the custom text for password reset message + GET: /text/message/passwordreset/{language} + ### SetDefaultPasswordResetMessageText @@ -594,6 +704,8 @@ The Following Variables can be used: + PUT: /text/message/passwordreset/{language} + ### GetDefaultVerifyEmailMessageText @@ -604,6 +716,8 @@ Returns the custom text for verify email message + GET: /text/message/verifyemail/{language} + ### SetDefaultVerifyEmailMessageText @@ -617,6 +731,8 @@ The Following Variables can be used: + PUT: /text/message/verifyemail/{language} + ### GetDefaultVerifyPhoneMessageText @@ -627,6 +743,8 @@ Returns the custom text for verify phone message + GET: /text/message/verifyphone/{language} + ### SetDefaultVerifyPhoneMessageText @@ -640,6 +758,8 @@ The Following Variables can be used: + PUT: /text/message/verifyphone/{language} + ### GetDefaultDomainClaimedMessageText @@ -650,6 +770,8 @@ Returns the custom text for domain claimed message + GET: /text/message/domainclaimed/{language} + ### SetDefaultDomainClaimedMessageText @@ -663,6 +785,8 @@ The Following Variables can be used: + PUT: /text/message/verifyphone/{language} + ### GetDefaultLoginTexts @@ -673,6 +797,8 @@ Returns the default custom texts for login ui + GET: /text/default/login/{language} + ### GetCustomLoginTexts @@ -683,6 +809,8 @@ Returns the custom texts for login ui + GET: /text/login/{language} + ### SetCustomLoginText @@ -694,6 +822,8 @@ it impacts all organisations without customized login ui texts + PUT: /text/login/{language} + ### ListIAMMemberRoles @@ -704,6 +834,8 @@ Returns the IAM roles visible for the requested user + POST: /members/roles/_search + ### ListIAMMembers @@ -715,6 +847,8 @@ all queries need to match (ANDed) + POST: /members/_search + ### AddIAMMember @@ -726,6 +860,8 @@ undefined roles will be dropped + POST: /members + ### UpdateIAMMember @@ -737,6 +873,8 @@ The member has only roles provided by this call + PUT: /members/{user_id} + ### RemoveIAMMember @@ -747,6 +885,8 @@ Removes the user from the membership list of ZITADEL + DELETE: /members/{user_id} + ### ListViews @@ -759,6 +899,8 @@ they represent the delta of the event happend on the objects + POST: /views/_search + ### ClearView @@ -772,6 +914,8 @@ Search requests will return wrong results until all deltas are recomputed + POST: /views/{database}/{view_name} + ### ListFailedEvents @@ -784,6 +928,8 @@ For example if the SMTP-API wasn't able to send an email at the first time + POST: /failedevents/_search + ### RemoveFailedEvent @@ -798,6 +944,8 @@ failed event. You can find out if it worked on the `failure_count` + DELETE: /failedevents/{database}/{view_name}/{failed_sequence} + diff --git a/docs/docs/apis/proto/auth.md b/docs/docs/apis/proto/auth.md index 259d0a4f91..df1d7b210c 100644 --- a/docs/docs/apis/proto/auth.md +++ b/docs/docs/apis/proto/auth.md @@ -16,6 +16,8 @@ title: zitadel/auth.proto + GET: /healthz + ### GetMyUser @@ -26,6 +28,8 @@ Returns my full blown user + GET: /users/me + ### ListMyUserChanges @@ -36,6 +40,8 @@ Returns the history of the authorized user (each event) + POST: /users/me/changes/_search + ### ListMyUserSessions @@ -46,6 +52,8 @@ Returns the user sessions of the authorized user of the current useragent + POST: /users/me/sessions/_search + ### ListMyRefreshTokens @@ -56,6 +64,8 @@ Returns the refresh tokens of the authorized user + POST: /users/me/tokens/refresh/_search + ### RevokeMyRefreshToken @@ -66,6 +76,8 @@ Revokes a single refresh token of the authorized user by its (token) id + DELETE: /users/me/tokens/refresh/{id} + ### RevokeAllMyRefreshTokens @@ -76,6 +88,8 @@ Revokes all refresh tokens of the authorized user + POST: /users/me/tokens/refresh/_revoke_all + ### UpdateMyUserName @@ -86,6 +100,8 @@ Change the user name of the authorize user + PUT: /users/me/username + ### GetMyPasswordComplexityPolicy @@ -97,6 +113,8 @@ This policy defines how the password should look + GET: /policies/passwords/complexity + ### UpdateMyPassword @@ -107,6 +125,8 @@ Change the password of the authorized user + PUT: /users/me/password + ### GetMyProfile @@ -117,6 +137,8 @@ Returns the profile information of the authorized user + GET: /users/me/profile + ### UpdateMyProfile @@ -127,6 +149,8 @@ Changes the profile information of the authorized user + PUT: /users/me/profile + ### GetMyEmail @@ -137,6 +161,8 @@ Returns the email address of the authorized user + GET: /users/me/email + ### SetMyEmail @@ -148,6 +174,8 @@ An email is sent to the given address, to verify it + PUT: /users/me/email + ### VerifyMyEmail @@ -158,6 +186,8 @@ Sets the email address to verified + POST: /users/me/email/_verify + ### ResendMyEmailVerification @@ -168,6 +198,8 @@ Sends a new email to the last given address to verify it + POST: /users/me/email/_resend_verification + ### GetMyPhone @@ -178,6 +210,8 @@ Returns the phone number of the authorized user + GET: /users/me/phone + ### SetMyPhone @@ -189,6 +223,8 @@ An sms is sent to the number with a verification code + PUT: /users/me/phone + ### VerifyMyPhone @@ -199,6 +235,8 @@ Sets the phone number to verified + POST: /users/me/phone/_verify + ### ResendMyPhoneVerification @@ -209,6 +247,8 @@ Resends a sms to the last given phone number, to verify it + POST: /users/me/phone/_resend_verification + ### RemoveMyPhone @@ -219,6 +259,8 @@ Removed the phone number of the authorized user + DELETE: /users/me/phone + ### RemoveMyAvatar @@ -229,6 +271,8 @@ Remove my avatar + DELETE: /users/me/avatar + ### ListMyLinkedIDPs @@ -239,6 +283,8 @@ Returns a list of all linked identity providers (social logins, eg. Google, Micr + POST: /users/me/idps/_search + ### RemoveMyLinkedIDP @@ -249,6 +295,8 @@ Removes a linked identity provider (social logins, eg. Google, Microsoft, AD, et + DELETE: /users/me/idps/{idp_id}/{linked_user_id} + ### ListMyAuthFactors @@ -259,6 +307,8 @@ Returns all configured authentication factors (second and multi) + POST: /users/me/auth_factors/_search + ### AddMyAuthFactorOTP @@ -270,6 +320,8 @@ Only one OTP can be configured per user + POST: /users/me/auth_factors/otp + ### VerifyMyAuthFactorOTP @@ -280,6 +332,8 @@ Verify the last added OTP (One Time Password) + POST: /users/me/auth_factors/otp/_verify + ### RemoveMyAuthFactorOTP @@ -290,6 +344,8 @@ Removed the configured OTP (One Time Password) Factor + DELETE: /users/me/auth_factors/otp + ### AddMyAuthFactorU2F @@ -301,6 +357,8 @@ Multiple U2Fs can be configured + POST: /users/me/auth_factors/u2f + ### VerifyMyAuthFactorU2F @@ -311,6 +369,8 @@ Verifies the last added U2F (Universal Second Factor) of the authorized user + POST: /users/me/auth_factors/u2f/_verify + ### RemoveMyAuthFactorU2F @@ -321,6 +381,8 @@ Removes the U2F Authentication from the authorized user + DELETE: /users/me/auth_factors/u2f/{token_id} + ### ListMyPasswordless @@ -331,6 +393,8 @@ Returns all configured passwordless authentications of the authorized user + POST: /users/me/passwordless/_search + ### AddMyPasswordless @@ -342,6 +406,8 @@ Multiple passwordless authentications can be configured + POST: /users/me/passwordless + ### VerifyMyPasswordless @@ -352,6 +418,8 @@ Verifies the last added passwordless configuration + POST: /users/me/passwordless/_verify + ### RemoveMyPasswordless @@ -362,6 +430,8 @@ Removes the passwordless configuration from the authorized user + DELETE: /users/me/passwordless/{token_id} + ### ListMyUserGrants @@ -372,6 +442,8 @@ Returns all user grants (authorizations) of the authorized user + POST: /usergrants/me/_search + ### ListMyProjectOrgs @@ -382,6 +454,8 @@ Returns a list of organisations where the authorized user has a user grant (auth + POST: /global/projectorgs/_search + ### ListMyZitadelFeatures @@ -392,6 +466,8 @@ Returns a list of features, which are allowed on these organisation based on the + POST: /features/zitadel/me/_search + ### ListMyZitadelPermissions @@ -402,6 +478,8 @@ Returns the permissions the authorized user has in ZITADEL based on his manager + POST: /permissions/zitadel/me/_search + ### ListMyProjectPermissions @@ -412,6 +490,8 @@ Returns a list of roles for the authorized user and project + POST: /permissions/me/_search + diff --git a/docs/docs/apis/proto/management.md b/docs/docs/apis/proto/management.md index c7ea3cd7bf..4730ebb47a 100644 --- a/docs/docs/apis/proto/management.md +++ b/docs/docs/apis/proto/management.md @@ -16,6 +16,8 @@ title: zitadel/management.proto + GET: /healthz + ### GetOIDCInformation @@ -26,6 +28,8 @@ title: zitadel/management.proto + GET: /zitadel/docs + ### GetIAM @@ -36,6 +40,8 @@ Returns some needed settings of the IAM (Global Organisation ID, Zitadel Project + GET: /iam + ### GetUserByID @@ -46,6 +52,8 @@ Returns the requested full blown user (human or machine) + GET: /users/{id} + ### GetUserByLoginNameGlobal @@ -57,6 +65,8 @@ the login name has to match exactly + GET: /global/users/_by_login_name + ### ListUsers @@ -68,6 +78,8 @@ Limit should always be set, there is a default limit set by the service + POST: /users/_search + ### ListUserChanges @@ -79,6 +91,8 @@ Limit should always be set, there is a default limit set by the service + POST: /users/{user_id}/changes/_search + ### IsUserUnique @@ -89,6 +103,8 @@ Returns if a user with the searched email or username is unique + GET: /users/_is_unique + ### AddHumanUser @@ -101,6 +117,8 @@ If a password is given, the user has to change on the next login + POST: /users/human + ### ImportHumanUser @@ -113,6 +131,8 @@ If a password is given, the user doesn't have to change on the next login + POST: /users/human/_import + ### AddMachineUser @@ -123,6 +143,8 @@ Create a user of the type machine + POST: /users/machine + ### DeactivateUser @@ -135,6 +157,8 @@ returns an error if user state is already deactivated + POST: /users/{id}/_deactivate + ### ReactivateUser @@ -146,6 +170,8 @@ returns an error if user state is not deactivated + POST: /users/{id}/_reactivate + ### LockUser @@ -158,6 +184,8 @@ returns an error if user state is already locked + POST: /users/{id}/_lock + ### UnlockUser @@ -169,6 +197,8 @@ returns an error if user state is not locked + POST: /users/{id}/_unlock + ### RemoveUser @@ -179,6 +209,8 @@ Changes the user state to deleted + DELETE: /users/{id} + ### UpdateUserName @@ -189,6 +221,8 @@ Changes the username + GET: /users/{user_id}/username + ### GetHumanProfile @@ -199,6 +233,8 @@ Returns the profile of the human + GET: /users/{user_id}/profile + ### UpdateHumanProfile @@ -209,6 +245,8 @@ Changes the profile of the human + PUT: /users/{user_id}/profile + ### GetHumanEmail @@ -219,6 +257,8 @@ GetHumanEmail returns the email and verified state of the human + GET: /users/{user_id}/email + ### UpdateHumanEmail @@ -230,6 +270,8 @@ If state is not verified, the user will get a verification email + PUT: /users/{user_id}/email + ### ResendHumanInitialization @@ -241,6 +283,8 @@ Changes the email address of the user if it is provided + POST: /users/{user_id}/_resend_initialization + ### ResendHumanEmailVerification @@ -251,6 +295,8 @@ Resends an email to the given email address to finish the email verification pro + POST: /users/{user_id}/email/_resend_verification + ### GetHumanPhone @@ -261,6 +307,8 @@ Returns the phone and verified state of the human phone + GET: /users/{user_id}/phone + ### UpdateHumanPhone @@ -272,6 +320,8 @@ If verified is not set, the user will get an sms to verify the number + PUT: /users/{user_id}/phone + ### RemoveHumanPhone @@ -282,6 +332,8 @@ Removes the phone number of the human + DELETE: /users/{user_id}/phone + ### ResendHumanPhoneVerification @@ -292,6 +344,8 @@ An sms will be sent to the given phone number to finish the phone verification p + POST: /users/{user_id}/phone/_resend_verification + ### RemoveMyAvatar @@ -302,6 +356,8 @@ Removes the avatar number of the human + DELETE: /users/{user_id}/avatar + ### SetHumanInitialPassword @@ -312,6 +368,8 @@ deprecated: use SetHumanPassword + POST: /users/{user_id}/password/_initialize + ### SetHumanPassword @@ -323,6 +381,8 @@ Set no_change_required to true if the user does not have to change the password + POST: /users/{user_id}/password + ### SendHumanResetPasswordNotification @@ -333,6 +393,8 @@ An email will be sent to the given address to reset the password of the user + POST: /users/{user_id}/password/_reset + ### ListHumanAuthFactors @@ -343,6 +405,8 @@ Returns a list of all factors (second and multi) which are configured on the use + POST: /users/{user_id}/auth_factors/_search + ### RemoveHumanAuthFactorOTP @@ -354,6 +418,8 @@ Because only one otp can be configured per user, the configured one will be remo + DELETE: /users/{user_id}/auth_factors/otp + ### RemoveHumanAuthFactorU2F @@ -364,6 +430,8 @@ The u2f (universial second factor) will be removed from the user + DELETE: /users/{user_id}/auth_factors/u2f/{token_id} + ### ListHumanPasswordless @@ -374,6 +442,8 @@ Returns all configured passwordless authentications + POST: /users/{user_id}/passwordless/_search + ### RemoveHumanPasswordless @@ -384,6 +454,8 @@ Removed a configured passwordless authentication + DELETE: /users/{user_id}/passwordless/{token_id} + ### UpdateMachine @@ -394,6 +466,8 @@ Changes a machine user + PUT: /users/{user_id}/machine + ### GetMachineKeyByIDs @@ -404,6 +478,8 @@ Returns a machine key of a (machine) user + GET: /users/{user_id}/keys/{key_id} + ### ListMachineKeys @@ -415,6 +491,8 @@ Limit should always be set, there is a default limit set by the service + POST: /users/{user_id}/keys/_search + ### AddMachineKey @@ -425,6 +503,8 @@ Generates a new machine key, details should be stored after return + POST: /users/{user_id}/keys + ### RemoveMachineKey @@ -435,6 +515,8 @@ Removed a machine key + DELETE: /users/{user_id}/keys/{key_id} + ### ListHumanLinkedIDPs @@ -446,6 +528,8 @@ Limit should always be set, there is a default limit set by the service + POST: /users/{user_id}/idps/_search + ### RemoveHumanLinkedIDP @@ -456,6 +540,8 @@ Removed a configured identity provider (social login) of a human + DELETE: /users/{user_id}/idps/{idp_id}/{linked_user_id} + ### ListUserMemberships @@ -467,6 +553,8 @@ Limit should always be set, there is a default limit set by the service + POST: /users/{user_id}/memberships/_search + ### GetMyOrg @@ -477,6 +565,8 @@ Returns the org given in the header + GET: /orgs/me + ### GetOrgByDomainGlobal @@ -488,6 +578,8 @@ Domain must match exactly + GET: /global/orgs/_by_domain + ### ListOrgChanges @@ -499,6 +591,8 @@ Limit should always be set, there is a default limit set by the service + POST: /orgs/me/changes/_search + ### AddOrg @@ -509,6 +603,8 @@ Creates a new organisation + POST: /orgs + ### UpdateOrg @@ -519,6 +615,8 @@ Changes my organisation + PUT: /orgs/me + ### DeactivateOrg @@ -530,6 +628,8 @@ Users of this organisation will not be able login + POST: /orgs/me/_deactivate + ### ReactivateOrg @@ -540,6 +640,8 @@ Sets the state of my organisation to active + POST: /orgs/me/_reactivate + ### ListOrgDomains @@ -551,6 +653,8 @@ Limit should always be set, there is a default limit set by the service + POST: /orgs/me/domains/_search + ### AddOrgDomain @@ -561,6 +665,8 @@ Adds a new domain to my organisation + POST: /orgs/me/domains + ### RemoveOrgDomain @@ -571,6 +677,8 @@ Removed the domain from my organisation + DELETE: /orgs/me/domains/{domain} + ### GenerateOrgDomainValidation @@ -581,6 +689,8 @@ Generates a new file to validate you domain + POST: /orgs/me/domains/{domain}/validation/_generate + ### ValidateOrgDomain @@ -592,6 +702,8 @@ Validated domains must be unique + POST: /orgs/me/domains/{domain}/validation/_validate + ### SetPrimaryOrgDomain @@ -603,6 +715,8 @@ Primary domain is shown as suffix on the preferred username on the users of the + POST: /orgs/me/domains/{domain}/_set_primary + ### ListOrgMemberRoles @@ -613,6 +727,8 @@ Returns all ZITADEL roles which are for organisation managers + POST: /orgs/members/roles/_search + ### ListOrgMembers @@ -624,6 +740,8 @@ Limit should always be set, there is a default limit set by the service + POST: /orgs/me/members/_search + ### AddOrgMember @@ -634,6 +752,8 @@ Adds a new organisation manager, which is allowed to administrate ZITADEL + POST: /orgs/me/members + ### UpdateOrgMember @@ -644,6 +764,8 @@ Changes the organisation manager + PUT: /orgs/me/members/{user_id} + ### RemoveOrgMember @@ -654,6 +776,8 @@ Removes an organisation manager + DELETE: /orgs/me/members/{user_id} + ### GetProjectByID @@ -664,6 +788,8 @@ Returns a project from my organisation (no granted projects) + GET: /projects/{id} + ### GetGrantedProjectByID @@ -674,6 +800,8 @@ returns a project my organisation got granted from another organisation + GET: /granted_projects/{project_id}/grants/{grant_id} + ### ListProjects @@ -685,6 +813,8 @@ Limit should always be set, there is a default limit set by the service + POST: /projects/_search + ### ListGrantedProjects @@ -696,6 +826,8 @@ Limit should always be set, there is a default limit set by the service + POST: /granted_projects/_search + ### ListGrantedProjectRoles @@ -707,6 +839,8 @@ Limit should always be set, there is a default limit set by the service + GET: /granted_projects/{project_id}/grants/{grant_id}/roles/_search + ### ListProjectChanges @@ -718,6 +852,8 @@ Limit should always be set, there is a default limit set by the service + POST: /projects/{project_id}/changes/_search + ### AddProject @@ -728,6 +864,8 @@ Adds an new project to the organisation + POST: /projects + ### UpdateProject @@ -738,6 +876,8 @@ Changes a project + PUT: /projects/{id} + ### DeactivateProject @@ -749,6 +889,8 @@ Returns an error if project is already deactivated + POST: /projects/{id}/_deactivate + ### ReactivateProject @@ -760,6 +902,8 @@ Returns an error if project is not deactivated + POST: /projects/{id}/_reactivate + ### RemoveProject @@ -771,6 +915,8 @@ All project grants, applications and user grants for this project will be remove + DELETE: /projects/{id} + ### ListProjectRoles @@ -782,6 +928,8 @@ If no limit is requested, default limit will be set, if the limit is higher then + POST: /projects/{project_id}/roles/_search + ### AddProjectRole @@ -792,6 +940,8 @@ Adds a role to a project, key must be unique in the project + POST: /projects/{project_id}/roles + ### BulkAddProjectRoles @@ -802,6 +952,8 @@ add a list of project roles in one request + POST: /projects/{project_id}/roles/_bulk + ### UpdateProjectRole @@ -813,6 +965,8 @@ If a key should change, remove the role and create a new + PUT: /projects/{project_id}/roles/{role_key} + ### RemoveProjectRole @@ -823,6 +977,8 @@ Removes role from UserGrants, ProjectGrants and from Project + DELETE: /projects/{project_id}/roles/{role_key} + ### ListProjectMemberRoles @@ -833,6 +989,8 @@ Returns all ZITADEL roles which are for project managers + POST: /projects/members/roles/_search + ### ListProjectMembers @@ -844,6 +1002,8 @@ Limit should always be set, there is a default limit set by the service + POST: /projects/{project_id}/members/_search + ### AddProjectMember @@ -854,6 +1014,8 @@ Adds a new project manager, which is allowed to administrate in ZITADEL + POST: /projects/{project_id}/members + ### UpdateProjectMember @@ -864,6 +1026,8 @@ Change project manager, which is allowed to administrate in ZITADEL + PUT: /projects/{project_id}/members/{user_id} + ### RemoveProjectMember @@ -874,6 +1038,8 @@ Remove project manager, which is allowed to administrate in ZITADEL + DELETE: /projects/{project_id}/members/{user_id} + ### GetAppByID @@ -884,6 +1050,8 @@ Returns an application (oidc or api) + GET: /projects/{project_id}/apps/{app_id} + ### ListApps @@ -895,6 +1063,8 @@ Limit should always be set, there is a default limit set by the service + POST: /projects/{project_id}/apps/_search + ### ListAppChanges @@ -906,6 +1076,8 @@ Limit should always be set, there is a default limit set by the service + POST: /projects/{project_id}/apps/{app_id}/changes/_search + ### AddOIDCApp @@ -918,6 +1090,8 @@ Returns a new generated secret if needed (Depending on the configuration) + POST: /projects/{project_id}/apps/oidc + ### AddAPIApp @@ -930,6 +1104,8 @@ Returns a new generated secret if needed (Depending on the configuration) + POST: /projects/{project_id}/apps/api + ### UpdateApp @@ -940,6 +1116,8 @@ Changes application + PUT: /projects/{project_id}/apps/{app_id} + ### UpdateOIDCAppConfig @@ -950,6 +1128,8 @@ Changes the configuration of the oidc client + PUT: /projects/{project_id}/apps/{app_id}/oidc_config + ### UpdateAPIAppConfig @@ -960,6 +1140,8 @@ Changes the configuration of the api application + PUT: /projects/{project_id}/apps/{app_id}/api_config + ### DeactivateApp @@ -972,6 +1154,8 @@ Returns an error if already deactivated + POST: /projects/{project_id}/apps/{app_id}/_deactivate + ### ReactivateApp @@ -983,6 +1167,8 @@ Returns an error if not deactivated + POST: /projects/{project_id}/apps/{app_id}/_reactivate + ### RemoveApp @@ -993,6 +1179,8 @@ Removed the application + DELETE: /projects/{project_id}/apps/{app_id} + ### RegenerateOIDCClientSecret @@ -1003,6 +1191,8 @@ Generates a new client secret for the oidc client, make sure to save the respons + POST: /projects/{project_id}/apps/{app_id}/oidc_config/_generate_client_secret + ### RegenerateAPIClientSecret @@ -1013,6 +1203,8 @@ Generates a new client secret for the api application, make sure to save the res + POST: /projects/{project_id}/apps/{app_id}/api_config/_generate_client_secret + ### GetAppKey @@ -1023,6 +1215,8 @@ Returns an application key + GET: /projects/{project_id}/apps/{app_id}/keys/{key_id} + ### ListAppKeys @@ -1034,6 +1228,8 @@ Limit should always be set, there is a default limit set by the service + POST: /projects/{project_id}/apps/{app_id}/keys/_search + ### AddAppKey @@ -1045,6 +1241,8 @@ Will return key details in result, make sure to save it + POST: /projects/{project_id}/apps/{app_id}/keys + ### RemoveAppKey @@ -1055,6 +1253,8 @@ Removes an app key + DELETE: /projects/{project_id}/apps/{app_id}/keys/{key_id} + ### GetProjectGrantByID @@ -1065,6 +1265,8 @@ Returns a project grant (ProjectGrant = Grant another organisation for my projec + GET: /projects/{project_id}/grants/{grant_id} + ### ListProjectGrants @@ -1076,6 +1278,8 @@ Limit should always be set, there is a default limit set by the service + POST: /projects/{project_id}/grants/_search + ### AddProjectGrant @@ -1087,6 +1291,8 @@ Project Grant will be listed in granted project of the other organisation + POST: /projects/{project_id}/grants + ### UpdateProjectGrant @@ -1098,6 +1304,8 @@ Project Grant will be listed in granted project of the other organisation + PUT: /projects/{project_id}/grants/{grant_id} + ### DeactivateProjectGrant @@ -1109,6 +1317,8 @@ Returns error if project not active + POST: /projects/{project_id}/grants/{grant_id}/_deactivate + ### ReactivateProjectGrant @@ -1120,6 +1330,8 @@ Returns error if project not deactivated + POST: /projects/{project_id}/grants/{grant_id}/_reactivate + ### RemoveProjectGrant @@ -1130,6 +1342,8 @@ Removes project grant and all user grants for this project grant + DELETE: /projects/{project_id}/grants/{grant_id} + ### ListProjectGrantMemberRoles @@ -1140,6 +1354,8 @@ Returns all ZITADEL roles which are for project grant managers + POST: /projects/grants/members/roles/_search + ### ListProjectGrantMembers @@ -1151,6 +1367,8 @@ Limit should always be set, there is a default limit set by the service + POST: /projects/{project_id}/grants/{grant_id}/members/_search + ### AddProjectGrantMember @@ -1161,6 +1379,8 @@ Adds a new project grant manager, which is allowed to administrate in ZITADEL + POST: /projects/{project_id}/grants/{grant_id}/members + ### UpdateProjectGrantMember @@ -1171,6 +1391,8 @@ Changes project grant manager, which is allowed to administrate in ZITADEL + PUT: /projects/{project_id}/grants/{grant_id}/members/{user_id} + ### RemoveProjectGrantMember @@ -1181,6 +1403,8 @@ Removed project grant manager + DELETE: /projects/{project_id}/grants/{grant_id}/members/{user_id} + ### GetUserGrantByID @@ -1191,6 +1415,8 @@ Returns a user grant (authorization of a user for a project) + GET: /users/{user_id}/grants/{grant_id} + ### ListUserGrants @@ -1202,6 +1428,8 @@ Limit should always be set, there is a default limit set by the service + POST: /users/grants/_search + ### AddUserGrant @@ -1212,6 +1440,8 @@ Creates a new user grant (authorization of a user for a project with specified r + POST: /users/{user_id}/grants + ### UpdateUserGrant @@ -1222,6 +1452,8 @@ Changes a user grant (authorization of a user for a project with specified roles + PUT: /users/{user_id}/grants/{grant_id} + ### DeactivateUserGrant @@ -1234,6 +1466,8 @@ Returns an error if user grant is already deactivated + POST: /users/{user_id}/grants/{grant_id}/_deactivate + ### ReactivateUserGrant @@ -1245,6 +1479,8 @@ Returns an error if user grant is not deactivated + POST: /users/{user_id}/grants/{grant_id}/_reactivate + ### RemoveUserGrant @@ -1255,6 +1491,8 @@ Removes a user grant + DELETE: /users/{user_id}/grants/{grant_id} + ### BulkRemoveUserGrant @@ -1265,6 +1503,8 @@ remove a list of user grants in one request + DELETE: /user_grants/_bulk + ### GetFeatures @@ -1275,6 +1515,8 @@ remove a list of user grants in one request + GET: /features + ### GetOrgIAMPolicy @@ -1285,6 +1527,8 @@ Returns the org iam policy (this policy is managed by the iam administrator) + GET: /policies/orgiam + ### GetLoginPolicy @@ -1296,6 +1540,8 @@ With this policy the login gui can be configured + GET: /policies/login + ### GetDefaultLoginPolicy @@ -1306,6 +1552,8 @@ Returns the default login policy configured in the IAM + GET: /policies/default/login + ### AddCustomLoginPolicy @@ -1317,6 +1565,8 @@ With this policy the login gui can be configured + POST: /policies/login + ### UpdateCustomLoginPolicy @@ -1328,6 +1578,8 @@ With this policy the login gui can be configured + PUT: /policies/login + ### ResetLoginPolicyToDefault @@ -1339,6 +1591,8 @@ The default policy of the IAM will trigger after + DELETE: /policies/login + ### ListLoginPolicyIDPs @@ -1350,6 +1604,8 @@ Limit should always be set, there is a default limit set by the service + POST: /policies/login/idps/_search + ### AddIDPToLoginPolicy @@ -1360,6 +1616,8 @@ Add a (preconfigured) identity provider to the custom login policy + POST: /policies/login/idps + ### RemoveIDPFromLoginPolicy @@ -1370,6 +1628,8 @@ Remove a identity provider from the custom login policy + DELETE: /policies/login/idps/{idp_id} + ### ListLoginPolicySecondFactors @@ -1380,6 +1640,8 @@ Returns all configured second factors of the custom login policy + POST: /policies/login/second_factors/_search + ### AddSecondFactorToLoginPolicy @@ -1390,6 +1652,8 @@ Adds a new second factor to the custom login policy + POST: /policies/login/second_factors + ### RemoveSecondFactorFromLoginPolicy @@ -1400,6 +1664,8 @@ Remove a second factor from the custom login policy + DELETE: /policies/login/second_factors/{type} + ### ListLoginPolicyMultiFactors @@ -1410,6 +1676,8 @@ Returns all configured multi factors of the custom login policy + POST: /policies/login/auth_factors/_search + ### AddMultiFactorToLoginPolicy @@ -1420,6 +1688,8 @@ Adds a new multi factor to the custom login policy + POST: /policies/login/multi_factors + ### RemoveMultiFactorFromLoginPolicy @@ -1430,6 +1700,8 @@ Remove a multi factor from the custom login policy + DELETE: /policies/login/multi_factors/{type} + ### GetPasswordComplexityPolicy @@ -1441,6 +1713,8 @@ With this policy the password strength can be configured + GET: /policies/password/complexity + ### GetDefaultPasswordComplexityPolicy @@ -1452,6 +1726,8 @@ With this policy the password strength can be configured + GET: /policies/default/password/complexity + ### AddCustomPasswordComplexityPolicy @@ -1463,6 +1739,8 @@ With this policy the password strength can be configured + POST: /policies/password/complexity + ### UpdateCustomPasswordComplexityPolicy @@ -1474,6 +1752,8 @@ With this policy the password strength can be configured + PUT: /policies/password/complexity + ### ResetPasswordComplexityPolicyToDefault @@ -1485,6 +1765,8 @@ The default policy of the IAM will trigger after + DELETE: /policies/password/complexity + ### GetPasswordAgePolicy @@ -1495,6 +1777,8 @@ The password age policy is not used at the moment + GET: /policies/password/age + ### GetDefaultPasswordAgePolicy @@ -1505,6 +1789,8 @@ The password age policy is not used at the moment + GET: /policies/default/password/age + ### AddCustomPasswordAgePolicy @@ -1515,6 +1801,8 @@ The password age policy is not used at the moment + POST: /policies/password/age + ### UpdateCustomPasswordAgePolicy @@ -1525,6 +1813,8 @@ The password age policy is not used at the moment + PUT: /policies/password/age + ### ResetPasswordAgePolicyToDefault @@ -1535,6 +1825,8 @@ The password age policy is not used at the moment + DELETE: /policies/password/age + ### GetPasswordLockoutPolicy @@ -1545,6 +1837,8 @@ The password lockout policy is not used at the moment + GET: /policies/password/lockout + ### GetDefaultPasswordLockoutPolicy @@ -1555,6 +1849,8 @@ The password lockout policy is not used at the moment + GET: /policies/default/password/lockout + ### AddCustomPasswordLockoutPolicy @@ -1565,6 +1861,8 @@ The password lockout policy is not used at the moment + POST: /policies/password/lockout + ### UpdateCustomPasswordLockoutPolicy @@ -1575,6 +1873,8 @@ The password lockout policy is not used at the moment + PUT: /policies/password/lockout + ### ResetPasswordLockoutPolicyToDefault @@ -1585,6 +1885,8 @@ The password lockout policy is not used at the moment + DELETE: /policies/password/lockout + ### GetPrivacyPolicy @@ -1596,6 +1898,8 @@ With this policy privacy relevant things can be configured (e.g. tos link) + GET: /policies/privacy + ### GetDefaultPrivacyPolicy @@ -1607,6 +1911,8 @@ With this policy the privacy relevant things can be configured (e.g tos link) + GET: /policies/default/privacy + ### AddCustomPrivacyPolicy @@ -1618,6 +1924,8 @@ With this policy privacy relevant things can be configured (e.g. tos link) + POST: /policies/privacy + ### UpdateCustomPrivacyPolicy @@ -1629,6 +1937,8 @@ With this policy privacy relevant things can be configured (e.g. tos link) + PUT: /policies/privacy + ### ResetPrivacyPolicyToDefault @@ -1640,6 +1950,8 @@ The default policy of the IAM will trigger after + DELETE: /policies/privacy + ### GetLabelPolicy @@ -1651,6 +1963,8 @@ With this policy the private labeling can be configured (colors, etc.) + GET: /policies/label + ### GetPreviewLabelPolicy @@ -1662,6 +1976,8 @@ With this policy the private labeling can be configured (colors, etc.) + GET: /policies/label/_preview + ### GetDefaultLabelPolicy @@ -1673,6 +1989,8 @@ With this policy the private labeling can be configured (colors, etc.) + GET: /policies/default/label + ### AddCustomLabelPolicy @@ -1684,6 +2002,8 @@ With this policy the private labeling can be configured (colors, etc.) + POST: /policies/label + ### UpdateCustomLabelPolicy @@ -1695,6 +2015,8 @@ With this policy the private labeling can be configured (colors, etc.) + PUT: /policies/label + ### ActivateCustomLabelPolicy @@ -1705,6 +2027,8 @@ Activates all changes of the label policy + POST: /policies/label/_activate + ### RemoveCustomLabelPolicyLogo @@ -1715,6 +2039,8 @@ Removes the logo of the label policy + DELETE: /policies/label/logo + ### RemoveCustomLabelPolicyLogoDark @@ -1725,6 +2051,8 @@ Removes the logo dark of the label policy + DELETE: /policies/label/logo_dark + ### RemoveCustomLabelPolicyIcon @@ -1735,6 +2063,8 @@ Removes the icon of the label policy + DELETE: /policies/label/icon + ### RemoveCustomLabelPolicyIconDark @@ -1745,6 +2075,8 @@ Removes the logo dark of the label policy + DELETE: /policies/label/icon_dark + ### RemoveCustomLabelPolicyFont @@ -1755,6 +2087,8 @@ Removes the font of the label policy + DELETE: /policies/label/font + ### ResetLabelPolicyToDefault @@ -1766,6 +2100,8 @@ The default policy of the IAM will trigger after + DELETE: /policies/label + ### GetCustomInitMessageText @@ -1776,6 +2112,8 @@ Returns the custom text for initial message + GET: /text/message/init/{language} + ### GetDefaultInitMessageText @@ -1786,6 +2124,8 @@ Returns the default text for initial message + GET: /text/default/message/init/{language} + ### SetCustomInitMessageText @@ -1799,6 +2139,8 @@ The Following Variables can be used: + PUT: /text/message/init/{language} + ### ResetCustomInitMessageTextToDefault @@ -1810,6 +2152,8 @@ The default text of the IAM will trigger after + DELETE: /text/message/init/{language} + ### GetCustomPasswordResetMessageText @@ -1820,6 +2164,8 @@ Returns the custom text for password reset message + GET: /text/message/passwordreset/{language} + ### GetDefaultPasswordResetMessageText @@ -1830,6 +2176,8 @@ Returns the default text for password reset message + GET: /text/default/message/passwordreset/{language} + ### SetCustomPasswordResetMessageText @@ -1843,6 +2191,8 @@ The Following Variables can be used: + PUT: /text/message/passwordreset/{language} + ### ResetCustomPasswordResetMessageTextToDefault @@ -1854,6 +2204,8 @@ The default text of the IAM will trigger after + DELETE: /text/message/verifyemail/{language} + ### GetCustomVerifyEmailMessageText @@ -1864,6 +2216,8 @@ Returns the custom text for verify email message + GET: /text/message/verifyemail/{language} + ### GetDefaultVerifyEmailMessageText @@ -1874,6 +2228,8 @@ Returns the default text for verify email message + GET: /text/default/message/verifyemail/{language} + ### SetCustomVerifyEmailMessageText @@ -1887,6 +2243,8 @@ The Following Variables can be used: + PUT: /text/message/verifyemail/{language} + ### ResetCustomVerifyEmailMessageTextToDefault @@ -1898,6 +2256,8 @@ The default text of the IAM will trigger after + DELETE: /text/message/verifyemail/{language} + ### GetCustomVerifyPhoneMessageText @@ -1908,6 +2268,8 @@ Returns the custom text for verify email message + GET: /text/message/verifyphone/{language} + ### GetDefaultVerifyPhoneMessageText @@ -1918,6 +2280,8 @@ Returns the custom text for verify email message + GET: /text/default/message/verifyphone/{language} + ### SetCustomVerifyPhoneMessageText @@ -1931,6 +2295,8 @@ The Following Variables can be used: + PUT: /text/message/verifyphone/{language} + ### ResetCustomVerifyPhoneMessageTextToDefault @@ -1942,6 +2308,8 @@ The default text of the IAM will trigger after + DELETE: /text/message/verifyphone/{language} + ### GetCustomDomainClaimedMessageText @@ -1952,6 +2320,8 @@ Returns the custom text for domain claimed message + GET: /text/message/domainclaimed/{language} + ### GetDefaultDomainClaimedMessageText @@ -1962,6 +2332,8 @@ Returns the custom text for domain claimed message + GET: /text/default/message/domainclaimed/{language} + ### SetCustomDomainClaimedMessageCustomText @@ -1975,6 +2347,8 @@ The Following Variables can be used: + PUT: /text/message/domainclaimed/{language} + ### ResetCustomDomainClaimedMessageTextToDefault @@ -1986,6 +2360,8 @@ The default text of the IAM will trigger after + DELETE: /text/message/domainclaimed/{language} + ### GetCustomLoginTexts @@ -1996,6 +2372,8 @@ Returns the custom texts for login ui + GET: /text/login/{language} + ### GetDefaultLoginTexts @@ -2006,6 +2384,8 @@ Returns the custom texts for login ui + GET: /text/default/login/{language} + ### SetCustomLoginText @@ -2017,6 +2397,8 @@ it impacts all organisations without customized login ui texts + PUT: /text/login/{language} + ### ResetCustomLoginTextToDefault @@ -2028,6 +2410,8 @@ The default text of the IAM will trigger after + DELETE: /text/login/{language} + ### GetOrgIDPByID @@ -2038,6 +2422,8 @@ Returns a identity provider configuration of the organisation + GET: /idps/{id} + ### ListOrgIDPs @@ -2049,6 +2435,8 @@ Limit should always be set, there is a default limit set by the service + POST: /idps/_search + ### AddOrgOIDCIDP @@ -2060,6 +2448,8 @@ Provider must be OIDC compliant + POST: /idps/oidc + ### DeactivateOrgIDP @@ -2072,6 +2462,8 @@ Returns error if already deactivated + POST: /idps/{idp_id}/_deactivate + ### ReactivateOrgIDP @@ -2083,6 +2475,8 @@ Returns error if not deactivated + POST: /idps/{idp_id}/_reactivate + ### RemoveOrgIDP @@ -2094,6 +2488,8 @@ Will remove all linked providers of this configuration on the users + DELETE: /idps/{idp_id} + ### UpdateOrgIDP @@ -2104,6 +2500,8 @@ Change identity provider configuration of the organisation + PUT: /idps/{idp_id} + ### UpdateOrgIDPOIDCConfig @@ -2114,6 +2512,8 @@ Change OIDC identity provider configuration of the organisation + PUT: /idps/{idp_id}/oidc_config + diff --git a/proto/zitadel/docs/zitadel-md.tmpl b/proto/zitadel/docs/zitadel-md.tmpl index f9e47175c6..1f62a15902 100644 --- a/proto/zitadel/docs/zitadel-md.tmpl +++ b/proto/zitadel/docs/zitadel-md.tmpl @@ -16,7 +16,7 @@ title: {{.Name}} {{ .Description}} -{{$httpOption := .Option "validate.rules"}} +{{$httpOption := .Option "google.api.http"}} {{range $httpOption.Rules}} {{ .Method }}: {{ .Pattern }} {{end}}