Actions39
- Datastore Create
- Datastore Search
- Datastore Upsert
- Group Activity List
- Group Create
- Group Delete
- Group Member Create
- Group Member Delete
- Group Package Show
- Group Patch
- Group Purge
- Group Show
- Group Update
- Organization Create
- Organization Delete
- Organization List
- Organization Member Create
- Organization Member Delete
- Organization Patch
- Organization Purge
- Organization Show
- Organization Update
- Package Activity List
- Package Create
- Package Delete
- Package List
- Package Patch
- Package Search
- Package Show
- Package Update
- Recently Changed Packages Activity List
- Resource Create
- Resource Patch
- Resource Search
- Resource Show
- Resource Update
- Status Show
- Tag List
- User List
Resource Patch
AI-generatedSummary
Patch selected metadata on an existing CKAN resource. Supply the CKAN instance URL and resource ID, then set any resource fields to update; omitted fields are left unchanged.
Inputs
- CKAN URL (required) — Base URL of the CKAN instance, such as https://demo.ckan.org.
- Id (required) — Unique ID of the resource to patch.
- Name — New display name for the resource.
- Description — New description for the resource.
- Format — New file format label, such as CSV, XLSX, or GeoJSON.
- Url — New URL for the resource.
Output shape
One item per input item, containing the CKAN result in json.data and json.success on success.
Requires CKAN API credentials with a token. The node sends a POST request to CKAN's resource_patch action; with Continue On Fail enabled, failed items instead contain a json.error message.
Examples
Example 1: Change the name and format of a resource while keeping its description and URL unchanged.
Set the resource ID, Name, and Format; leave Description and Url empty or unset.