mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-22 12:58:13 -05:00
82 lines
1.7 KiB
JSON
82 lines
1.7 KiB
JSON
{
|
|
"type": "object",
|
|
"description": "Certificate object",
|
|
"required": ["id", "created_on", "modified_on", "owner_user_id", "provider", "nice_name", "domain_names", "expires_on", "meta"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "../common.json#/properties/id"
|
|
},
|
|
"created_on": {
|
|
"$ref": "../common.json#/properties/created_on"
|
|
},
|
|
"modified_on": {
|
|
"$ref": "../common.json#/properties/modified_on"
|
|
},
|
|
"owner_user_id": {
|
|
"$ref": "../common.json#/properties/user_id"
|
|
},
|
|
"provider": {
|
|
"$ref": "../common.json#/properties/ssl_provider"
|
|
},
|
|
"nice_name": {
|
|
"type": "string",
|
|
"description": "Nice Name for the custom certificate"
|
|
},
|
|
"domain_names": {
|
|
"description": "Domain Names separated by a comma",
|
|
"type": "array",
|
|
"maxItems": 100,
|
|
"uniqueItems": true,
|
|
"items": {
|
|
"type": "string",
|
|
"pattern": "^[^&| @!#%^();:/\\\\}{=+?<>,~`'\"]+$"
|
|
}
|
|
},
|
|
"expires_on": {
|
|
"description": "Date and time of expiration",
|
|
"readOnly": true,
|
|
"type": "string"
|
|
},
|
|
"owner": {
|
|
"$ref": "./user-object.json"
|
|
},
|
|
"meta": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"certificate": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"certificate_key": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"dns_challenge": {
|
|
"type": "boolean"
|
|
},
|
|
"dns_provider": {
|
|
"type": "string"
|
|
},
|
|
"dns_provider_credentials": {
|
|
"type": "string"
|
|
},
|
|
"letsencrypt_agree": {
|
|
"type": "boolean"
|
|
},
|
|
"letsencrypt_certificate": {
|
|
"type": "object"
|
|
},
|
|
"letsencrypt_email": {
|
|
"type": "string"
|
|
},
|
|
"propagation_seconds": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|