Lists
Get metadata on Saved Views
Changed onPaginate 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
Request
- Base URLhttps://api.affinity.co
- URLhttps://api.affinity.co/v2/lists/{listId}/saved-views
- AuthHTTP bearer
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"
}
}Changes
- info
added
authenticationauthorizationbad-requestconflictmethod-not-allowednot-acceptablenot-foundnot-implementedrate-limitservertimeoutunprocessable-entityunsupported-media-typevalidationdiscriminator mapping keys to the/response property for the response status - info
added
bad-requestvalidationdiscriminator mapping keys to the/response property for the response status
- info