Commit graph

146 commits

Author SHA1 Message Date
Laura Klünder
34af60782c merge RangeLocator into Locator and modernize code 2023-12-07 02:21:46 +01:00
Gwendolyn
7862ec2765 raise APIKeyInvalid if no api key is provided 2023-12-05 15:36:58 +01:00
Laura Klünder
4491f68dc7 move api auth from authorization header to X-API-Key header 2023-12-04 23:07:45 +01:00
Laura Klünder
1a0c4e63f5 lots of small fixes and todo removals 2023-12-04 22:21:48 +01:00
Laura Klünder
8ac67ed014 don't scream at API docs readers 2023-12-04 19:32:11 +01:00
Laura Klünder
964574e535 more map api documentation improvements 2023-12-04 18:58:49 +01:00
Laura Klünder
4d57b81ad1 remove rest framework import 2023-12-04 16:19:34 +01:00
Laura Klünder
4be79776cb update BoundsSchema docs 2023-12-04 13:55:24 +01:00
Laura Klünder
87ef037421 more api docs and tweaks for auth and updates API 2023-12-04 13:46:32 +01:00
Laura Klünder
64088759f5 more API docs 2023-12-04 13:09:51 +01:00
Laura Klünder
e5e3a6b7e2 make redoc look prettier 2023-12-03 22:52:06 +01:00
Laura Klünder
ba4c2b7d0a rename newapi to api 2023-12-03 21:55:08 +01:00
Laura Klünder
caf23d053c goodbye django rest framework 2023-12-03 21:50:55 +01:00
Laura Klünder
0e65efcbbc lets group mapdata api v2 endpoints better and make sure descriptions are shown 2023-12-03 21:15:48 +01:00
Laura Klünder
ed94b81ecb routing is not a write operation 2023-12-03 20:06:16 +01:00
Laura Klünder
93f70fa0b8 add fetch_updates api v2 endpoint 2023-12-03 19:25:44 +01:00
Laura Klünder
828d781938 improve api documentation for redoc 2023-12-03 19:04:23 +01:00
Laura Klünder
3ece0418db provide both swagger and redoc 2023-12-03 18:46:02 +01:00
Laura Klünder
75b6d401ee remove unnecessary imports 2023-12-03 18:12:59 +01:00
Laura Klünder
12220823c3 missing import 2023-12-03 18:03:59 +01:00
Laura Klünder
bd7d2e9ffa introducing AnyGeometrySchema 2023-12-03 18:03:13 +01:00
Laura Klünder
cf765acc00 remove old api secret 2023-12-03 16:39:11 +01:00
Laura Klünder
5c203a7a2b editor geometries now available in new API 2023-12-03 16:37:05 +01:00
Gwendolyn
b6f3b8459f fix api secret valid until 2023-12-02 02:25:43 +01:00
Laura Klünder
152c9c2ee7 update some api endpoint summarys 2023-12-02 01:38:12 +01:00
Laura Klünder
29a1106e93 fix api secret auth (fixes #118) 2023-12-02 01:32:41 +01:00
Laura Klünder
7c12b649e3 add auth status api endpoint 2023-12-02 01:31:58 +01:00
Laura Klünder
bf2dd3b33b add editor API stubs 2023-12-01 22:59:57 +01:00
Laura Klünder
9738ea23ba missing migration 2023-12-01 20:57:47 +01:00
Laura Klünder
6205ac1431 remove old mesh/firmware API 2023-11-30 23:09:32 +01:00
Laura Klünder
7401c00216 some API fixes 2023-11-30 22:45:36 +01:00
Laura Klünder
43791583e0 new api secret system, multiple api secrets, limited scopes, etc... 2023-11-30 22:02:40 +01:00
Laura Klünder
a7a40dcf04 add new routing/positioning api routes without any implementation 2023-11-24 16:13:16 +01:00
Laura Klünder
62f53d7847 some typo fixes in the new API 2023-11-24 01:08:40 +01:00
Laura Klünder
505a59091c enjoy an awesome broken display viewpoint 2023-11-23 21:11:31 +01:00
Laura Klünder
f43d458fc4 add tons of mapdata endpoints, enhance documentation and operation IDs 2023-11-19 15:34:08 +01:00
Laura Klünder
0f43274e33 some more documentation in the API and in the API code 2023-11-19 00:12:10 +01:00
Laura Klünder
0cf5a2aadf tentative generic mapdata api functions, still with quite a few todos 2023-11-18 22:39:10 +01:00
Laura Klünder
b2aa76ba2d update django-ninja, including pydantic v2 and add provisional level api 2023-11-18 21:29:35 +01:00
Laura Klünder
2d97f9bb87 add firmware upload API 2023-11-17 16:42:27 +01:00
Laura Klünder
44b6cc61e6 add new firmware_upload api definition, not implemented yet 2023-11-15 14:54:21 +01:00
Laura Klünder
a13276f259 surprise! 2023-11-15 14:05:40 +01:00
Laura Klünder
da4631b715 what if api secret auth actually… did the right thing? just kidding… unless 2023-11-15 14:04:07 +01:00
Laura Klünder
f9e5af937e more missing code, hurray 2023-11-15 14:03:22 +01:00
Laura Klünder
f2f209c5da add missing api/exceptions.py 2023-11-15 13:57:15 +01:00
Laura Klünder
ead9bb9298 fix EnumSchemaByNameMixin 2023-11-15 13:54:11 +01:00
Laura Klünder
aa5df7de7f update api endpoints to use new auth 2023-11-14 18:29:21 +01:00
Laura Klünder
0fe724e3e1 add v2 session auth api 2023-11-14 17:55:17 +01:00
Gwendolyn
565404598b fix import order 2023-11-11 13:30:12 +01:00
Laura Klünder
f5c33724dc start adding new ninja-based OpenAPI-compatible API v2, starting with mesh 2023-11-11 03:01:15 +01:00