CKAN icon

CKAN

Interact with the CKAN API

Resource Create

AI-generated

Summary

Creates a resource entry on an existing CKAN dataset by sending its URL and optional metadata to the CKAN API. Provide the CKAN instance URL and API credentials; the operation runs once for each incoming item.

Inputs

  • CKAN URL (required) — URL of the CKAN instance, such as https://demo.ckan.org.
  • Package Id (required) — Unique ID or name of the dataset to attach the resource to.
  • Url (required) — URL where the resource data can be accessed.
  • Name — Display name for the resource in the CKAN UI.
  • Description — Short description of the resource contents.
  • Format — Resource format label, such as CSV, JSON, PDF, or GeoJSON.

Output shape

One item per input item, containing the CKAN response result.

Successful items have json {"success": true, "data": }. With Continue On Fail enabled, failed items instead contain json {"error": ""}. This POST operation requires CKAN API credentials with permission to create resources.

Links

Discussion