Content
Search content with Lucene syntax
Changed onPerforms a comprehensive content search using Lucene query syntax. Supports filtering, sorting, pagination, and depth-based relationship loading. Returns structured JSON with search metadata and contentlet results.
Note: This is a wrapper around the former api/content/_search. Both paths remain valid for backwards compatibility, but the v1 path is preferred.
post/api/v1/content/_search
Request
- Base URLhttps://docs.anzworldline-solutions.com.au
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
rememberQueryboolean
Store query in session for Query Tool portlet
Request body
Example request
{
"query": "+contentType:AwazonBook +AwazonBook.featured:true +live:true +deleted:false",
"sort": "modDate desc",
"limit": 20,
"depth": 1,
"languageId": 1
}Response
Search completed successfully
Changes
- info
endpoint added
- info