ckanaction

package_autocomplete

POST
package_autocomplete

Return a list of datasets (packages) that match a string.

Datasets with names or titles that contain the query string will be returned.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
q?string

the string to search for

limit?integer

the maximum number of datasets to return (default: 10)

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