Skip to content

Commit

Permalink
documentando
Browse files Browse the repository at this point in the history
  • Loading branch information
jortilles committed May 17, 2024
1 parent ddd8e05 commit df36418
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions eda/eda_api/lib/module/dashboard/dashboard.router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,16 @@ router.post('', authGuard, DashboardController.create);
* /dashboard/query:
* post:
* description: execute the query of the panel
* parameters:
* - name: token
* in: query
* description: Authentication token
* type: string
* - name: query
* in: body
* required: true
* type: object
* description: Query configuration
* responses:
* 200:
* description: returns ok
Expand All @@ -213,6 +223,16 @@ router.post('/query', authGuard, DashboardController.execQuery);
* /dashboard/getQuey:
* post:
* description: returns the panel query
* parameters:
* - name: token
* in: query
* description: Authentication token
* type: string
* - name: query
* in: body
* required: true
* type: object
* description: Query configuration
* responses:
* 200:
* description: returns ok
Expand All @@ -228,6 +248,16 @@ router.post('/getQuey', authGuard, DashboardController.getQuery);
* /dashboard/sql-query:
* post:
* description: executes a query from SQL mode
* parameters:
* - name: token
* in: query
* description: Authentication token
* type: string
* - name: query
* in: body
* required: true
* type: object
* description: Query configuration
* responses:
* 200:
* description: returns ok
Expand All @@ -243,6 +273,16 @@ router.post('/sql-query', authGuard, DashboardController.execSqlQuery);
* /dashboard/view-query:
* post:
* description: creates the SQL query from panel
* parameters:
* - name: token
* in: query
* description: Authentication token
* type: string
* - name: query
* in: body
* required: true
* type: object
* description: Query configuration
* responses:
* 200:
* description: returns ok
Expand Down

0 comments on commit df36418

Please sign in to comment.