ckanaction

package_create

Create a new dataset (package).

You must be authorized to create new datasets. If you specify any groups for the new dataset, you must also be authorized to edit these groups.

Plugins may change the parameters of this function depending on the value of the type parameter, see the IDatasetForm plugin interface.

POST
package_create

Authorization

apiTokenHeader
Authorization<token>

CKAN API token

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

curl -X POST "http://localhost:5000/api/3/action/package_create"