mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-11 17:28:08 +00:00
更新文档,添加和修改多个API接口的描述,确保文档内容的准确性和完整性,提升开发者使用体验。
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
!!! info "[JSONRPCResponse](/../../schemas/jsonrpc_response)"
|
||||
All Websocket JSON RPC Responses are housed in this wrapper. It returns a confirmation of the JSON RPC subscribe request.<br>If a `request_id` is supplied in the JSON RPC request, it will be propagated back in this JSON RPC response.<br>
|
||||
|
||||
|Name<br>`Lite`|Type|Required<br>`Default`| Description |
|
||||
|-|-|-|-|
|
||||
|jsonrpc<br>`j` |string|True|The JSON RPC version to use for the request|
|
||||
|result<br>`r` |object|False<br>`null`|The result for the request|
|
||||
|error<br>`e` |Error|False<br>`null`|The error for the request|
|
||||
|id<br>`i` |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|
|
||||
|method<br>`m` |string|True|The method used in the request for this response (eg: `subscribe` / `unsubscribe` / `v1/instrument` )|
|
||||
??? info "[Error](/../../schemas/error)"
|
||||
An error response<br>
|
||||
|
||||
|Name<br>`Lite`|Type|Required<br>`Default`| Description |
|
||||
|-|-|-|-|
|
||||
|code<br>`c` |integer|True|The error code for the request|
|
||||
|message<br>`m` |string|True|The error message for the request|
|
||||
Reference in New Issue
Block a user