public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[Web] Add authsource property to mailbox API Documentation
c3aa4f74
data/web/api/openapi.yaml | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
Diff
diff --git a/data/web/api/openapi.yaml b/data/web/api/openapi.yaml
index 969aa770..198257be 100644
--- a/data/web/api/openapi.yaml
+++ b/data/web/api/openapi.yaml
@@ -1112,6 +1112,7 @@ paths:
domain: domain.tld
local_part: info
name: Full name
+ authsource: mailcow
password: atedismonsin
password2: atedismonsin
quota: "3072"
@@ -1132,11 +1133,16 @@ paths:
name:
description: Full name of the mailbox user
type: string
+ authsource:
+ description: Specifies the authentication source for the mailbox.
+ type: string
+ enum: [mailcow, ldap, keycloak, generic-oidc]
+ default: mailcow
password2:
description: mailbox password for confirmation
type: string
password:
- description: mailbox password
+ description: mailbox password when using `mailcow` as the authentication source.
type: string
quota:
description: mailbox quota
@@ -3374,6 +3380,7 @@ paths:
active: "1"
force_pw_update: "0"
name: Full name
+ authsource: mailcow
password: ""
password2: ""
quota: "3072"
@@ -3398,11 +3405,15 @@ paths:
name:
description: Full name of the mailbox user
type: string
+ authsource:
+ description: Specifies the authentication source for the mailbox.
+ type: string
+ enum: [mailcow, ldap, keycloak, generic-oidc]
password2:
description: new mailbox password for confirmation
type: string
password:
- description: new mailbox password
+ description: new mailbox password when using `mailcow` as the authentication source.
type: string
quota:
description: mailbox quota
@@ -5755,8 +5766,8 @@ paths:
tags:
- Cross-Origin Resource Sharing (CORS)
description: >-
- This endpoint allows you to manage Cross-Origin Resource Sharing (CORS) settings for the API.
- CORS is a security feature implemented by web browsers to prevent unauthorized cross-origin requests.
+ This endpoint allows you to manage Cross-Origin Resource Sharing (CORS) settings for the API.
+ CORS is a security feature implemented by web browsers to prevent unauthorized cross-origin requests.
By editing the CORS settings, you can specify which domains and which methods are permitted to access the API resources from outside the mailcow domain.
operationId: Edit Cross-Origin Resource Sharing (CORS) settings
requestBody: