ckanaction

user_show

Return a user account.

Either the id should be passed or the user should be logged in.

POST
user_show
Authorization<token>

CKAN API token

In: header

id?string

the id or name of the user

include_datasets?boolean

include a list of datasets the user has created. If it is the same user or a sysadmin requesting, it includes datasets that are draft or private (default: False, limit: 50)

include_num_followers?boolean

include the number of followers the user has (default: False)

include_password_hash?boolean

include the stored password hash (sysadmin only, default: False)

include_plugin_extras?boolean

include the internal plugin extras object (sysadmin only, default: False)

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