|
@@ -518,21 +518,23 @@ paths:
|
|
- domain.tld
|
|
- domain.tld
|
|
type: success
|
|
type: success
|
|
schema:
|
|
schema:
|
|
- properties:
|
|
|
|
- log:
|
|
|
|
- description: contains request object
|
|
|
|
- items: {}
|
|
|
|
- type: array
|
|
|
|
- msg:
|
|
|
|
- items: {}
|
|
|
|
- type: array
|
|
|
|
- type:
|
|
|
|
- enum:
|
|
|
|
- - success
|
|
|
|
- - danger
|
|
|
|
- - error
|
|
|
|
- type: string
|
|
|
|
- type: object
|
|
|
|
|
|
+ type: array
|
|
|
|
+ items:
|
|
|
|
+ type: object
|
|
|
|
+ properties:
|
|
|
|
+ log:
|
|
|
|
+ description: contains request object
|
|
|
|
+ items: {}
|
|
|
|
+ type: array
|
|
|
|
+ msg:
|
|
|
|
+ items: {}
|
|
|
|
+ type: array
|
|
|
|
+ type:
|
|
|
|
+ enum:
|
|
|
|
+ - success
|
|
|
|
+ - danger
|
|
|
|
+ - error
|
|
|
|
+ type: string
|
|
description: OK
|
|
description: OK
|
|
headers: {}
|
|
headers: {}
|
|
tags:
|
|
tags:
|
|
@@ -579,6 +581,11 @@ paths:
|
|
domain:
|
|
domain:
|
|
description: Fully qualified domain name
|
|
description: Fully qualified domain name
|
|
type: string
|
|
type: string
|
|
|
|
+ gal:
|
|
|
|
+ description: >-
|
|
|
|
+ is domain global address list active or not, it enables
|
|
|
|
+ shared contacts accross domain in SOGo webmail
|
|
|
|
+ type: boolean
|
|
mailboxes:
|
|
mailboxes:
|
|
description: limit count of mailboxes associated with this domain
|
|
description: limit count of mailboxes associated with this domain
|
|
type: number
|
|
type: number
|
|
@@ -596,6 +603,9 @@ paths:
|
|
if not, them you have to create "dummy" mailbox for each
|
|
if not, them you have to create "dummy" mailbox for each
|
|
address to relay
|
|
address to relay
|
|
type: boolean
|
|
type: boolean
|
|
|
|
+ relay_unknown_only:
|
|
|
|
+ description: Relay non-existing mailboxes only. Existing mailboxes will be delivered locally.
|
|
|
|
+ type: boolean
|
|
rl_frame:
|
|
rl_frame:
|
|
enum:
|
|
enum:
|
|
- s
|
|
- s
|
|
@@ -606,6 +616,11 @@ paths:
|
|
rl_value:
|
|
rl_value:
|
|
description: rate limit value
|
|
description: rate limit value
|
|
type: number
|
|
type: number
|
|
|
|
+ tags:
|
|
|
|
+ description: tags for this Domain
|
|
|
|
+ type: array
|
|
|
|
+ items:
|
|
|
|
+ type: string
|
|
type: object
|
|
type: object
|
|
summary: Create domain
|
|
summary: Create domain
|
|
/api/v1/add/domain-admin:
|
|
/api/v1/add/domain-admin:
|
|
@@ -1952,21 +1967,23 @@ paths:
|
|
- domain2.tld
|
|
- domain2.tld
|
|
type: success
|
|
type: success
|
|
schema:
|
|
schema:
|
|
- properties:
|
|
|
|
- log:
|
|
|
|
- description: contains request object
|
|
|
|
- items: {}
|
|
|
|
- type: array
|
|
|
|
- msg:
|
|
|
|
- items: {}
|
|
|
|
- type: array
|
|
|
|
- type:
|
|
|
|
- enum:
|
|
|
|
- - success
|
|
|
|
- - danger
|
|
|
|
- - error
|
|
|
|
- type: string
|
|
|
|
- type: object
|
|
|
|
|
|
+ type: array
|
|
|
|
+ items:
|
|
|
|
+ type: object
|
|
|
|
+ properties:
|
|
|
|
+ log:
|
|
|
|
+ description: contains request object
|
|
|
|
+ items: {}
|
|
|
|
+ type: array
|
|
|
|
+ msg:
|
|
|
|
+ items: {}
|
|
|
|
+ type: array
|
|
|
|
+ type:
|
|
|
|
+ enum:
|
|
|
|
+ - success
|
|
|
|
+ - danger
|
|
|
|
+ - error
|
|
|
|
+ type: string
|
|
description: OK
|
|
description: OK
|
|
headers: {}
|
|
headers: {}
|
|
tags:
|
|
tags:
|
|
@@ -1977,14 +1994,15 @@ paths:
|
|
content:
|
|
content:
|
|
application/json:
|
|
application/json:
|
|
schema:
|
|
schema:
|
|
|
|
+ type: object
|
|
example:
|
|
example:
|
|
- domain.tld
|
|
- domain.tld
|
|
- domain2.tld
|
|
- domain2.tld
|
|
properties:
|
|
properties:
|
|
- items:
|
|
|
|
- description: contains list of domains you want to delete
|
|
|
|
- type: object
|
|
|
|
- type: object
|
|
|
|
|
|
+ items:
|
|
|
|
+ type: array
|
|
|
|
+ items:
|
|
|
|
+ type: string
|
|
summary: Delete domain
|
|
summary: Delete domain
|
|
/api/v1/delete/domain-admin:
|
|
/api/v1/delete/domain-admin:
|
|
post:
|
|
post:
|
|
@@ -2972,23 +2990,25 @@ paths:
|
|
$ref: "#/components/responses/Unauthorized"
|
|
$ref: "#/components/responses/Unauthorized"
|
|
"200":
|
|
"200":
|
|
content:
|
|
content:
|
|
- "*/*":
|
|
|
|
|
|
+ application/json:
|
|
schema:
|
|
schema:
|
|
- properties:
|
|
|
|
- log:
|
|
|
|
- description: contains request object
|
|
|
|
- items: {}
|
|
|
|
- type: array
|
|
|
|
- msg:
|
|
|
|
- items: {}
|
|
|
|
- type: array
|
|
|
|
- type:
|
|
|
|
- enum:
|
|
|
|
- - success
|
|
|
|
- - danger
|
|
|
|
- - error
|
|
|
|
- type: string
|
|
|
|
- type: object
|
|
|
|
|
|
+ type: array
|
|
|
|
+ items:
|
|
|
|
+ type: object
|
|
|
|
+ properties:
|
|
|
|
+ log:
|
|
|
|
+ type: array
|
|
|
|
+ description: contains request object
|
|
|
|
+ items: {}
|
|
|
|
+ msg:
|
|
|
|
+ type: array
|
|
|
|
+ items: {}
|
|
|
|
+ type:
|
|
|
|
+ enum:
|
|
|
|
+ - success
|
|
|
|
+ - danger
|
|
|
|
+ - error
|
|
|
|
+ type: string
|
|
description: OK
|
|
description: OK
|
|
headers: {}
|
|
headers: {}
|
|
tags:
|
|
tags:
|
|
@@ -3056,13 +3076,33 @@ paths:
|
|
if not, them you have to create "dummy" mailbox for each
|
|
if not, them you have to create "dummy" mailbox for each
|
|
address to relay
|
|
address to relay
|
|
type: boolean
|
|
type: boolean
|
|
|
|
+ relay_unknown_only:
|
|
|
|
+ description: Relay non-existing mailboxes only. Existing mailboxes will be delivered locally.
|
|
|
|
+ type: boolean
|
|
relayhost:
|
|
relayhost:
|
|
description: id of relayhost
|
|
description: id of relayhost
|
|
type: number
|
|
type: number
|
|
|
|
+ rl_frame:
|
|
|
|
+ enum:
|
|
|
|
+ - s
|
|
|
|
+ - m
|
|
|
|
+ - h
|
|
|
|
+ - d
|
|
|
|
+ type: string
|
|
|
|
+ rl_value:
|
|
|
|
+ description: rate limit value
|
|
|
|
+ type: number
|
|
|
|
+ tags:
|
|
|
|
+ description: tags for this Domain
|
|
|
|
+ type: array
|
|
|
|
+ items:
|
|
|
|
+ type: string
|
|
type: object
|
|
type: object
|
|
items:
|
|
items:
|
|
description: contains list of domain names you want update
|
|
description: contains list of domain names you want update
|
|
- type: object
|
|
|
|
|
|
+ type: array
|
|
|
|
+ items:
|
|
|
|
+ type: string
|
|
type: object
|
|
type: object
|
|
summary: Update domain
|
|
summary: Update domain
|
|
/api/v1/edit/fail2ban:
|
|
/api/v1/edit/fail2ban:
|