|
|
|
####### 4.0.14 => Empty XML returns
$ curl http://QB4/rest/version 4.0.14 $ curl http://QB4/rest/configurations?parent_id=1 <?xml version="1.0" encoding="UTF-8"?> <list/> ####### 3.1.53 => 401 Error returns (This is preferred action) $ curl http://QB3/rest/version $ curl http://QB3/rest/configurations?parent_id=1 <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>Error 401 UNAUTHORIZED</title> </head> <body><h2>HTTP ERROR 401</h2> <p>Problem accessing /rest/configurations. Reason: <pre> UNAUTHORIZED</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/> <br/> ... In QB4, the configurations result API has been modified to return accessible list of configurations. if some configurations under the tree is not accessible, they will be filtered off. This behaves just like the dashboard (where the tree is filtered off based on user permissions). If no configurations are authorized, an empty list will be simply returned. This is changed due to feedback of some other users.
|
http://XXX/rest/latest_builds?parent_configuration_id=1&recursive=true
I tested with QB4 and 401 will be returned in case of unauthorized access. Please re-open this issue if you still observe this behavior.