证书列表
GEThttps://api.bitiful.com/cert/list
列出证书中心里的全部证书。
Authentication
Authorization
控制台的 API Token,直接作为 Authorization 请求头的值(不加 Bearer 前缀)。在 控制台 › API Token 获取。
Response
证书列表。
cert_id
证书 ID。申请中、申请失败的自动证书为空。
cert_name
证书名称,用于「获取证书内容」。
status
状态:deployed 部署成功、deploying 部署中、deploy_failed 部署失败、applying 申请中、apply_failed 申请失败。
Allowed values:
bind_domain
使用该证书的 CDN 加速域名。
expire_time
过期时间,Unix 时间戳,单位秒。还没有签发时为 0。
update_time
更新时间,Unix 时间戳,单位秒。
cert_type
证书来源:0 自定义证书、1 自动证书。
Allowed values:
use_in
使用该证书的项目。
domain
域名。
resource
类型:cdn 加速域名、s3 桶域名。
Allowed values:
bucket
存储桶名称,仅 s3 有值。
dns_domains
证书内容里包含的域名。
algorithm
公钥算法:0 未知、1 RSA、2 DSA、3 ECDSA、4 Ed25519。
Allowed values:
auto_cert_configs
自动证书的 DNS 验证记录,自定义证书为空数组。
status
解析状态:0 未配置、1 已配置、2 检测中。
Allowed values:
domain
域名。
host
主机记录。
record_value
记录值。
record_type
记录类型,固定为 CNAME。
provider
自动证书的签发机构:le 为 Let's Encrypt、gts 为 Google Trust Services。自定义证书为空。
algorithm_name
自动证书的算法:rsa 或 ecc。自定义证书为空。
apply_domains
自动证书申请时填写的域名,自定义证书为空数组。