ckanaction

package_collaborator_list_for_user

POST
package_collaborator_list_for_user

Return the list of all datasets the user is a collaborator in.

Note: This action requires the collaborators feature to be enabled with the ckan.auth.allow_dataset_collaborators configuration option.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
id?string

the id or name of the user

capacity?string

if provided, only datasets where the user has this capacity are returned

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