Nanitor - Api

Only pages that have the root configured in appsettings under Headless:AllowedRoots are visible in api

Get list of all root pages
GetRoots

Get all child pages with properties. Good to create navigation
GetChildren?key=d0f68aeb-bc4d-4531-888b-160eaefd314f&WithProperties=true

Get all child pages with properties and Content. Good to use to build all the page with one query
Only properties that start with the alias "hc_" are fetched
GetChildren?key=d0f68aeb-bc4d-4531-888b-160eaefd314f&WithProperties=true&WithContent=true

Get single pages by key
GetPage?key=d0f68aeb-bc4d-4531-888b-160eaefd314f&WithProperties=true

Get ancestors or self with properties. Good to create breadcrumbs
GetAncestorsOrSelf?key=d0f68aeb-bc4d-4531-888b-160eaefd314f&WithProperties=true

Get single pages by route
GetPage?key=/umsoknir/&WithProperties=true

Get list of all Domains
GetDomains

Get list of all Languages
GetLanguages

Get list of all Translations
GetTranslations



Other parameters are Culture,AllowedContentTypes and ExceptContentTypes