ckanaction

package_relationship_create

Create a relationship between two datasets (packages).

You must be authorized to edit both the subject and the object datasets.

POST
package_relationship_create

Authorization

apiTokenHeader
Authorization<token>

CKAN API token

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

curl -X POST "http://localhost:5000/api/3/action/package_relationship_create" \  -H "Content-Type: application/json" \  -d '{}'