Skip to content

Commit

Permalink
#170 Add HTTP routes for alerting framework
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Apr 10, 2017
1 parent 63adafe commit cb13057
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions thehive-backend/conf/routes
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ PATCH /api/case/task/log/:logId controllers.LogCtrl.update(log
DELETE /api/case/task/log/:logId controllers.LogCtrl.delete(logId)
GET /api/case/task/log/:logId controllers.LogCtrl.get(logId)

GET /api/alert controllers.AlertCtrl.find()
POST /api/alert/_search controllers.AlertCtrl.find()
PATCH /api/alert/_bulk controllers.AlertCtrl.bulkUpdate()
POST /api/alert/_stats controllers.AlertCtrl.stats()
POST /api/alert controllers.AlertCtrl.create()
GET /api/alert/:alertId controllers.AlertCtrl.get(alertId)
PATCH /api/alert/:alertId controllers.AlertCtrl.update(alertId)
DELETE /api/alert/:alertId controllers.AlertCtrl.delete(alertId)

GET /api/flow controllers.FlowCtrl.flow(rootId: Option[String], count: Option[Int])

GET /api/datastore/:hash controllers.AttachmentCtrl.download(hash, name: Option[String])
Expand Down

0 comments on commit cb13057

Please sign in to comment.