update document

This commit is contained in:
ryanzhao 2023-06-16 15:48:57 +10:00
parent 4bd9ea3146
commit f8a04450cb
1 changed files with 14 additions and 0 deletions

View File

@ -9,6 +9,7 @@
{
"token": String
"pubKey": String
"device": Optional(String ("ios"/"android"/"huawei"))
}
```
@ -22,6 +23,19 @@
}
```
- Endpoint: `/register_legacy_groups_only`
- Method: **POST**
- Header: `[Content-Type: application/json]`
- Expected Body:
```
{
"token": String
"pubKey": String
"device": Optional(String ("ios"/"android"/"huawei"))
"legacyGroupPublicKeys": [String]
}
```
- Endpoint: `/subscribe_closed_group`
- Method: **POST**
- Header: `[Content-Type: application/json]`