From 9658ed8422717114444eebaf052a454340f4d15d Mon Sep 17 00:00:00 2001 From: Lorenz Padberg Date: Mon, 23 May 2022 14:41:01 +0200 Subject: [PATCH] added api intro to readme --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 7d934a41..8a1be72e 100644 --- a/README.md +++ b/README.md @@ -89,3 +89,26 @@ npm install #### Install the tailwind css Plugin from Jetbrains + + + +## Wagtail API intro + +get all pages: + + http://localhost:8000/api/v2/pages/ + +get Analyse Circle (the one with the most demo data) + + http://localhost:8000/api/v2/pages/?title=Analyse + + +Get Circles only + + http://localhost:8000/api/v2/pages/?type=learnpath.Circle + +Get All Contents from that circle: + + http://localhost:8000/api/v2/pages/?child_of=11 + +