added api intro to readme

This commit is contained in:
Lorenz Padberg 2022-05-23 14:41:01 +02:00
parent 342d0bdd02
commit 9658ed8422
1 changed files with 23 additions and 0 deletions

View File

@ -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