×

You're using an outdated browser

For a better experience, keep your browser up to date. Check here for the latest version.

Manual

SearchRequest

Thomas Walker

Thomas Walker Last update: Aug 7, 2017

Methods

Name Type Description
$searchRequest.contentTypes List<String>

The content types to search for, as specified by the HTTP search request. HTTP parameter name: t (may be defined multiple times). Possible parameter values:

  • page
  • blog_post
  • user
  • status
  • attachment

$searchRequest.labels List<String>

The labels to search for, as specified by the HTTP search request. HTTP parameter name: l (may be defined multiple times)

$searchRequest.maxResultsPerPage int

The maximum results per page, as specified by the HTTP search request. Useful for pagination. HTTP parameter name: max.

$searchRequest.queryString String

The query string that is used for the search, as specified by the HTTP search request. HTTP parameter name: q.

$searchRequest.repositoryKeys List<String>

The space keys to search in, as specified by the HTTP search request. HTTP parameter name: s (may be defined multiple times)

$searchRequest.startIndex int

The start index, as specified by the HTTP search request. Useful for pagination. HTTP parameter name: start.

Note

Please note that search option for labels doesn't work at the moment. We are tracking the issue here: VPRT-523

2x2.9
We use cookies to create a secure and effective browsing experience for our website visitors and to understand how you use our site (i.e. Google Analytics). For more information: click here.
Ok