Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (430 - 432 of 2152)

Ticket Resolution Summary Owner Reporter
#1310 fixed API GET of a revision that has been approved causes exception dread dread

Reported by dread, 3 years ago.

Description

e.g. this particular revision on ckan.net: http://ckan.net/api/rest/revision/9601fbcb-03a7-4ebc-981d-5aa16df4852c (most others have not been approved) Causes 500 error.

#1312 invalid Particular characters in JSON cause exception creating package on API dread florian.marienfeld@…

Reported by florian.marienfeld@…, 3 years ago.

Description

From Florian:

I am having trouble with the characters "=&;".
if they occur e.g. in the title of a package, I get a 400-Bad-Request
when I try to register a package by POSTing to ckan/rest/api/package

However, when I PUT the same package as an edit to
ckan/rest/api/package/existing_package, it works and the title shows
correctly on the front end and API.

Reproduced

(pyenv-ckan)dread@dread-laptop:~/hgroot/ckan$ curl -i http://localhost:5000/api/rest/package -d '{"name": "test3", "title": "Test &"}' -H "Authorization:tester" 
HTTP/1.0 400 Bad Request
Server: PasteWSGIServer/0.5 Python/2.6.5
Date: Tue, 06 Sep 2011 14:09:31 GMT
Pragma: no-cache
Cache-Control: no-cache
Content-Type: application/json;charset=utf-8
Content-Length: 87

"Bad request - JSON Error: Unterminated string starting at: line 1 column 27 (char 27)"
#1315 fixed Document /api/action dread dread

Reported by dread, 3 years ago.

Description

We need some documentation for the /api/action. Even though it's beta and subject to change it would be good to have a guide.

Note: See TracQuery for help on using queries.