Skip to Content
Open Retainer
Views

Read a saved view

GET
/v1/views/{id}

Requires the read scope.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A workspace API key.

Path Parameters

id*string

Retainer identifier.

Formatuuid

Response Body

Successful response.

application/json
  1. response
id*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
object*string
name*string
kind*string
Value in"table""board""calendar"
visibility*string
Value in"workspace""private"
position*number
filter*|null
sort*array<>|null
columns*|null
groupBy*string|null
groupAggregate*|null
hiddenGroups*array<string|null>
dateField*string|null
createdBy*
updatedBy*
createdAt*string
Formatdate-time
updatedAt*string
Formatdate-time
issues*array<string>
Example Request
curl -X GET 'https://retainer.tamloot.cc/v1/views/d2c0648c-2994-4f16-bdf1-a0136be6037d' \  -H 'Authorization: Bearer YOUR_WORKSPACE_API_KEY'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "object": "string",  "name": "string",  "kind": "table",  "visibility": "workspace",  "position": 0,  "filter": {    "property1": null,    "property2": null  },  "sort": [    {      "field": "string",      "direction": "asc"    }  ],  "columns": {    "order": [      "string"    ],    "widths": {      "property1": -9007199254740991,      "property2": -9007199254740991    },    "aggregates": {      "property1": "countEmpty",      "property2": "countEmpty"    }  },  "groupBy": "string",  "groupAggregate": {    "field": "string",    "op": "countEmpty"  },  "hiddenGroups": [    "string"  ],  "dateField": "string",  "createdBy": {    "via": "string",    "type": "user",    "id": "string",    "name": "string"  },  "updatedBy": {    "via": "string",    "type": "user",    "id": "string",    "name": "string"  },  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "issues": [    "string"  ]}