Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1918 - 1920 of 2152)

Ticket Resolution Summary Owner Reporter
#1500 fixed Slug API calls tidy up dread dread

Reported by dread, 2 years ago.

Description
  • API call documented but don't exist any more: dataset create_slug
  • API call not documented but exists: is_slug_valid
  • API call not documented, badly sited in API and using custom code in controller (not logic layer): /package/autocomplete
#1504 fixed Action API given blank data causes exception dread dread

Reported by dread, 2 years ago.

Description

This is what caused the exception:

curl http://localhost:5000/api/action/package_search -d='{"q": "osm"}'

The problem is the content-type is formencoding, the '=' is the first character of the request, and so internally the data_dict is set to ' ', which needs to be a dictionary.

#1505 fixed SearchError and SearchQueryError cause exception in Action API dread dread

Reported by dread, 2 years ago.

Description

This query caused ckan to except because ckan/controllers/api.py doesn't catch SearchError? and SearchQueryError?:

curl http://localhost:5000/api/action/package_search -d '{"sort": "metadata_modified"}'
Note: See TracQuery for help on using queries.