feat: get current label and privacy policies (#3748)

This commit is contained in:
Livio Amstutz
2022-06-01 09:50:28 +02:00
committed by GitHub
parent b0436c995b
commit 21a0e4a972
3 changed files with 123 additions and 0 deletions

View File

@@ -570,6 +570,30 @@ Limit should always be set, there is a default limit set by the service
POST: /memberships/me/_search
### GetMyLabelPolicy
> **rpc** GetMyLabelPolicy([GetMyLabelPolicyRequest](#getmylabelpolicyrequest))
[GetMyLabelPolicyResponse](#getmylabelpolicyresponse)
Returns the label policy of the current organisation
GET: /policies/label
### GetMyPrivacyPolicy
> **rpc** GetMyPrivacyPolicy([GetMyPrivacyPolicyRequest](#getmyprivacypolicyrequest))
[GetMyPrivacyPolicyResponse](#getmyprivacypolicyresponse)
Returns the privacy policy of the current organisation
GET: /policies/privacy
@@ -726,6 +750,23 @@ This is an empty request
### GetMyLabelPolicyRequest
This is an empty request
### GetMyLabelPolicyResponse
| Field | Type | Description | Validation |
| ----- | ---- | ----------- | ----------- |
| policy | zitadel.policy.v1.LabelPolicy | - | |
### GetMyMetadataRequest
@@ -783,6 +824,23 @@ This is an empty request
### GetMyPrivacyPolicyRequest
This is an empty request
### GetMyPrivacyPolicyResponse
| Field | Type | Description | Validation |
| ----- | ---- | ----------- | ----------- |
| policy | zitadel.policy.v1.PrivacyPolicy | - | |
### GetMyProfileRequest
This is an empty request