Skip to content

Commit e0937ac

Browse files
committed
update docs
1 parent 87bbd17 commit e0937ac

1 file changed

Lines changed: 24 additions & 48 deletions

File tree

docs/api/openapidocs.json

Lines changed: 24 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"contact": {
77
"url": "https://github.com/zone-eu/wildduck"
88
},
9-
"version": "1.45.4"
9+
"version": "1.45.5"
1010
},
1111
"servers": [
1212
{
@@ -278,6 +278,10 @@
278278
},
279279
"description": "An array of forwarding targets. The value could either be an email address or a relay url to next MX server (\"smtp://mx2.zone.eu:25\") or an URL where mail contents are POSTed to"
280280
},
281+
"mtaRelay": {
282+
"type": "string",
283+
"description": "An address of an SMTP MTA relay. The value should be a relay url. If specified uses the this relay as the outbound MTA."
284+
},
281285
"spamLevel": {
282286
"type": "number",
283287
"description": "Relative scale for detecting spam. 0 means that everything is spam, 100 means that nothing is spam",
@@ -592,6 +596,10 @@
592596
},
593597
"description": "An array of forwarding targets. The value could either be an email address or a relay url to next MX server (\"smtp://mx2.zone.eu:25\") or an URL where mail contents are POSTed to"
594598
},
599+
"mtaRelay": {
600+
"type": "string",
601+
"description": "An address of an SMTP MTA relay. The value should be a relay url. If specified uses the this relay as the outbound MTA."
602+
},
595603
"spamLevel": {
596604
"type": "number",
597605
"description": "Relative scale for detecting spam. 0 means that everything is spam, 100 means that nothing is spam"
@@ -9339,7 +9347,7 @@
93399347
},
93409348
"retention": {
93419349
"type": "number",
9342-
"description": "Default retention time (in ms). false if not enabled"
9350+
"description": "Default retention time (in ms). Not present if not enabled"
93439351
},
93449352
"enabled2fa": {
93459353
"type": "array",
@@ -9384,6 +9392,10 @@
93849392
},
93859393
"description": "List of forwarding targets"
93869394
},
9395+
"mtaRelay": {
9396+
"type": "string",
9397+
"description": "MTA Relay url"
9398+
},
93879399
"spamLevel": {
93889400
"type": "number",
93899401
"description": "Relative scale for detecting spam. 0 means that everything is spam, 100 means that nothing is spam"
@@ -9440,7 +9452,6 @@
94409452
"username",
94419453
"name",
94429454
"address",
9443-
"retention",
94449455
"enabled2fa",
94459456
"autoreply",
94469457
"encryptMessages",
@@ -9723,7 +9734,6 @@
97239734
},
97249735
"required": [
97259736
"id",
9726-
"name",
97279737
"address",
97289738
"user",
97299739
"forwarded",
@@ -9853,7 +9863,6 @@
98539863
},
98549864
"required": [
98559865
"id",
9856-
"name",
98579866
"address",
98589867
"main",
98599868
"created",
@@ -9931,7 +9940,6 @@
99319940
"required": [
99329941
"success",
99339942
"id",
9934-
"name",
99359943
"address",
99369944
"main",
99379945
"created",
@@ -10079,11 +10087,7 @@
1007910087
}
1008010088
},
1008110089
"required": [
10082-
"status",
10083-
"name",
10084-
"subject",
10085-
"text",
10086-
"html"
10090+
"status"
1008710091
]
1008810092
},
1008910093
"GetForwardedAddressResponse": {
@@ -10150,7 +10154,6 @@
1015010154
"success",
1015110155
"id",
1015210156
"address",
10153-
"name",
1015410157
"limits",
1015510158
"autoreply",
1015610159
"created",
@@ -11542,26 +11545,12 @@
1154211545
"description": "File ID"
1154311546
},
1154411547
"filename": {
11545-
"oneOf": [
11546-
{
11547-
"type": "string"
11548-
},
11549-
{
11550-
"type": "boolean"
11551-
}
11552-
],
11553-
"description": "Filename. False if none"
11548+
"type": "string",
11549+
"description": "Filename"
1155411550
},
1155511551
"contentType": {
11556-
"oneOf": [
11557-
{
11558-
"type": "string"
11559-
},
11560-
{
11561-
"type": "boolean"
11562-
}
11563-
],
11564-
"description": "Content-Type of the file. False if none"
11552+
"type": "string",
11553+
"description": "Content-Type of the file"
1156511554
},
1156611555
"cid": {
1156711556
"type": "string",
@@ -11583,8 +11572,6 @@
1158311572
},
1158411573
"required": [
1158511574
"id",
11586-
"filename",
11587-
"contentType",
1158811575
"size",
1158911576
"created",
1159011577
"md5"
@@ -12136,18 +12123,14 @@
1213612123
"properties": {
1213712124
"time": {
1213812125
"type": "string",
12139-
"description": "Datestring of last use or false if password has not been used",
12126+
"description": "Datestring of last use or not present if password has not been used",
1214012127
"format": "date-time"
1214112128
},
1214212129
"event": {
1214312130
"type": "string",
1214412131
"description": "Event ID of the security log for the last authentication"
1214512132
}
12146-
},
12147-
"required": [
12148-
"time",
12149-
"event"
12150-
]
12133+
}
1215112134
},
1215212135
"GetASPsResult": {
1215312136
"type": "object",
@@ -12978,18 +12961,12 @@
1297812961
"start": {
1297912962
"type": "string",
1298012963
"description": "Datestring of the start of the autoreply or boolean false to disable start checks",
12981-
"format": "date-time",
12982-
"enum": [
12983-
false
12984-
]
12964+
"format": "date-time"
1298512965
},
1298612966
"end": {
1298712967
"type": "string",
1298812968
"description": "Datestring of the end of the autoreply or boolean false to disable end checks",
12989-
"format": "date-time",
12990-
"enum": [
12991-
false
12992-
]
12969+
"format": "date-time"
1299312970
},
1299412971
"created": {
1299512972
"type": "string",
@@ -12998,8 +12975,7 @@
1299812975
}
1299912976
},
1300012977
"required": [
13001-
"success",
13002-
"created"
12978+
"success"
1300312979
]
1300412980
},
1300512981
"Reference": {

0 commit comments

Comments
 (0)