get_orders
列出所有 ACME 证书申请订单,包括进行中、已完成和已过期的订单。
- 路由:
POST /acme - action:
get_orders
输入参数
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| action | 是 | String | 固定值 get_orders |
无其他参数。
输出参数
| 参数名称 | 类型 | 描述 |
|---|---|---|
| - | Array<Object> | 订单列表,每项含 index(ID)、domains(域名)、status(状态)、cert_timeout(到期时间) |
示例
请求
POST /acme HTTP/1.1
Host: 192.168.168.213:8888
Content-Type: application/x-www-form-urlencoded
action=get_orders
响应
[{
"index": "851cc157ad22888459e59c3cfdc5ac95",
"domains": ["dnstest.cc"],
"status": "valid",
"cert_timeout": 1780111135,
"auth_type": "dns",
"create_time": 1779506335
}]