organization_list
Return a list of the names of the site's organizations.
apiTokenHeaderAuthorization<token>CKAN API token
application/json- body
type?stringthe type of organization to list (default: 'group'), see docs for IGroupForm
sort?stringsorting of the search results. Default: "title asc" string of field name and sort-order. The allowed fields are 'name', 'package_count' and 'title'
limit?integerthe maximum number of organizations returned. Default: 1000 when all_fields=false unless set in site's configuration ckan.group_and_organization_list_max. Default: 25 when all_fields=true unless set in site's configuration ckan.group_and_organization_list_all_fields_max
offset?integerwhen limit is given, the offset to start returning organizations from
organizations?array<string>a list of names of the organizations to return, if given only organizations whose names are in this list will be returned
all_fields?booleanreturn organization dictionaries instead of just names. Only core fields are returned - get some more using the include_* options. Returning a list of packages is too expensive, so the packages property for each group is deprecated, but there is a count of the packages in the package_count property. (default: False)
include_dataset_count?booleanif all_fields, include the full package_count (default: True)
include_extras?booleanif all_fields, include the organization extra fields (default: False)
include_tags?booleanif all_fields, include the organization tags (default: False)
include_groups?booleanif all_fields, include the organizations the organizations are in
include_users?booleanif all_fields, include the organization users
curl -X POST 'http://localhost:5000/api/3/action/organization_list' \ -H 'Content-Type: application/json' \ -d '{}'