ckanaction

resource_view_create

POST
resource_view_create

Creates a new resource view.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
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 POST 'http://localhost:5000/api/3/action/resource_view_create' \  -H 'Content-Type: application/json' \  -d '{}'