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
|
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
|
ef6e1870d9
|
Preliminary Django 2 support
|
7 years ago |
Pēteris Caune
|
a62350cdad
|
In the "List checks" API response, the "next_ping" date was incorrect for checks using cron syntax. Fixed.
|
7 years ago |
Pēteris Caune
|
47d93c2522
|
Stricter UUID validation.
|
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
|
c5568b6dd1
|
Move json validation code to a separate file, add support for array and enum, add tests.
|
8 years ago |
Pēteris Caune
|
af997446f3
|
Add support for authentication with X-Api-Key header.
|
8 years ago |
Pēteris Caune
|
5725a3a30a
|
Use six.string_types. This hopefully fixes python 2 test failures.
|
9 years ago |
Pēteris Caune
|
5d2edfa4a0
|
First stab at API, POST /api/v1/checks
|
9 years ago |
Pēteris Caune
|
947f686c61
|
Organize imports using isort.
|
9 years ago |
Pēteris Caune
|
969626c0fa
|
Validate UUID, more tests.
|
9 years ago |