Skip to content

Commit 1685c0c

Browse files
committed
openapi.json
1 parent ee9d2e8 commit 1685c0c

1 file changed

Lines changed: 64 additions & 1 deletion

File tree

static/swagger/openapi.json

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7673,6 +7673,43 @@
76737673
"markOnline"
76747674
]
76757675
},
7676+
"GowsStorageConfig": {
7677+
"type": "object",
7678+
"properties": {
7679+
"messages": {
7680+
"type": "boolean",
7681+
"nullable": true,
7682+
"description": "Store messages locally. Set to false to disable; omit or null to keep enabled.",
7683+
"example": true
7684+
},
7685+
"groups": {
7686+
"type": "boolean",
7687+
"nullable": true,
7688+
"description": "Store groups locally. Set to false to disable; omit or null to keep enabled.",
7689+
"example": true
7690+
},
7691+
"chats": {
7692+
"type": "boolean",
7693+
"nullable": true,
7694+
"description": "Store chats locally. Set to false to disable; omit or null to keep enabled.",
7695+
"example": true
7696+
},
7697+
"labels": {
7698+
"type": "boolean",
7699+
"nullable": true,
7700+
"description": "Store labels locally. Set to false to disable; omit or null to keep enabled.",
7701+
"example": true
7702+
}
7703+
}
7704+
},
7705+
"GowsConfig": {
7706+
"type": "object",
7707+
"properties": {
7708+
"storage": {
7709+
"$ref": "#/components/schemas/GowsStorageConfig"
7710+
}
7711+
}
7712+
},
76767713
"WebjsConfig": {
76777714
"type": "object",
76787715
"properties": {
@@ -7839,6 +7876,21 @@
78397876
}
78407877
]
78417878
},
7879+
"gows": {
7880+
"example": {
7881+
"storage": {
7882+
"messages": true,
7883+
"groups": true,
7884+
"chats": true,
7885+
"labels": true
7886+
}
7887+
},
7888+
"allOf": [
7889+
{
7890+
"$ref": "#/components/schemas/GowsConfig"
7891+
}
7892+
]
7893+
},
78427894
"webjs": {
78437895
"description": "WebJS-specific settings.",
78447896
"allOf": [
@@ -10586,14 +10638,25 @@
1058610638
"platform": {
1058710639
"type": "string",
1058810640
"example": "linux/x86"
10641+
},
10642+
"worker": {
10643+
"type": "object",
10644+
"properties": {
10645+
"id": {
10646+
"required": true,
10647+
"type": "string",
10648+
"nullable": true
10649+
}
10650+
}
1058910651
}
1059010652
},
1059110653
"required": [
1059210654
"version",
1059310655
"engine",
1059410656
"tier",
1059510657
"browser",
10596-
"platform"
10658+
"platform",
10659+
"worker"
1059710660
]
1059810661
},
1059910662
"WorkerInfo": {

0 commit comments

Comments
 (0)