From d78e8b4cbfc1c56c55354685e2c32474f4792233 Mon Sep 17 00:00:00 2001 From: Dokploy Bot Date: Thu, 9 Apr 2026 17:45:46 +0000 Subject: [PATCH] chore: sync OpenAPI specification [skip ci] Source: Dokploy/dokploy@c1b19376a92b9cc8eb9a604b1c95c2d18f5437e0 Updated: 2026-04-09 17:45:46 UTC --- apps/docs/public/openapi.json | 1203 +++++++++++++++++++++++++++++++++ 1 file changed, 1203 insertions(+) diff --git a/apps/docs/public/openapi.json b/apps/docs/public/openapi.json index 9f07b24..17cc63f 100644 --- a/apps/docs/public/openapi.json +++ b/apps/docs/public/openapi.json @@ -4876,6 +4876,121 @@ } } }, + "/application.readLogs": { + "get": { + "operationId": "application-readLogs", + "tags": [ + "application" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "query", + "name": "applicationId", + "schema": { + "type": "string", + "minLength": 1 + }, + "required": true + }, + { + "in": "query", + "name": "tail", + "schema": { + "default": 100, + "type": "integer", + "minimum": 1, + "maximum": 10000 + } + }, + { + "in": "query", + "name": "since", + "schema": { + "default": "all", + "type": "string", + "pattern": "^(all|\\d+[smhd])$" + } + }, + { + "in": "query", + "name": "search", + "schema": { + "type": "string", + "pattern": "^[a-zA-Z0-9 ._-]{0,500}$" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + } + } + }, + "400": { + "description": "Invalid input data", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.BAD_REQUEST" + } + } + } + }, + "401": { + "description": "Authorization not provided", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.UNAUTHORIZED" + } + } + } + }, + "403": { + "description": "Insufficient access", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.FORBIDDEN" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.NOT_FOUND" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.INTERNAL_SERVER_ERROR" + } + } + } + } + } + } + }, "/backup.create": { "post": { "operationId": "backup-create", @@ -10707,6 +10822,131 @@ } } }, + "/compose.readLogs": { + "get": { + "operationId": "compose-readLogs", + "tags": [ + "compose" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "query", + "name": "composeId", + "schema": { + "type": "string", + "minLength": 1 + }, + "required": true + }, + { + "in": "query", + "name": "containerId", + "schema": { + "type": "string", + "minLength": 1, + "pattern": "^[a-zA-Z0-9.\\-_]+$" + }, + "required": true + }, + { + "in": "query", + "name": "tail", + "schema": { + "default": 100, + "type": "integer", + "minimum": 1, + "maximum": 10000 + } + }, + { + "in": "query", + "name": "since", + "schema": { + "default": "all", + "type": "string", + "pattern": "^(all|\\d+[smhd])$" + } + }, + { + "in": "query", + "name": "search", + "schema": { + "type": "string", + "pattern": "^[a-zA-Z0-9 ._-]{0,500}$" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + } + } + }, + "400": { + "description": "Invalid input data", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.BAD_REQUEST" + } + } + } + }, + "401": { + "description": "Authorization not provided", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.UNAUTHORIZED" + } + } + } + }, + "403": { + "description": "Insufficient access", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.FORBIDDEN" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.NOT_FOUND" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.INTERNAL_SERVER_ERROR" + } + } + } + } + } + } + }, "/deployment.all": { "get": { "operationId": "deployment-all", @@ -18186,6 +18426,121 @@ } } }, + "/libsql.readLogs": { + "get": { + "operationId": "libsql-readLogs", + "tags": [ + "libsql" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "query", + "name": "libsqlId", + "schema": { + "type": "string", + "minLength": 1 + }, + "required": true + }, + { + "in": "query", + "name": "tail", + "schema": { + "default": 100, + "type": "integer", + "minimum": 1, + "maximum": 10000 + } + }, + { + "in": "query", + "name": "since", + "schema": { + "default": "all", + "type": "string", + "pattern": "^(all|\\d+[smhd])$" + } + }, + { + "in": "query", + "name": "search", + "schema": { + "type": "string", + "pattern": "^[a-zA-Z0-9 ._-]{0,500}$" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + } + } + }, + "400": { + "description": "Invalid input data", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.BAD_REQUEST" + } + } + } + }, + "401": { + "description": "Authorization not provided", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.UNAUTHORIZED" + } + } + } + }, + "403": { + "description": "Insufficient access", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.FORBIDDEN" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.NOT_FOUND" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.INTERNAL_SERVER_ERROR" + } + } + } + } + } + } + }, "/mariadb.create": { "post": { "operationId": "mariadb-create", @@ -20229,6 +20584,121 @@ } } }, + "/mariadb.readLogs": { + "get": { + "operationId": "mariadb-readLogs", + "tags": [ + "mariadb" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "query", + "name": "mariadbId", + "schema": { + "type": "string", + "minLength": 1 + }, + "required": true + }, + { + "in": "query", + "name": "tail", + "schema": { + "default": 100, + "type": "integer", + "minimum": 1, + "maximum": 10000 + } + }, + { + "in": "query", + "name": "since", + "schema": { + "default": "all", + "type": "string", + "pattern": "^(all|\\d+[smhd])$" + } + }, + { + "in": "query", + "name": "search", + "schema": { + "type": "string", + "pattern": "^[a-zA-Z0-9 ._-]{0,500}$" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + } + } + }, + "400": { + "description": "Invalid input data", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.BAD_REQUEST" + } + } + } + }, + "401": { + "description": "Authorization not provided", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.UNAUTHORIZED" + } + } + } + }, + "403": { + "description": "Insufficient access", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.FORBIDDEN" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.NOT_FOUND" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.INTERNAL_SERVER_ERROR" + } + } + } + } + } + } + }, "/mongo.create": { "post": { "operationId": "mongo-create", @@ -22269,6 +22739,121 @@ } } }, + "/mongo.readLogs": { + "get": { + "operationId": "mongo-readLogs", + "tags": [ + "mongo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "query", + "name": "mongoId", + "schema": { + "type": "string", + "minLength": 1 + }, + "required": true + }, + { + "in": "query", + "name": "tail", + "schema": { + "default": 100, + "type": "integer", + "minimum": 1, + "maximum": 10000 + } + }, + { + "in": "query", + "name": "since", + "schema": { + "default": "all", + "type": "string", + "pattern": "^(all|\\d+[smhd])$" + } + }, + { + "in": "query", + "name": "search", + "schema": { + "type": "string", + "pattern": "^[a-zA-Z0-9 ._-]{0,500}$" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + } + } + }, + "400": { + "description": "Invalid input data", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.BAD_REQUEST" + } + } + } + }, + "401": { + "description": "Authorization not provided", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.UNAUTHORIZED" + } + } + } + }, + "403": { + "description": "Insufficient access", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.FORBIDDEN" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.NOT_FOUND" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.INTERNAL_SERVER_ERROR" + } + } + } + } + } + } + }, "/mounts.create": { "post": { "operationId": "mounts-create", @@ -25057,6 +25642,121 @@ } } }, + "/mysql.readLogs": { + "get": { + "operationId": "mysql-readLogs", + "tags": [ + "mysql" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "query", + "name": "mysqlId", + "schema": { + "type": "string", + "minLength": 1 + }, + "required": true + }, + { + "in": "query", + "name": "tail", + "schema": { + "default": 100, + "type": "integer", + "minimum": 1, + "maximum": 10000 + } + }, + { + "in": "query", + "name": "since", + "schema": { + "default": "all", + "type": "string", + "pattern": "^(all|\\d+[smhd])$" + } + }, + { + "in": "query", + "name": "search", + "schema": { + "type": "string", + "pattern": "^[a-zA-Z0-9 ._-]{0,500}$" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + } + } + }, + "400": { + "description": "Invalid input data", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.BAD_REQUEST" + } + } + } + }, + "401": { + "description": "Authorization not provided", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.UNAUTHORIZED" + } + } + } + }, + "403": { + "description": "Insufficient access", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.FORBIDDEN" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.NOT_FOUND" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.INTERNAL_SERVER_ERROR" + } + } + } + } + } + } + }, "/notification.createSlack": { "post": { "operationId": "notification-createSlack", @@ -32317,6 +33017,121 @@ } } }, + "/postgres.readLogs": { + "get": { + "operationId": "postgres-readLogs", + "tags": [ + "postgres" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "query", + "name": "postgresId", + "schema": { + "type": "string", + "minLength": 1 + }, + "required": true + }, + { + "in": "query", + "name": "tail", + "schema": { + "default": 100, + "type": "integer", + "minimum": 1, + "maximum": 10000 + } + }, + { + "in": "query", + "name": "since", + "schema": { + "default": "all", + "type": "string", + "pattern": "^(all|\\d+[smhd])$" + } + }, + { + "in": "query", + "name": "search", + "schema": { + "type": "string", + "pattern": "^[a-zA-Z0-9 ._-]{0,500}$" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + } + } + }, + "400": { + "description": "Invalid input data", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.BAD_REQUEST" + } + } + } + }, + "401": { + "description": "Authorization not provided", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.UNAUTHORIZED" + } + } + } + }, + "403": { + "description": "Insufficient access", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.FORBIDDEN" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.NOT_FOUND" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.INTERNAL_SERVER_ERROR" + } + } + } + } + } + } + }, "/previewDeployment.all": { "get": { "operationId": "previewDeployment-all", @@ -35840,6 +36655,121 @@ } } }, + "/redis.readLogs": { + "get": { + "operationId": "redis-readLogs", + "tags": [ + "redis" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "query", + "name": "redisId", + "schema": { + "type": "string", + "minLength": 1 + }, + "required": true + }, + { + "in": "query", + "name": "tail", + "schema": { + "default": 100, + "type": "integer", + "minimum": 1, + "maximum": 10000 + } + }, + { + "in": "query", + "name": "since", + "schema": { + "default": "all", + "type": "string", + "pattern": "^(all|\\d+[smhd])$" + } + }, + { + "in": "query", + "name": "search", + "schema": { + "type": "string", + "pattern": "^[a-zA-Z0-9 ._-]{0,500}$" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + } + } + }, + "400": { + "description": "Invalid input data", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.BAD_REQUEST" + } + } + } + }, + "401": { + "description": "Authorization not provided", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.UNAUTHORIZED" + } + } + } + }, + "403": { + "description": "Insufficient access", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.FORBIDDEN" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.NOT_FOUND" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.INTERNAL_SERVER_ERROR" + } + } + } + } + } + } + }, "/registry.create": { "post": { "operationId": "registry-create", @@ -47074,6 +48004,279 @@ } } }, + "/ai.getEnabledProviders": { + "get": { + "operationId": "ai-getEnabledProviders", + "tags": [ + "ai" + ], + "security": [ + { + "Authorization": [] + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + } + } + }, + "400": { + "description": "Invalid input data", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.BAD_REQUEST" + } + } + } + }, + "401": { + "description": "Authorization not provided", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.UNAUTHORIZED" + } + } + } + }, + "403": { + "description": "Insufficient access", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.FORBIDDEN" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.NOT_FOUND" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.INTERNAL_SERVER_ERROR" + } + } + } + } + } + } + }, + "/ai.analyzeLogs": { + "post": { + "operationId": "ai-analyzeLogs", + "tags": [ + "ai" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "aiId": { + "type": "string", + "minLength": 1 + }, + "logs": { + "type": "string", + "minLength": 1 + }, + "context": { + "type": "string", + "enum": [ + "build", + "runtime" + ] + } + }, + "required": [ + "aiId", + "logs", + "context" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + } + } + }, + "400": { + "description": "Invalid input data", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.BAD_REQUEST" + } + } + } + }, + "401": { + "description": "Authorization not provided", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.UNAUTHORIZED" + } + } + } + }, + "403": { + "description": "Insufficient access", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.FORBIDDEN" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.INTERNAL_SERVER_ERROR" + } + } + } + } + } + } + }, + "/ai.testConnection": { + "post": { + "operationId": "ai-testConnection", + "tags": [ + "ai" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "apiUrl": { + "type": "string", + "minLength": 1 + }, + "apiKey": { + "type": "string" + }, + "model": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "apiUrl", + "apiKey", + "model" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + } + } + }, + "400": { + "description": "Invalid input data", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.BAD_REQUEST" + } + } + } + }, + "401": { + "description": "Authorization not provided", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.UNAUTHORIZED" + } + } + } + }, + "403": { + "description": "Insufficient access", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.FORBIDDEN" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.INTERNAL_SERVER_ERROR" + } + } + } + } + } + } + }, "/ai.suggest": { "post": { "operationId": "ai-suggest",