Views

Get view details

GET

Get the details about a specific Data Manager view (tab). You will need to supply the view ID. You can find this using List views.

Path parameters

idstringRequired
View ID

Response

This endpoint returns an object
project
integer
Project ID
id
integerOptional
filter_group
objectOptional
data
map from strings to anyOptional
Custom view data
ordering
map from strings to anyOptional
Ordering parameters
selected_items
map from strings to anyOptional
Selected items
user
integerOptional
User who made this view
GET
1curl http://localhost:8080/api/dm/views/id/ \
2 -H "Authorization: Token <api_key>"
200Retrieved
1{
2 "project": 1,
3 "id": 1,
4 "filter_group": {
5 "filters": [
6 {
7 "column": "column",
8 "type": "type",
9 "operator": "operator"
10 }
11 ],
12 "conjunction": "conjunction",
13 "id": 1
14 },
15 "data": {
16 "data": {
17 "key": "value"
18 }
19 },
20 "ordering": {
21 "ordering": {
22 "key": "value"
23 }
24 },
25 "selected_items": {
26 "selected_items": {
27 "key": "value"
28 }
29 },
30 "user": 1
31}