added api intro to readme
This commit is contained in:
parent
342d0bdd02
commit
9658ed8422
23
README.md
23
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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue