Lists
Get metadata on Saved Views
Paginate through all Saved Views you have access to view for a specific List. Returns basic information about each Saved View, including name, type, and creation date.
get/v2/lists/{listId}/saved-views
Path parameters
listIdinteger required
List ID
Query parameters
cursorstring
Example:ICAgICAgYmVmb3JlOjo6Nw
Cursor for the next or previous page
limitinteger
Example:100
Number of items to include in the page
Response
OK
Example response
{
"data": [
{
"id": 42,
"name": "Deal Pipeline Status",
"type": "board",
"createdAt": "2023-06-15T00:00:00Z"
}
],
"pagination": {
"prevUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgYmVmb3JlOjo6Nw",
"nextUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgIGFmdGVyOjo6NA"
}
}