Commit graph

133 commits

Author SHA1 Message Date
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
Laura Klünder
aa2df8d3c5 add api_secret auth and (mostly) finalize firmware endpoint 2023-11-05 19:09:36 +01:00
Laura Klünder
9e9e41fb3f store firmwares and add firmware api stub 2023-11-05 18:47:20 +01:00
Laura Klünder
fb4da7c768 satisfy linter and type checker in many places 2022-04-03 20:19:41 +02:00
Laura Klünder
9d21f8c933 migrate to django's native JSONField 2022-04-03 19:40:12 +02:00
Laura Klünder
03437a3a40 update dependencies and upgrade code for django where needed/possible 2022-04-03 16:34:11 +02:00
Laura Klünder
7e56927a72 api endpoint to get the current dynamic position 2019-12-27 20:03:32 +01:00
Laura Klünder
6f8f725acc update dependencies 2019-12-09 22:09:57 +01:00
Maurice Meyer
57dde86d8a Don’t crash on empty content type 2019-03-01 16:34:58 +01:00
Laura Klünder
1594e09189 editor API: activate, edit, propose, accept, etc… 2018-11-29 01:30:53 +01:00
Laura Klünder
671d138d03 some more stuff for the editor API 2018-11-29 00:37:49 +01:00
Laura Klünder
3461bb4574 Disable Django REST Framework serializers 2018-11-26 22:52:26 +01:00
Laura Klünder
0d8b54527c fix some bugs in session api and add a signal to cleanup tokens after password change 2018-11-23 22:45:45 +01:00
Laura Klünder
cdb14a1e2c Session API 2018-11-23 22:28:04 +01:00