Commit Graph

32 Commits

Author SHA1 Message Date
Alex Holliday 21de95b89a Add route for getAllMonitorsWithUptimeStats 2024-11-06 11:17:26 +08:00
om-3004 9de2dfe514 Remove duplicate api endpoint for deleting monitor 2024-10-17 17:27:40 +05:30
om-3004 afe7c9047c Handle imports exports format check resolution tests code 2024-10-17 10:47:34 +05:30
om-3004 c598278c6f Merge branch 'develop' into enhancement/check-if-url-resolves 2024-10-17 10:35:41 +05:30
om-3004 d61a41fd95 Update the api endpoint from /check-endpoint/url to /resolution/url 2024-10-17 10:18:12 +05:30
Alex Holliday 4a05157eb3 Fix coverage for auth 2024-10-16 14:17:35 +08:00
om-3004 ebf6a0ceb7 Check the monitor URL resolution before adding it 2024-10-15 17:20:54 +05:30
Alex Holliday 896b3437e5 Migrate tests to ESM 2024-10-15 14:00:24 +08:00
Alex Holliday f057807b56 migrate to esm 2024-10-15 11:57:37 +08:00
Alex Holliday bd03964ab6 Add get monitor stats by ID to docs 2024-09-24 15:20:45 +08:00
Alex Holliday 3f5dc337a0 Update delete all method 2024-09-11 11:22:33 +08:00
Alex Holliday a89777333a Add route, controller, and DB methods for adding demo monitors 2024-09-11 11:03:39 +08:00
Alex Holliday 9eaab0da1a Add network requests and validation 2024-09-05 12:16:29 -07:00
Alex Holliday bc0df325d1 Add route, controller, db operations, and validation for aggregate monitor stats 2024-09-03 14:39:16 -07:00
Alex Holliday 17174ebe14 Add pause routes and controller, implement functionality 2024-08-28 15:21:59 -07:00
Alex Holliday 5bd13a572e Add middleware for verifying roles, use middleware on appropriate routs 2024-08-27 10:39:55 -07:00
Alex Holliday 465c1f9f9e Refactor getMonitorByUserID to getMonitorByTeamID 2024-08-26 19:38:24 -07:00
Alex Holliday e533c94918 Implemented new stats for Monitor Details 2024-08-12 15:15:13 -07:00
Alex Holliday d7251bfd81 Refactored monitor details 2024-08-12 12:05:57 -07:00
Mert Şişmanoğlu 9aba73f13a fix: use correct request methods edit=PUT, delete=DELETE
>Routes
>> alert
>> check
>> monitor
2024-08-08 12:57:41 +03:00
Alex Holliday aed4881eac Fix rest verbs 2024-08-02 11:54:46 -07:00
Alexander Holliday 477cad7cc9 Feat/monitor endpoint refactor (#463)
* Moved all methods to modules

* removed old mongoDB file

* Refactored endpoints to take query params, removed duplicate methods, updated routes, updated Client queries

* Added comment

* Add model differentiation

* Add sort order, fix minor bug, add validation for query params
2024-07-26 18:56:39 -07:00
Alex Holliday e63d577fa5 Added endponts and routes for fetching monitors with incidents 2024-07-22 14:28:03 -07:00
Alex Holliday 12e85aed03 Fixed non functioning code 2024-07-12 10:24:46 -07:00
MuhammadKhalilzadeh 6b8af0f669 Transfering limit to get monitors by Id. Plus, readme file changes 2024-07-11 10:20:39 +03:30
Alex Holliday 59562b10c9 Improved network service error handling 2024-06-18 11:42:25 -07:00
Alex Holliday ef8867658e Removed package-lock.json from root 2024-05-24 13:44:42 -07:00
Alex Holliday c4dc57b9be Updated status codes, added edit monitor endpoint 2024-05-21 13:52:28 -07:00
Alex Holliday e7cd1ae6ab Added create and delete monitor routes, Added JSDocs to MongoDB 2024-05-21 11:23:39 -07:00
Alex Holliday 8cc92e6c40 Implemented MongoDB example db, updated documentation 2024-05-13 14:21:27 -07:00
Alex Holliday 2e2d91937e Added fake DB for monitor route testing 2024-05-10 13:59:33 -07:00
Alex Holliday def8ba4b9d Added monitor router, controller, and model 2024-05-10 13:36:04 -07:00