Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Get List Views for an Object (Deprecated)

Get a collection of list views associated with an object.

This resource is deprecated. To get list views for an object, use Get List Views for an Object.

Note

Resource
1/ui-api/list-ui/${objectApiName}
  • objectApiName—A supported object, such as Account.
Available Version
43.0
HTTP Method
GET
Example

To retrieve all list views associated with accounts, make this request:

1GET /services/data/v67.0/ui-api/list-ui/Account

The request returns a list of all list views for the given object.

Request Parameters
Parameter Name Type Description Required or Optional Available Version
pageSize Integer The number of list records viewed at one time. The default value is 20. Value can be 1–2000. Optional 43.0
pageToken String A token that represents the page offset. To indicate where the page starts, use this value with the pageSize parameter. The maximum offset is 2000 and the default is 0. Optional 43.0
q String Query list views that contain certain key words. Optional 43.0
recentListsOnly Boolean Show only recently viewed lists. Optional 43.0
Response Body
List View Summary Collection