Lenses List Resource
Resource URL
/wave/lenses
Formats
JSON
Available Version
36.0
Available in Postman
To view and test a working example of this resource, see getLensCollection in Postman. For information about how to authenticate your org with Postman, see the CRM Analytics Rest API Quick Start.
Available Components
- Apex — Wave.Lenses.getLenses()
- Aura — <wave:sdk> listLenses()
HTTP Methods
GET POST
GET Request Parameters
Parameter Name | Type | Description | Required or Optional | Available Version |
---|---|---|---|---|
folderId | ID | Filters the results to include only the contents of a specific folder. The id can be the requesting user’s ID for items in the user’s private folder. | Optional | 36.0 |
page | String | A generated token that indicates the view of the lenses to be returned. | Optional | 36.0 |
pageSize | Integer | The number of items to be returned in a single page. Minimum is 1, maximum is 200, and default is 25. | Optional | 36.0 |
q | String | Search terms. Individual terms are separated by spaces. A wildcard is automatically appended to the last token in the query string. If the user’s search query contains quotation marks or wildcards, those symbols are automatically removed from the query string in the URI along with any other special characters. | Optional | 36.0 |
scope | ConnectWaveScopeTypeEnum | The type of scope to be applied to the returned collection. Valid values are:
|
Optional | 38.0 |
sort | ConnectWaveSortOrderTypeEnum | The type of sort order to be applied to the returned collection. Valid values are:
|
Optional | 38.0 |