mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-24 05:38:15 -05:00
50 lines
1.0 KiB
JSON
50 lines
1.0 KiB
JSON
{
|
|
"operationId": "createCertificateAuthority",
|
|
"summary": "Create a new Certificate Authority",
|
|
"tags": ["Certificate Authorities"],
|
|
"requestBody": {
|
|
"description": "Certificate Authority to Create",
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": "{{schema.CreateCertificateAuthority}}"
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "201 response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"required": ["result"],
|
|
"properties": {
|
|
"result": {
|
|
"$ref": "#/components/schemas/CertificateAuthorityObject"
|
|
}
|
|
}
|
|
},
|
|
"examples": {
|
|
"default": {
|
|
"value": {
|
|
"result": {
|
|
"id": 1,
|
|
"created_at": 1627531400000,
|
|
"updated_at": 1627531400000,
|
|
"name": "ZeroSSL",
|
|
"acmesh_server": "zerossl",
|
|
"ca_bundle": "",
|
|
"max_domains": 10,
|
|
"is_wildcard_supported": true,
|
|
"is_readonly": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|