Commit graph

3932 commits

Author SHA1 Message Date
Gwendolyn
ac9f51ff38 typo neaby -> nearby 2023-11-24 17:22:27 +01:00
Laura Klünder
3fcb58b4e3 add add_search to api schema 2023-11-24 16:53:56 +01:00
Laura Klünder
226ddc92a1 re-add text on how to access your position 2023-11-24 16:45:35 +01:00
Laura Klünder
74f78ab95e remove unneeded second cache layer for _location_list 2023-11-24 16:33:57 +01:00
Laura Klünder
62cffe9644 how about some bugfixing? 2023-11-24 16:31:39 +01:00
Laura Klünder
3f8e42d13e adding the missing files might be smart 2023-11-24 16:15:19 +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
914ed018f0 optimize imports 2023-11-24 15:47:28 +01:00
Laura Klünder
d6b9161345 add position update API endpoint and remove old one, also some more api tweaks 2023-11-24 15:42:48 +01:00
Laura Klünder
92ce608034 committing the missing file cause why not? 2023-11-24 14:56:23 +01:00
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