Commit graph

1781 commits

Author SHA1 Message Date
Laura Klünder
d63113f0bb customlocation geometry schema should have default none 2023-12-03 19:39:34 +01:00
Laura Klünder
6e41beac3f more mapdata.map api v2 documentation updates 2023-12-03 19:35:19 +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
156e1a9436 fix the same thing again 2023-12-03 17:42:12 +01:00
Laura Klünder
635b9ab406 fix SourceSchema 2023-12-03 17:39:58 +01:00
Laura Klünder
210d079bb7 write more schema for routing api 2023-12-01 23:49:02 +01:00
Laura Klünder
6eaf087f71 update some dependencies 2023-12-01 01:56:23 +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
04f035bee5 missing import 2023-11-27 22:08:07 +01:00
Laura Klünder
a2d896fc69 ugly database fixes, needs improving 2023-11-27 22:07:40 +01:00
Laura Klünder
1f59e53d15 fix super old broken migration 2023-11-26 18:00:50 +01:00
Laura Klünder
8a8b20f22e make linter happy 2023-11-26 17:55:23 +01:00
Laura Klünder
f07b06ec60 add point and bounds to positionstatusschema 2023-11-24 18:05:59 +01:00
Laura Klünder
038fc89855 rename position endpoints 2023-11-24 17:37:33 +01:00
Laura Klünder
4e02145984 pro tip: fix bugs in all places 2023-11-24 17:25:34 +01:00
Laura Klünder
682522ace4 fix dynamiclocation position serialize 2023-11-24 17:24:31 +01:00
Laura Klünder
f7a4055c1c don't cache dynamiclocation results 2023-11-24 17:24:31 +01:00
Gwendolyn
550d77f774 dynamic position ids can contain upper-case letters 2023-11-24 17:22:27 +01:00
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
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
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
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
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
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