Details
-
Bug
-
Resolution: Invalid
-
Critical
-
5.1-dev
-
None
Description
Trying to do REST call as described in spec, "1.3.2.11.2 List UrlAliases for location"
Trying to get UrlAliases for node 62. As you can see, server returns 'UrlAlias' as an empty array
#################### - Client request BEGIN - ######################### GET /api/ezp/v2/content/locations/1/2/62/urlaliases HTTP/1.1 Host: ezpublish5.rhel61.qa.ez.no:8080 User-Agent: eZ REST QA Tester Authorization: Basic YWRtaW46cHVibGlzaA== Accept: application/vnd.ez.api.UrlAliasRefList+json ##################### - Client request END - ########################## sending to target...done. Received from Target: ##################### - Target reply BEGIN - ########################## HTTP/1.1 200 OK Date: Wed, 20 Feb 2013 12:50:17 GMT Server: Apache/2.2.15 (Red Hat) X-Powered-By: PHP/5.3.3 Cache-Control: private Connection: close Transfer-Encoding: chunked Content-Type: application/vnd.ez.api.UrlAliasRefList+json a3 {"UrlAliasRefList":{"_media-type":"application\/vnd.ez.api.UrlAliasRefList+json","_href":"\/api\/ezp\/v2\/content\/locations\/1\/2\/62\/urlaliases","UrlAlias":[]}} ###################### - Target reply END - ###########################