feat(accounts): add consent settings and organization management
This commit is contained in:
1 parent
24638d46d2
commit
391af7a1ef
83 files changed
+10198
-613
No files matched your search
@@ -0,0 +1,36 @@
|
||||
get:
|
||||
operationId: GetMyConsentText
|
||||
summary: Read a current consent text for account settings.
|
||||
description: >-
|
||||
Requires a verified session. Returns the current published text and version
|
||||
of c1, c2, c3, or c5 so the user can read the exact text before an explicit
|
||||
settings grant. C4 is excluded: its text includes an organization snapshot
|
||||
and it is granted only during invitation acceptance. The response is
|
||||
private and is not cached.
|
||||
security:
|
||||
- sessionCookie: []
|
||||
tags:
|
||||
- consent
|
||||
parameters:
|
||||
- name: purpose
|
||||
in: path
|
||||
required: true
|
||||
description: Consent whose current text is requested.
|
||||
schema:
|
||||
$ref: ../components/schemas.yml#/ConsentSettingsPurpose
|
||||
responses:
|
||||
"200":
|
||||
description: The current published consent text.
|
||||
headers:
|
||||
Cache-Control:
|
||||
$ref: ../components/headers.yml#/CacheControlNoStore
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: ../components/schemas.yml#/ConsentText
|
||||
"401":
|
||||
$ref: ../components/responses.yml#/Unauthenticated
|
||||
"400":
|
||||
$ref: ../components/responses.yml#/ValidationFailed
|
||||
default:
|
||||
$ref: ../components/responses.yml#/Problem
|
||||
Reference in new issue
Block a user