mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			49 lines
		
	
	
		
			1023 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1023 B
		
	
	
	
		
			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_readonly": false
 | |
| 								}
 | |
| 							}
 | |
| 						}
 | |
| 					}
 | |
| 				}
 | |
| 			}
 | |
| 		}
 | |
| 	}
 | |
| }
 |