ckanaction

resource_patch

Patch a resource.

The difference between the update and patch methods is that the patch will perform an update of the provided parameters, while leaving all other parameters unchanged, whereas the update methods deletes all parameters not explicitly provided in the data_dict.

PATCH
resource_patch

Authorization

apiTokenHeader
Authorization<token>

CKAN API token

In: header

Request Body

multipart/form-data

id?string

the id of the resource

package_id?string

id of package that the resource should be added to

url?string

url of resource

description?string
format?string
hash?string
name?string
resource_type?string
mimetype?string
mimetype_inner?string
cache_url?string
size?integer
created?string
last_modified?string
cache_last_updated?string
upload?file
Formatbinary
curl -X PATCH "http://localhost:5000/api/3/action/resource_patch"