Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

fix: add endpoint to browse connection files for connectors (#1579)

Rico Furtado869599f70c0b
diff --git a/src/app/routes/internal.py b/src/app/routes/internal.py
index c1de1914f..89072bd84 100644
--- a/src/app/routes/internal.py
+++ b/src/app/routes/internal.py
@@ -269,6 +269,12 @@ def register_internal_routes(app: FastAPI):
methods=["POST", "GET"],
tags=["internal"],
)
+ app.add_api_route(
+ "/connectors/{connector_type}/{connection_id}/browse",
+ connectors.browse_connection_files,
+ methods=["GET"],
+ tags=["internal"],
+ )
# Document endpoints
app.add_api_route(