diff --git a/assets/openapi.json b/assets/openapi.json index a6f5d962..2788cdb0 100644 --- a/assets/openapi.json +++ b/assets/openapi.json @@ -7848,6 +7848,9 @@ "$ref": "#/components/schemas/StickerPack" } }, + "APIConnectionsConfiguration": { + "type": "object" + }, "UpdatesResponse": { "type": "object", "properties": { @@ -10323,25 +10326,6 @@ ] } }, - "/policies/instance/connections/": { - "get": { - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIConnectionsConfiguration" - } - } - } - } - }, - "tags": [ - "policies" - ] - } - }, "/ping/": { "get": { "responses": { @@ -14559,6 +14543,30 @@ ] } }, + "/connections/": { + "get": { + "security": [ + { + "bearer": [] + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIConnectionsConfiguration" + } + } + } + } + }, + "tags": [ + "connections" + ] + } + }, "/connections/{connection_name}/callback/": { "post": { "security": [ diff --git a/src/api/routes/policies/instance/connections.ts b/src/api/routes/connections/index.ts similarity index 100% rename from src/api/routes/policies/instance/connections.ts rename to src/api/routes/connections/index.ts