feat: add proxy type change to create/update apis
This commit is contained in:
76
openapi.json
76
openapi.json
@@ -5234,6 +5234,16 @@
|
||||
"type": "boolean",
|
||||
"example": false,
|
||||
"description": "Instant validate."
|
||||
},
|
||||
"proxy_type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"traefik",
|
||||
"caddy",
|
||||
"none"
|
||||
],
|
||||
"example": "traefik",
|
||||
"description": "The proxy type."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -5419,6 +5429,15 @@
|
||||
"instant_validate": {
|
||||
"type": "boolean",
|
||||
"description": "Instant validate."
|
||||
},
|
||||
"proxy_type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"traefik",
|
||||
"caddy",
|
||||
"none"
|
||||
],
|
||||
"description": "The proxy type."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -7358,52 +7377,77 @@
|
||||
"description": "Server model",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer"
|
||||
"type": "integer",
|
||||
"description": "The server ID."
|
||||
},
|
||||
"uuid": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"description": "The server UUID."
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"description": "The server name."
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"description": "The server description."
|
||||
},
|
||||
"ip": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"description": "The IP address."
|
||||
},
|
||||
"user": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"description": "The user."
|
||||
},
|
||||
"port": {
|
||||
"type": "integer"
|
||||
"type": "integer",
|
||||
"description": "The port number."
|
||||
},
|
||||
"proxy": {
|
||||
"type": "object"
|
||||
"type": "object",
|
||||
"description": "The proxy configuration."
|
||||
},
|
||||
"proxy_type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"traefik",
|
||||
"caddy",
|
||||
"none"
|
||||
],
|
||||
"description": "The proxy type."
|
||||
},
|
||||
"high_disk_usage_notification_sent": {
|
||||
"type": "boolean"
|
||||
"type": "boolean",
|
||||
"description": "The flag to indicate if the high disk usage notification has been sent."
|
||||
},
|
||||
"unreachable_notification_sent": {
|
||||
"type": "boolean"
|
||||
"type": "boolean",
|
||||
"description": "The flag to indicate if the unreachable notification has been sent."
|
||||
},
|
||||
"unreachable_count": {
|
||||
"type": "integer"
|
||||
"type": "integer",
|
||||
"description": "The unreachable count for your server."
|
||||
},
|
||||
"validation_logs": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"description": "The validation logs."
|
||||
},
|
||||
"log_drain_notification_sent": {
|
||||
"type": "boolean"
|
||||
"type": "boolean",
|
||||
"description": "The flag to indicate if the log drain notification has been sent."
|
||||
},
|
||||
"swarm_cluster": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"description": "The swarm cluster configuration."
|
||||
},
|
||||
"delete_unused_volumes": {
|
||||
"type": "boolean"
|
||||
"type": "boolean",
|
||||
"description": "The flag to indicate if the unused volumes should be deleted."
|
||||
},
|
||||
"delete_unused_networks": {
|
||||
"type": "boolean"
|
||||
"type": "boolean",
|
||||
"description": "The flag to indicate if the unused networks should be deleted."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
|
||||
Reference in New Issue
Block a user