ckanaction

resource_view_update

Update a resource view.

To update a resource_view you must be authorized to update the resource that the resource_view belongs to.

PUT
resource_view_update

Authorization

apiTokenHeader
Authorization<token>

CKAN API token

In: header

Request Body

application/json

id?string

the id of the resource_view to update

resource_id?string

id of the resource

title?string

the title of the view

description?string

a description of the view

view_type?string

type of view

config?string

(JSON string) options necessary to recreate a view state

curl -X PUT "http://localhost:5000/api/3/action/resource_view_update" \  -H "Content-Type: application/json" \  -d '{}'