public class SearchManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchManager.Builder |
| Modifier and Type | Field and Description |
|---|---|
Authentication |
auth |
NetworkSession |
networkSession |
| Modifier | Constructor and Description |
|---|---|
|
SearchManager() |
protected |
SearchManager(SearchManager.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
getAuth() |
NetworkSession |
getNetworkSession() |
MetadataQueryResults |
searchByMetadataQuery(MetadataQuery requestBody)
Create a search using SQL-like syntax to return items that match specific metadata.
|
MetadataQueryResults |
searchByMetadataQuery(MetadataQuery requestBody,
SearchByMetadataQueryHeaders headers)
Create a search using SQL-like syntax to return items that match specific metadata.
|
SearchResultsResponse |
searchForContent()
Searches for files, folders, web links, and shared files across the users content or across the
entire enterprise.
|
SearchResultsResponse |
searchForContent(SearchForContentHeaders headers)
Searches for files, folders, web links, and shared files across the users content or across the
entire enterprise.
|
SearchResultsResponse |
searchForContent(SearchForContentQueryParams queryParams)
Searches for files, folders, web links, and shared files across the users content or across the
entire enterprise.
|
SearchResultsResponse |
searchForContent(SearchForContentQueryParams queryParams,
SearchForContentHeaders headers)
Searches for files, folders, web links, and shared files across the users content or across the
entire enterprise.
|
public Authentication auth
public NetworkSession networkSession
public SearchManager()
protected SearchManager(SearchManager.Builder builder)
public MetadataQueryResults searchByMetadataQuery(MetadataQuery requestBody)
By default, this endpoint returns only the most basic info about the items for which the query matches. To get additional fields for each item, including any of the metadata, use the `fields` attribute in the query.
requestBody - Request body of searchByMetadataQuery methodpublic MetadataQueryResults searchByMetadataQuery(MetadataQuery requestBody, SearchByMetadataQueryHeaders headers)
By default, this endpoint returns only the most basic info about the items for which the query matches. To get additional fields for each item, including any of the metadata, use the `fields` attribute in the query.
requestBody - Request body of searchByMetadataQuery methodheaders - Headers of searchByMetadataQuery methodpublic SearchResultsResponse searchForContent()
public SearchResultsResponse searchForContent(SearchForContentQueryParams queryParams)
queryParams - Query parameters of searchForContent methodpublic SearchResultsResponse searchForContent(SearchForContentHeaders headers)
headers - Headers of searchForContent methodpublic SearchResultsResponse searchForContent(SearchForContentQueryParams queryParams, SearchForContentHeaders headers)
queryParams - Query parameters of searchForContent methodheaders - Headers of searchForContent methodpublic Authentication getAuth()
public NetworkSession getNetworkSession()