mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-24 13:48:14 -05:00
54 lines
1017 B
JSON
54 lines
1017 B
JSON
|
{
|
||
|
"operationId": "getDNSProvider",
|
||
|
"summary": "Get a DNS Provider object by ID",
|
||
|
"tags": ["DNS Providers"],
|
||
|
"parameters": [
|
||
|
{
|
||
|
"in": "path",
|
||
|
"name": "providerID",
|
||
|
"schema": {
|
||
|
"type": "integer",
|
||
|
"minimum": 1
|
||
|
},
|
||
|
"required": true,
|
||
|
"description": "ID of the DNS Provider",
|
||
|
"example": 1
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "200 response",
|
||
|
"content": {
|
||
|
"application/json": {
|
||
|
"schema": {
|
||
|
"required": ["result"],
|
||
|
"properties": {
|
||
|
"result": {
|
||
|
"$ref": "#/components/schemas/DNSProviderObject"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"examples": {
|
||
|
"default": {
|
||
|
"value": {
|
||
|
"result": {
|
||
|
"id": 1,
|
||
|
"created_on": 1602593653,
|
||
|
"modified_on": 1602593653,
|
||
|
"user_id": 1,
|
||
|
"name": "Route53",
|
||
|
"acmesh_name": "dns_aws",
|
||
|
"meta": {
|
||
|
"AWS_ACCESS_KEY_ID": "abc123",
|
||
|
"AWS_SECRET_ACCESS_KEY": "def098"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|