mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-11 09:18:08 +00:00
更新文档,添加和修改多个API接口的描述,确保文档内容的准确性和完整性,提升开发者使用体验。
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
!!! info "[WSSubscribeRequestV1Legacy](/../../schemas/ws_subscribe_request_v1_legacy)"
|
||||
All V1 Websocket Requests are housed in this wrapper. You may specify a stream, and a list of feeds to subscribe to.<br>If a `request_id` is supplied in this JSON RPC request, it will be propagated back to any relevant JSON RPC responses (including error).<br>When subscribing to the same primary selector again, the previous secondary selector will be replaced. See `Overview` page for more details.<br>
|
||||
|
||||
|Name<br>`Lite`|Type|Required<br>`Default`| Description |
|
||||
|-|-|-|-|
|
||||
|request_id<br>`ri` |integer|False<br>`0`|Optional Field which is used to match the response by the client.<br>If not passed, this field will not be returned|
|
||||
|stream<br>`s` |string|True|The channel to subscribe to (eg: ticker.s / ticker.d)|
|
||||
|feed<br>`f` |[string]|True|The list of feeds to subscribe to|
|
||||
|method<br>`m` |string|True|The method to use for the request (eg: subscribe / unsubscribe)|
|
||||
|is_full<br>`if` |boolean|False<br>`false`|Whether the request is for full data or lite data|
|
||||
Reference in New Issue
Block a user