File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ The following parameters are used in a client-to-server request:
1616| ` nonce ` | ` string ` | A unique identifier for the request. Useful for identifying the corresponding response (Optional). |
1717| ` data.topic ` | ` string ` | The topic to which the client wishes to subscribe. |
1818| ` data.token ` | ` string ` | The token used to authenticate the request. |
19- | ` data.token_type ` | ` string ` | Specifies the type of token. Valid options are ` apikey ` and ` jwt ` . |
19+ | ` data.token_type ` | ` string ` | Specifies the type of token. Valid options are ` apikey ` , ` jwt ` and ` oauth ` . |
2020
2121Here is an example of a client-to-server request:
2222
@@ -52,7 +52,10 @@ Here is an example of a server-to-client response:
5252 "ts" : " 2023-09-20T16:43:21Z" ,
5353 "type" : " response" ,
5454 "nonce" : " 86ccb2b3-eb8d-4b3c-902d-509c3f5ca88c" ,
55- "data" : " successfully subscribed to topic"
55+ "data" : {
56+ "message" : " successfully subscribed to topic" ,
57+ "topic" : " channel.follow"
58+ }
5659}
5760```
5861
You can’t perform that action at this time.
0 commit comments