POST

Search Contents


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a list of all translation content associated with a site that matches the search query, with optional data aggregation.

Note that this method allows you to retrieve all translation content for a site, regardless of which app created it.

Use this method to search translation content fields on a site for a given expression, and/or to perform data aggregations on a site's translation content fields.

For field support for filters, sorting, and free-text searching see Translation Content: Supported Filters, Sorting, and Search.

To learn more about working with the search query, see API Query Language and Sorting and Paging.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Wix Multilingual - Translation Content + Published Content Read
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/translation-content/v1/contents/search

Body Params
searchSearch

Search query and aggregation information.

Response Object
contentsArray <Content>

List of translation content.


pagingMetadataPagingMetadata

Details on the paged set of results returned.


aggregationDataAggregationData

Aggregation data.

Query Content
Request
cURL
Response
JSON
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?