Files
nginx-proxy-manager/backend/embed/api_docs/paths/certificates-authorities/post.json
2021-07-30 11:03:36 +10:00

52 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": {
"required": [
"result"
],
"properties": {
"result": {
"$ref": "#/components/schemas/CertificateAuthorityObject"
}
}
},
"examples": {
"default": {
"value": {
"result": {
"id": 1,
"created_on": 1627531400,
"modified_on": 1627531400,
"name": "ZeroSSL",
"acmesh_server": "zerossl",
"ca_bundle": "",
"max_domains": 10,
"is_wildcard_supported": true,
"is_setup": false
}
}
}
}
}
}
}
}
}