Views

Update view

PATCH

You can update a specific Data Manager view (tab) with additional filters and other customizations. You will need to supply the view ID. You can find this using List views.

Path parameters

idstringRequired
View ID

Request

This endpoint expects an object.
data
objectOptional
Custom view data
project
integerOptional
Project 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
PATCH
1curl -X PATCH http://localhost:8080/api/dm/views/id/ \
2 -H "Authorization: Token <api_key>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
200Updated
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}