James Kirsop
|
368d7a4fec
|
Commit with requested changes and tests
|
4 years ago |
James Kirsop
|
c5c4e0f782
|
Returning all historical flips if no parameters are passed
|
4 years ago |
James Kirsop
|
90d4246848
|
Second interation of this
|
4 years ago |
James Kirsop
|
aaadf6031f
|
Sample work for review
|
5 years ago |
Pēteris Caune
|
cdafc06c65
|
In urls.py, route "api/v1/checks/<sha1:unique_key>" directly to the hc.api.views.get_check_by_unique_key view.
Minor API documentation edits.
|
4 years ago |
James Kirsop
|
8725c81144
|
Implementing new changes discussed to resolve #370
|
4 years ago |
Pēteris Caune
|
fd4d59c4e1
|
API, optimization: avoid retrieving project twice from the database
|
5 years ago |
Pēteris Caune
|
a07325e40f
|
Add "Get a list of checks's logged pings" API call (#371)
|
5 years ago |
Pēteris Caune
|
461ef5e088
|
Paused ping handling can be controlled via API. Fixes #376
|
5 years ago |
Pēteris Caune
|
3730c67c80
|
Return max notification_id in metrics.
|
5 years ago |
Pēteris Caune
|
98310eeeaa
|
Include timestamp in the metrics response.
|
5 years ago |
Pēteris Caune
|
edbfd4b437
|
Added /api/v1/metrics/ endpoint, useful for monitoring the service itself
|
5 years ago |
Pēteris Caune
|
8c7d3570a5
|
Remove unused imports, cleanup.
|
5 years ago |
James Kirsop
|
010bbc9507
|
Sample work for review
|
5 years ago |
Pēteris Caune
|
76ae42bc8f
|
"Get a single check" API call now supports read-only API keys. Fixes #346
|
5 years ago |
Pēteris Caune
|
da4cf5241e
|
Minor cleanup, update CHANGELOG
|
5 years ago |
James Kirsop
|
6373db8aa1
|
Changes to prototype this for testing with real data
|
5 years ago |
James Kirsop
|
d88f99a712
|
Changes to prototype this for testing with real data
|
5 years ago |
Pēteris Caune
|
5e051d53f8
|
Validate channel identifiers before creating/updating a check. Fixes #335
|
5 years ago |
Pēteris Caune
|
cde1f50ac2
|
API: update check's "alert_after" field when changing schedule
|
5 years ago |
Pēteris Caune
|
fb527e4ed8
|
Security: check channel ownership when setting check's channels via API
|
5 years ago |
Pēteris Caune
|
435659166c
|
Don't let SuspiciousOperation bubble up when validating channel ids in API
|
5 years ago |
Pēteris Caune
|
b8108906f4
|
hc.api.views.bounce updates Channel.last_error
|
5 years ago |
Pēteris Caune
|
c521b44d20
|
hc.api.views.bounce handles transient email bounces (logs error, does not disable the integration)
|
5 years ago |
Bram Daams
|
1b3d7e8c0a
|
being able to set/update the description of a check when creating/updating using the api
|
5 years ago |
Pēteris Caune
|
8d81d27af3
|
Unsubscribe links serve a form, and require HTTP POST to actually unsubscribe
|
5 years ago |
Pēteris Caune
|
22d4d55340
|
Added support for Shields.io badges. cc: #304, #305
|
5 years ago |
Pēteris Caune
|
3f19181028
|
"Filtering Rules" dialog, an option to require HTTP POST. Fixes #297
|
5 years ago |
Pēteris Caune
|
1f1b1aedca
|
Don't include ping URLs in API responses when the read-only key is used
|
5 years ago |
Pēteris Caune
|
cdfc9840a7
|
Source formatted with Black
|
6 years ago |
Pēteris Caune
|
1b948f4d5a
|
Show check counts in JSON "badges". Fixes #251
|
6 years ago |
Pēteris Caune
|
0994006603
|
Drop Check.user_id and Channel.user_id (obsolete, using project_id now)
|
6 years ago |
Pēteris Caune
|
82b644ae0a
|
Project.num_checks_available() method.
|
6 years ago |
Pēteris Caune
|
46c00e31a6
|
Use Project.badge_key in api.views.badge
|
6 years ago |
Pēteris Caune
|
6b7f212c8a
|
Use the api keys from project, not user profile
|
6 years ago |
Pēteris Caune
|
1c69cf7f89
|
Project model. cc: #183
|
6 years ago |
Pēteris Caune
|
5067014a19
|
Prefetch Channel objects, avoid running a query per check.
|
6 years ago |
Pēteris Caune
|
cc40793fc7
|
Clear Check.alert_after when pausing a check.
|
6 years ago |
Pēteris Caune
|
93405cc286
|
Tag labels in "My Checks" page and SVG badges should ignore the "started" state.
|
6 years ago |
Pēteris Caune
|
481848a749
|
Add "/ping/<code>/start" API endpoint
|
6 years ago |
Pēteris Caune
|
440a143dd6
|
Add CORS support to API endpoints. Fixes #208
|
6 years ago |
Pēteris Caune
|
a7061fe6a5
|
Add "Get a List of Existing Integrations" API call
|
6 years ago |
Pēteris Caune
|
66bc5cd7c2
|
Validate channel identifiers as UUIDs
|
6 years ago |
Pēteris Caune
|
16d78db72e
|
Refactoring and a testcase for channels=None
|
6 years ago |
Andrew DeMaria
|
824729707e
|
Allow specific channel uuid to be specified in create/update check api
|
6 years ago |
Pēteris Caune
|
432e592e44
|
Add read-only API key support
|
6 years ago |
Pēteris Caune
|
182f9e1109
|
Refactor API key checking code
|
6 years ago |
Pēteris Caune
|
5cf6f1b51e
|
Merge Check.get_status() and Check.in_grace_period() into one.
This avoids duplicate calls to Check.get_grace_start() in several places.
|
7 years ago |
Pēteris Caune
|
3fc84ca0ff
|
Foundation for "fail" pings (cc: #151)
|
7 years ago |
Pēteris Caune
|
ef6e1870d9
|
Preliminary Django 2 support
|
7 years ago |