SaaS CMS has officially launched! Learn more now.

Content Delivery API - Search under parent and other Queries

Vote:
 

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:

  1. However I want to return the above data below a specific Parent page and also ignore pages in the recycle bin.
    1. UPDATE: Ive figured this out: filter=parentLink/id eq 4449
    2. https://localhost:44353/api/episerver/v2.0/search/content?top=5&orderby=startPublish&expand=TeaserImage&filter=parentLink/id eq 4449
  2. Alternatively is it possible to use my own API to return Content Delivery API reposnes based on my own custom Find queries?
#208527
Edited, Oct 25, 2019 16:17
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.