mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-02-02 09:48:13 -05:00
67 lines
1.4 KiB
JSON
67 lines
1.4 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#/definitions/id"
|
||
|
},
|
||
|
"created_on": {
|
||
|
"$ref": "../common.json#/definitions/created_on"
|
||
|
},
|
||
|
"modified_on": {
|
||
|
"$ref": "../common.json#/definitions/modified_on"
|
||
|
},
|
||
|
"owner_user_id": {
|
||
|
"$ref": "../common.json#/definitions/user_id"
|
||
|
},
|
||
|
"provider": {
|
||
|
"$ref": "../common.json#/definitions/ssl_provider"
|
||
|
},
|
||
|
"nice_name": {
|
||
|
"type": "string",
|
||
|
"description": "Nice Name for the custom certificate"
|
||
|
},
|
||
|
"domain_names": {
|
||
|
"$ref": "../common.json#/definitions/domain_names"
|
||
|
},
|
||
|
"expires_on": {
|
||
|
"description": "Date and time of expiration",
|
||
|
"format": "date-time",
|
||
|
"readOnly": true,
|
||
|
"type": "string"
|
||
|
},
|
||
|
"meta": {
|
||
|
"type": "object",
|
||
|
"additionalProperties": false,
|
||
|
"properties": {
|
||
|
"letsencrypt_email": {
|
||
|
"type": "string",
|
||
|
"format": "email"
|
||
|
},
|
||
|
"letsencrypt_agree": {
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"dns_challenge": {
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"dns_provider": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"dns_provider_credentials": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"propagation_seconds": {
|
||
|
"anyOf": [
|
||
|
{
|
||
|
"type": "integer",
|
||
|
"minimum": 0
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|