2
0
André Peters 4 жил өмнө
parent
commit
a8b051c48d

+ 5 - 39
data/web/api/openapi.yaml

@@ -423,11 +423,11 @@ paths:
                         - domain
                         - domain
                         - active: "1"
                         - active: "1"
                           aliases: "400"
                           aliases: "400"
+                          restart_sogo: "1"
                           backupmx: "0"
                           backupmx: "0"
                           defquota: "3072"
                           defquota: "3072"
                           description: some decsription
                           description: some decsription
                           domain: domain.tld
                           domain: domain.tld
-                          lang: cs
                           mailboxes: "10"
                           mailboxes: "10"
                           maxquota: "10240"
                           maxquota: "10240"
                           quota: "10240"
                           quota: "10240"
@@ -474,13 +474,13 @@ paths:
                 defquota: "3072"
                 defquota: "3072"
                 description: some decsription
                 description: some decsription
                 domain: domain.tld
                 domain: domain.tld
-                lang: cs
                 mailboxes: "10"
                 mailboxes: "10"
                 maxquota: "10240"
                 maxquota: "10240"
                 quota: "10240"
                 quota: "10240"
                 relay_all_recipients: "0"
                 relay_all_recipients: "0"
                 rl_frame: s
                 rl_frame: s
                 rl_value: "10"
                 rl_value: "10"
+                restart_sogo: "10"
               properties:
               properties:
                 active:
                 active:
                   description: is domain active or not
                   description: is domain active or not
@@ -500,23 +500,6 @@ paths:
                 domain:
                 domain:
                   description: Fully qualified domain name
                   description: Fully qualified domain name
                   type: string
                   type: string
-                lang:
-                  description: language code
-                  enum:
-                    - sk
-                    - cs
-                    - de
-                    - en
-                    - es
-                    - fr
-                    - lv
-                    - nl
-                    - pl
-                    - pt
-                    - ru
-                    - it
-                    - ca
-                  type: string
                 mailboxes:
                 mailboxes:
                   description: limit count of mailboxes associated with this domain
                   description: limit count of mailboxes associated with this domain
                   type: number
                   type: number
@@ -526,6 +509,9 @@ paths:
                 quota:
                 quota:
                   description: maximum quota for this domain (for all mailboxes in sum)
                   description: maximum quota for this domain (for all mailboxes in sum)
                   type: number
                   type: number
+                restart_sogo:
+                  description: restart SOGo to activate the domain in SOGo
+                  type: number
                 relay_all_recipients:
                 relay_all_recipients:
                   description: >-
                   description: >-
                     if not, them you have to create "dummy" mailbox for each
                     if not, them you have to create "dummy" mailbox for each
@@ -2811,7 +2797,6 @@ paths:
                   defquota: "3072"
                   defquota: "3072"
                   description: domain description
                   description: domain description
                   gal: "1"
                   gal: "1"
-                  lang: cs
                   mailboxes: "10"
                   mailboxes: "10"
                   maxquota: "10240"
                   maxquota: "10240"
                   quota: "10240"
                   quota: "10240"
@@ -2841,23 +2826,6 @@ paths:
                         is domain global address list active or not, it enables
                         is domain global address list active or not, it enables
                         shared contacts accross domain in SOGo webmail
                         shared contacts accross domain in SOGo webmail
                       type: boolean
                       type: boolean
-                    lang:
-                      description: language code
-                      enum:
-                        - sk
-                        - cs
-                        - de
-                        - en
-                        - es
-                        - fr
-                        - lv
-                        - nl
-                        - pl
-                        - pt
-                        - ru
-                        - it
-                        - ca
-                      type: string
                     mailboxes:
                     mailboxes:
                       description: limit count of mailboxes associated with this domain
                       description: limit count of mailboxes associated with this domain
                       type: number
                       type: number
@@ -3750,7 +3718,6 @@ paths:
                       description: Some description
                       description: Some description
                       domain_name: domain.tld
                       domain_name: domain.tld
                       gal: "0"
                       gal: "0"
-                      lang: en
                       max_new_mailbox_quota: 10737418240
                       max_new_mailbox_quota: 10737418240
                       max_num_aliases_for_domain: 400
                       max_num_aliases_for_domain: 400
                       max_num_mboxes_for_domain: 10
                       max_num_mboxes_for_domain: 10
@@ -3773,7 +3740,6 @@ paths:
                       description: domain description
                       description: domain description
                       domain_name: domain2.tld
                       domain_name: domain2.tld
                       gal: "0"
                       gal: "0"
-                      lang: cs
                       max_new_mailbox_quota: 10737418240
                       max_new_mailbox_quota: 10737418240
                       max_num_aliases_for_domain: 400
                       max_num_aliases_for_domain: 400
                       max_num_mboxes_for_domain: 10
                       max_num_mboxes_for_domain: 10