Overview
Production endpoint
Find a page by path
$ curl -i localhost:8000/api/wagtail/v2/pages/find/?html_path=/services/
HTTP/1.1 302 Found
Date: Mon, 19 Oct 2020 18:06:27 GMT
Server: WSGIServer/0.2 CPython/3.8.1
Content-Type: text/html; charset=utf-8
Location: http://localhost:8000/api/wagtail/v2/pages/4/
Vary: Accept, Cookie, Origin
Allow: GET, HEAD, OPTIONS
X-Frame-Options: SAMEORIGIN
Content-Length: 0
$ curl -i localhost:8000/api/wagtail/v2/pages/find/?html_path=/my-muni/
HTTP/1.1 302 Found
Date: Mon, 19 Oct 2020 18:07:03 GMT
Server: WSGIServer/0.2 CPython/3.8.1
Content-Type: text/html; charset=utf-8
Location: http://localhost:8000/api/wagtail/v2/pages/7/
Vary: Accept, Cookie, Origin
Allow: GET, HEAD, OPTIONS
X-Frame-Options: SAMEORIGIN
Content-Length: 0
Get a specific page detail
Path Parameters
Name
Type
Description
Find children of a page
Get pages matching a particular type and include the fields specific to this page type
Query Parameters
Name
Type
Description
Last updated
Was this helpful?