获取历史数据
POST
api_jsonrpc.php
请求头
参数名
类型
描述
必填
Content-Type
String
请求的 Content-Type 头部必须设置为以下值之一: application/json-rpc, application/json 或 application/jsonrequest
必填
请求参数
参数名
类型
描述
必填
jsonrpc
String
API使用的JSON-RPC协议的版本; API实现JSON-RPC版本2.0;
必填
method
String
调用的API方法; history.get
必填
output
String
定义所需输出的参数。
必填
history
integer
History object types to return. 要返回的历史对象类型。 Possible values:可能的值 0 - numeric float;数字浮点数 1 - character;字符 2 - log; 日志 3 - numeric unsigned; 数字符号 4 - text.文本 Default: 3.默认:3;
必填
itemids
String
只返回给定项的历史记录。
必填
sortfield
String
按照给定的属性对结果进行排序。
必填
sortorder
String
排序方式
必填
limit
integer
获取数据的行数
必填
id
String
请求的任意标识符;
必填
auth
String
用户认证令牌;
必填