From d90c9b8a10adc2718ca9292def851764f4d53bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Thu, 29 Nov 2018 18:42:50 +0100 Subject: [PATCH] put editor api in comment --- src/c3nav/editor/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/c3nav/editor/api.py b/src/c3nav/editor/api.py index 91537207..995c6825 100644 --- a/src/c3nav/editor/api.py +++ b/src/c3nav/editor/api.py @@ -35,6 +35,7 @@ class EditorViewSet(EditorViewSetMixin, ViewSet): /geometries/ returns a list of geojson features, you have to specify ?level= or ?space= /geometrystyles/ returns styling information for all geometry types /bounds/ returns the maximum bounds of the map + /{path}/ insert an editor path to get an API represantation of it. POST requests on forms are possible as well """ lookup_field = 'path' lookup_value_regex = r'.+'