Skip to content

Commit

Permalink
update route comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuancelin committed Dec 11, 2024
1 parent f353392 commit b2dfe5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions otoroshi/conf/routes
Original file line number Diff line number Diff line change
Expand Up @@ -606,14 +606,14 @@ DELETE /api/admins/webauthn/:username/:id otoroshi.controlle
GET /api/openapi.json otoroshi.controllers.SwaggerController.openapi()
GET /api/openapi/ui otoroshi.controllers.SwaggerController.openapiUi()

## New admin API
## New admin API - cluster and node api
GET /apis/cluster/node/infos otoroshi.controllers.adminapi.InfosApiController.infos()
GET /apis/cluster/node/version otoroshi.controllers.adminapi.InfosApiController.version()
GET /apis/cluster/node/health otoroshi.api.GenericApiController.health()
GET /apis/cluster/node/metrics otoroshi.api.GenericApiController.metrics()
GET /apis/cluster otoroshi.controllers.adminapi.ClusterController.getClusterMembers()

# generic apis
# New admin API - generic apis
POST /apis/:group/:version/:entity/_bulk otoroshi.api.GenericApiController.bulkCreate(group, version, entity)
PUT /apis/:group/:version/:entity/_bulk otoroshi.api.GenericApiController.bulkUpdate(group, version, entity)
PATCH /apis/:group/:version/:entity/_bulk otoroshi.api.GenericApiController.bulkPatch(group, version, entity)
Expand Down

0 comments on commit b2dfe5e

Please sign in to comment.