## 9\. CA certficate(1.3.x+以上版本) *地址*:/ca\_certificates *说明*:Ca 认证 ### 9.1 请求方法 | 序号 | NAME | 请求URI | 请求body | 说明 | | --- | --- | --- | --- | --- | | 1 | POST | /ca\_certificates | {...} | 新增ca\_certificates | | 2 | GET | /ca\_certificates | | 查询ca列表 | | 3 | GET | /ca\_certificates/{ca\_certificate id} | | 查询单个ca信息 | | 4 | PATCH | /ca\_certificates/{ca\_certificate id} | {...} | 更新ca信息 | | 5 | PUT | /ca\_certificates/{ca\_certificate id} | {...} | 新增/更新Ca信息 | | 6 | DELETE | /ca\_certificates/{ca\_certificate id} | | 删除ca信息 | ### 9.2 body 请求参数 | 序号 | 参数名 | 可选 | 默认值 | 说明 | 示例 | | --- | --- | --- | --- | --- | --- | | 1 | cert | 必选 | | PEM-encoded public certificate of the CA. | | | 2 | tags | 可选 | | 标签 | | ### 9.3 数据样例 body请求参数 ``` { "id": "04fbeacf-a9f1-4a5d-ae4a-b0407445db3f", "created_at": 1422386534, "cert": "-----BEGIN CERTIFICATE-----...", "tags": ["user-level", "low-priority"] } ``` ca 认证列表 ``` { "data": [{ "id": "43429efd-b3a5-4048-94cb-5cc4029909bb", "created_at": 1422386534, "cert": "-----BEGIN CERTIFICATE-----...", "tags": ["user-level", "low-priority"] }, { "id": "d26761d5-83a4-4f24-ac6c-cff276f2b79c", "created_at": 1422386534, "cert": "-----BEGIN CERTIFICATE-----...", "tags": ["admin", "high-priority", "critical"] }], "next": "http://localhost:8001/ca_certificates?offset=6378122c-a0a1-438d-a5c6-efabae9fb969" } ```