Ive a few queries about the Content Delivery API (which needs some better documentation and examples)
I want to use the Content Delivery API with Find to search for pages of a specific type under a known Parent.
The base API call is: GET /api/episerver/v2.0/search/content
My API call below returns top 5 MyStandardPage pages ordered by PublishDate:
../api/episerver/v2.0/search/content?filter=ContentType/any(t:t eq 'MyStandardPage')&top=5&orderby=startPublish
Queries:
- However I want to return the above data below a specific Parent page and also ignore pages in the recycle bin.
- UPDATE: Ive figured this out: filter=parentLink/id eq 4449
- https://localhost:44353/api/episerver/v2.0/search/content?top=5&orderby=startPublish&expand=TeaserImage&filter=parentLink/id eq 4449
- Alternatively is it possible to use my own API to return Content Delivery API reposnes based on my own custom Find queries?