Commit graph

3922 commits

Author SHA1 Message Date
Laura Klünder
7e6b55bb6b add newapi_stats decorator 2023-11-24 14:55:45 +01:00
Laura Klünder
9eda7ee232 remove API todos that are done, remove some duplicate caching code 2023-11-24 14:39:59 +01:00
Laura Klünder
292c152473 add API caching, OMG?! 2023-11-24 14:35:59 +01:00
Gwendolyn
687c5b4276 fix api model to use None instead of Literal[None] 2023-11-24 14:19:23 +01:00
Laura Klünder
c04895dcff fix summary/description of get_position endpoint 2023-11-24 01:50:51 +01:00
Gwendolyn
a408fecbd8 fix externalDocs 2023-11-24 01:29:00 +01:00
Gwendolyn
a77d234f7b update ota messages 2023-11-24 01:29:00 +01:00
Laura Klünder
2799a9e530 add missing location geometry endpoints 2023-11-24 01:23:07 +01:00
Laura Klünder
62f53d7847 some typo fixes in the new API 2023-11-24 01:08:40 +01:00
Laura Klünder
715d6c2f11 API for querying positions 2023-11-24 01:05:38 +01:00
Laura Klünder
9c6d7989c0 _retrieve() → _by_id() 2023-11-23 23:24:15 +01:00
Laura Klünder
93883355b0 add dynamiclocation to API 2023-11-23 23:22:30 +01:00
Laura Klünder
ecca514118 add location by slug endpoints 2023-11-23 22:44:24 +01:00
Gwendolyn
9eeb106b6e mitigate weird pydantic bug that tries to hash dicts in unions 2023-11-23 22:39:39 +01:00
Laura Klünder
1e3094cf8b more fixes yay 2023-11-23 21:21:55 +01:00
Laura Klünder
dcf0811d1c fix again? 2023-11-23 21:20:14 +01:00
Laura Klünder
a3566fe555 this fix things? 2023-11-23 21:19:08 +01:00
Laura Klünder
505a59091c enjoy an awesome broken display viewpoint 2023-11-23 21:11:31 +01:00
Laura Klünder
389e9ee52b rename _detail to _retrieve in API v2 2023-11-23 19:37:02 +01:00
Laura Klünder
a251179600 display 0xffff distance correctly 2023-11-23 19:32:52 +01:00
Laura Klünder
6caaf17205 show firmware details from image header 2023-11-23 19:16:57 +01:00
Laura Klünder
92e3c2a583 request fragment → request fragments 2023-11-23 19:03:20 +01:00
Laura Klünder
a68c5d7e44 update mesh messages 2023-11-23 18:56:33 +01:00
Laura Klünder
fc53e3197d remove geometry from serialized data using filter parameter 2023-11-23 18:41:46 +01:00
Laura Klünder
3fd5c49926 some better API annotations 2023-11-23 18:16:56 +01:00
Laura Klünder
87e5e56ea1 add slim and full location list endpoint, geometry optional 2023-11-23 18:10:31 +01:00
Laura Klünder
8b47a89865 first locations endpoint might… be… something? 2023-11-23 16:37:25 +01:00
Laura Klünder
d84226dc5c fix get_locator_beacon 2023-11-23 15:02:21 +01:00
Laura Klünder
995f17c138 update response schemas for mapdata api 2023-11-19 16:59:51 +01:00
Laura Klünder
141ab7489e add more mapdata endpoints, completing the mapdata API tag 2023-11-19 16:48:40 +01:00
Laura Klünder
846101ea37 add more mapdata API endpoints 2023-11-19 16:36:46 +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
7447537c4a don't refer to old auth in mesh newapi 2023-11-19 14:56:00 +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
f96e916184 update filter descriptions 2023-11-18 22:45:24 +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
f89d069ab1 read and parse image binary header during firmware upload 2023-11-17 19:04:43 +01:00
Laura Klünder
14e39b2377 update firmware api with more endpoints and parse firmware image headers 2023-11-17 18:56:47 +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
Jenny Danzmayr
33ce843d33 added docker build script 2023-11-14 16:09:18 +01:00
Jenny Danzmayr
809dd570fe updated order of dockerfile ARGs 2023-11-12 19:38:49 +01:00