Pēteris Caune
c073cb0b3a
Lightweight 'server status' API endpoint, to be used by external load balancers
2017-03-27 11:18:08 +01:00
Pēteris Caune
5dafc07c29
Return 403 when API key is wrong. Return 404 when resource not found. Return 405 when request method is wrong. Return 400 when request syntax is wrong.
2017-03-10 10:35:21 +02:00
Pēteris Caune
31eca9c8e8
API: fix updating kind=cron to kind=simple
2017-03-10 09:54:16 +02:00
Pēteris Caune
d5cb669172
/bounce handles long payloads.
2017-03-05 22:32:42 +02:00
Pēteris Caune
68d591c677
No CSRF check for /bounce endpoint
2017-03-05 22:14:09 +02:00
Pēteris Caune
0d24d650f2
"X-Bounce-Url" header in email messages. An API endpoint to handle bounce notifications. ( #112 )
2017-03-05 21:42:36 +02:00
Pēteris Caune
20b046cba7
API call for updating checks
2017-02-19 13:46:05 +02:00
Pēteris Caune
b93336a44d
API support for cron syntax
2017-01-04 15:27:59 +02:00
Pēteris Caune
ce57a1cc8b
Calculate alert_after
in Python code instead of a database trigger. This will allow complex calculations down the road.
2016-11-04 16:30:19 +02:00
Pēteris Caune
22ac7e0517
Use a whitelist for allowed values in the unique
field.
2016-09-23 14:09:20 +03:00
James Moore
96cb68d503
made the unique field more flexible
2016-09-22 15:51:03 -07:00
James Moore
bcde5fe9d2
adds a unique parameter to the check creation API
...
It only checks for name uniqueness.
2016-09-22 12:00:25 -07:00
Pēteris Caune
51cda31449
New feature: pause monitoring of an individual check. Fixes #67
2016-08-01 21:57:11 +03:00
Pēteris Caune
a97f23190e
More data in API responses.
2016-07-09 17:06:00 +03:00
Pēteris Caune
af997446f3
Add support for authentication with X-Api-Key header.
2016-07-07 20:07:10 +03:00
Pēteris Caune
c15a4871c2
Badges
2016-07-03 18:59:07 +03:00
Pēteris Caune
bbc87fe9bf
pruneemails and pruneusers commands for database cleanup
2016-04-29 11:43:20 +03:00
Pēteris Caune
b52edd903d
Email webhook not used any more, removing.
2016-04-29 10:49:23 +03:00
Spencer Sun
ae30eec1d0
Add GET /api/v1/checks/ to the API
2016-04-05 11:58:00 -07:00
Pēteris Caune
6efb822f95
When creating a check via API, optionally assign all channels.
2016-02-17 22:35:06 +02:00
Pēteris Caune
5d2edfa4a0
First stab at API, POST /api/v1/checks
2016-02-16 23:41:40 +02:00
Di Wu
2e6df69489
forwarded for and forwarded protocol
2016-01-21 18:36:26 -08:00
Pēteris Caune
1e3285423f
Ping objects get "n" field, their serial numbers, used in "log page". "fillnpings" management command initially populates this field (it touches every ping so it takes time to complete).
...
Check.n_pings now stores the total number of pings the check has ever received. Running "prunepings" command doesn't affect this field. +a new "prunepingsslow" command which works in smaller chunks so is appropriate for initial pruning of a huge api_ping table.
2016-01-03 18:11:12 +02:00
Pēteris Caune
15478d414c
Add n_pings field to Check model. This holds a continually updated count of api_ping entries for each check.
2015-12-30 14:30:38 +02:00
Pēteris Caune
33ad56728c
Don't fill in body, will be removing it from model.
2015-12-12 16:59:58 +02:00
Pēteris Caune
947f686c61
Organize imports using isort.
2015-11-02 23:55:33 +02:00
Pēteris Caune
32fb29c299
Webhook for Mandrill inbound email notifications, WIP
2015-08-01 16:06:04 +03:00
Pēteris Caune
b75ab00d18
Webhook for Mandrill inbound email notifications
2015-08-01 15:55:43 +03:00
Pēteris Caune
f640b9f3be
Make ua column wider, and truncate its values for very long UA strings
2015-08-01 15:20:11 +03:00
Pēteris Caune
969626c0fa
Validate UUID, more tests.
2015-07-28 20:46:17 +03:00
Pēteris Caune
dd792486a7
oops
2015-07-27 20:01:24 +03:00
Pēteris Caune
3550218129
Keep a log of pings
2015-07-27 19:46:38 +03:00
Pēteris Caune
965599c8eb
ping is csrf exempt.
2015-07-22 21:41:15 +03:00
Pēteris Caune
17b87c093f
CORS header for ping call
2015-07-21 14:16:02 +03:00
Pēteris Caune
3c57e4026a
Move timer call to api
2015-07-07 23:49:05 +03:00
Pēteris Caune
d85ef38cc0
Add Check
2015-06-16 13:59:00 +03:00
Pēteris Caune
aad4bd2ffb
Background worker to send notifications
2015-06-16 11:33:12 +03:00
Pēteris Caune
c8b24495b9
Renames
2015-06-12 19:33:15 +03:00