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 Update
AI-generatedSummary
Fully replace the metadata of a CKAN resource, including URL, format, and size, using the CKAN API.
Inputs
- id (required) — The unique ID of the resource to update.
- url (required) — The URL where the resource data can be accessed.
- name — Display name for the resource.
- description — Description of the resource.
- format — File format, e.g. "CSV", "JSON", "GeoJSON".
- mimetype — MIME type, e.g. "text/csv".
- size — File size in bytes.
Output shape
A single record containing the updated resource details and a success flag.
Requires a CKAN API token (POST method). All fields not provided revert to defaults.
Examples
Example 1: Update a specific resource's metadata, such as changing its name and description.
Set id, url, name, and description.