ckanaction

tag_list

POST
tag_list

Return a list of the site's tags.

By default only free tags (tags that don't belong to a vocabulary) are returned. If the vocabulary_id argument is given then only tags belonging to that vocabulary will be returned instead.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
query?string

a tag name query to search for, if given only tags whose names contain this string will be returned

vocabulary_id?string

the id or name of a vocabulary, if give only tags that belong to this vocabulary will be returned

all_fields?boolean

return full tag dictionaries instead of just names (default: False)

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