Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Content Delivery API - Search under parent and other Queries

$
0
0

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.

2. Alternatively is it possible to use my own API to return Content Delivery API reposnes based on my own custom Find queries?


Viewing all articles
Browse latest Browse all 9076

Trending Articles