获取证书列表

  • {{url}}/api/cert/list

请求方式

  • get

Header

字段名
示例值
必选
类型
说明

x-api-key

{{x-api-key}}

string

x-api-secret

{{x-api-secret}}

string

请求Query参数

参数名
示例值
必选
类型
说明

page

1

string

页数

limit

10

string

每页个数

name

test

string

模糊搜索证书名称

des

string

模糊搜索备注

cert_type

string

证书类型,可选值为lets, zerossl,custom

dnsapi

string

用到此dnsapi的证书

expire

string

证书还有几天到期

enable

string

1为启用或者0为禁用

sync_state

string

证书同步状态,可选状态为done,pending,failed,process

issue_state

string

证书签发状态,可选状态为done,pending,failed,process

valid

string

指已经可以用于绑定网站的证书,即let's encrypt或zerossl证书已经签发好并同步,或者自上传的证书已经同步好

请求参数示例


成功返回示例

{
  "code": 0,
  "data": {
    "count": 1,
    "list": [
      {
        "auth": "{\"CF_Key\": \"123\", \"CF_Email\": \"123@qq.com\"}",
        "des": "test",
        "id": 1,
        "name": "test2",
        "type": "CloudFlare",
        "uid": 2
      }
    ]
  },
  "msg": "ok"
}

成功返回示例的参数说明

参数名
类型
说明

code

string

data

object

count

string

list

array

list.auth

string

list.des

string

list.id

string

list.name

string

list.type

string

list.uid

string

msg

string

Last updated