ckanaction

package_relationships_list

POST
package_relationships_list

Return a datset's relationships.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
id?string

the id or name of the first package

id2?string

the id or name of the second package

rel?string

relationship as string, see package_relationship_create() for the relationship types

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