Skip to content

Commit

Permalink
Merge branch 'externalTags'
Browse files Browse the repository at this point in the history
  • Loading branch information
jortilles committed May 2, 2024
2 parents 425eb6e + a799ff5 commit e64d359
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions eda/eda_api/lib/module/dashboard/dashboard.router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const router = express.Router();
* description: dashboard external tags
* responses:
* 200:
* description: retrns all dashboards
* description: returns all dashboards
* 400:
* description: returns error to load dashboards
* tags:
Expand All @@ -38,9 +38,23 @@ router.post('/clean-refresh', authGuard, DashboardController.cleanDashboardCache

/**
* @openapi
* /dashboard/:id:
* /dashboard/{id}:
* get:
* description: returns dashboard by parametro
* description: returns dashboard by parameter
* parameters:
* - in: query
* name: token
* required: true
* description: authorization token
* - in: path
* name: id
* required: true
* description: dashboard id
* - in: query
* name: properties
* type: object
* required: false
* description: dashboard custom properties
* responses:
* 200:
* description: returns dashboard
Expand Down Expand Up @@ -175,16 +189,6 @@ router.post('', authGuard, DashboardController.create);
* /dashboard/query:
* post:
* description: execute the query of the panel
* parameters:
* - in: query
* name: token
* required: true
* description: authorization token
* - in: query
* name: properties
* type: object
* required: false
* description: properties tags JSON
* responses:
* 200:
* description: returns ok
Expand Down

0 comments on commit e64d359

Please sign in to comment.