接口描述:調用本接口查詢證書詳情信息。
請求方式:get
請求路徑:/cert/query-cert-list
使用說明: 單個用戶一分鐘限制調用10000次,并發不超過100。
請求參數說明(json):
無
返回參數說明:
| 參數 | 類型 | 是否必傳 | 名稱及描述 |
|---|---|---|---|
| code | int | 是 | 狀態碼 |
| message | string | 是 | 描述信息 |
| total_records | int | 否 | 總記錄數 |
| total_page | int | 否 | 總頁數 |
| page | int | 否 | 當前頁數 |
| per_page | int | 否 | 每頁顯示的記錄條數 |
| result | list<object> | 否 | 證書信息列表 |
| result[*].expires | int | 否 | 證書過期時間 |
| result[*].id | int | 否 | 證書id |
| result[*].issue | int | 否 | 證書頒發時間 |
| result[*].issuer | string | 否 | 證書頒發機構 |
| result[*].created | int | 否 | 證書創建時間 |
| result[*].name | string | 否 | 證書備注名稱 |
| result[*].cn | string | 否 | 證書通用名稱 |
| result[*].sans | list<string> | 否 | 主題別名(Subject Alternative Names) |
示例
請求路徑://cdnapi-global.ctapi.daliqc.cn/cert/query-cert-list
請求參數
無
返回結果
{ "code": 100000, "message": "success", "per_page": 1000, "total_records": 2, "total_page": 1, "page": 1, "result": [ { "expires": 1911194411, "issue": 1595834411, "created": 1616749953, "name": "test9", "cn": "logging", "issuer": "Internet Widgits Pty Ltd", "sans": [ "****", "****" ] }, { "expires": 1911194411, "issue": 1595834411, "created": 1644474871, "name": "test056", "cn": "logging", "issuer": "Internet Widgits Pty Ltd", "sans": [ "****", "****" ] } ] }
錯誤碼請參考:API返回參數code和message含義