Sites Class

Search an Experience Cloud site.

ConnectApi

These methods are for Sites. All methods are static.

Search an Experience Cloud site.

54.0

54.0

No

public static ConnectApi.SiteSearchResult searchSite(String siteId, String queryTerm, String pageToken, Integer pageSize, String language)

siteId

Type: String

ID for the Experience Cloud site.

queryTerm

Type: String

White-space separated words used to search for relevant content. Provide a maximum of 1024 characters, composed of up to 32 words and white spaces. Logical operators aren’t supported.

pageToken

Type: String

Specifies the base64 encoded page token. Page tokens are returned as part of the response. If unspecified, the first page is returned.

pageSize

Type: Integer

Specifies the number of items per page. Valid values are from 1 through 240. If you pass in null, the default size is 25.

language

Type: String

Language locale for the context user. If unspecified or if the specified language locale isn’t available, the default value is en_US.

Type: ConnectApi.SiteSearchResult