ckanaction

resource_view_update

PUT
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.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
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

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