34 Commits (4c79021f256d2cdf74b72ce4e3a85d8a2324cb75)

Author SHA1 Message Date
  Pēteris Caune c0af2ac7b9
Fix tests 3 years ago
  Pēteris Caune d48b95c902
Improve tests to cover @csrf_exempt usage 3 years ago
  Pēteris Caune 5b9008e321
Implement alternative ping URLs, WIP 3 years ago
  Pēteris Caune 4587b45cab
Add more tests for hc.api.views.create_check 4 years ago
  Pēteris Caune 7534f1856f
Add testcases for setting channels in the "Create Check" API call 4 years ago
  Pēteris Caune b64c8d1cb8
API support for setting the allowed HTTP methods for making ping requests 4 years ago
  Pēteris Caune c13f65e118
Grammar and style fixes. 4 years ago
  Pēteris Caune e424176a1f
Remove mentions of "whitelist" 4 years ago
  Pēteris Caune 461ef5e088
Paused ping handling can be controlled via API. Fixes #376 4 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 5e051d53f8
Validate channel identifiers before creating/updating a check. Fixes #335 5 years ago
  Pēteris Caune cdfc9840a7
Source formatted with Black 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 c08f02ab7f
Drop Profile.api_key and Profile.api_key_readonly (both are stored with Project now) 6 years ago
  Pēteris Caune 965998df18
Fix tests. 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 440a143dd6
Add CORS support to API endpoints. Fixes #208 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 d661839e32
Don't serialize POST payload to JSON, Django's TestClient will do that for us. 6 years ago
  Pēteris Caune 166115ebfb Allow setting 30 day timeouts and grace times through API. 7 years ago
  Pēteris Caune 859a9ed735 Pricing page tweaks. Limit free accounts to 20 checks per account. 8 years ago
  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. 8 years ago
  Pēteris Caune a0241a9a74 Fix tests. 8 years ago
  Pēteris Caune b93336a44d API support for cron syntax 8 years ago
  Pēteris Caune 52cd2a9c8e API rejects too long check names 8 years ago
  Pēteris Caune 22ac7e0517 Use a whitelist for allowed values in the `unique` field. 8 years ago
  Pēteris Caune a97f23190e More data in API responses. 8 years ago
  Pēteris Caune af997446f3 Add support for authentication with X-Api-Key header. 8 years ago
  Pēteris Caune 00d18e86bd Reduce query count for team lookups 9 years ago
  Pēteris Caune fdf9c607e5 Team Access, test cleanup 9 years ago
  Pēteris Caune 6efb822f95 When creating a check via API, optionally assign all channels. 9 years ago
  Pēteris Caune 5d2edfa4a0 First stab at API, POST /api/v1/checks 9 years ago