mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-24 13:48:14 -05:00
61 lines
1.1 KiB
JSON
61 lines
1.1 KiB
JSON
|
{
|
||
|
"operationId": "getCertificate",
|
||
|
"summary": "Get a certificate object by ID",
|
||
|
"tags": [
|
||
|
"Certificates"
|
||
|
],
|
||
|
"parameters": [
|
||
|
{
|
||
|
"in": "path",
|
||
|
"name": "certificateID",
|
||
|
"schema": {
|
||
|
"type": "integer",
|
||
|
"minimum": 1
|
||
|
},
|
||
|
"required": true,
|
||
|
"description": "ID of the certificate",
|
||
|
"example": 1
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "200 response",
|
||
|
"content": {
|
||
|
"application/json": {
|
||
|
"schema": {
|
||
|
"required": [
|
||
|
"result"
|
||
|
],
|
||
|
"properties": {
|
||
|
"result": {
|
||
|
"$ref": "#/components/schemas/CertificateObject"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"examples": {
|
||
|
"default": {
|
||
|
"value": {
|
||
|
"result": {
|
||
|
"id": 1,
|
||
|
"created_on": 1604536109,
|
||
|
"modified_on": 1604536109,
|
||
|
"expires_on": null,
|
||
|
"type": "dns",
|
||
|
"user_id": 1,
|
||
|
"certificate_authority_id": 2,
|
||
|
"dns_provider_id": 1,
|
||
|
"name": "test1.jc21.com.au",
|
||
|
"domain_names": [
|
||
|
"test1.jc21.com.au"
|
||
|
],
|
||
|
"is_ecc": 0,
|
||
|
"status": "ready"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|