Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22412

[REST API] get url aliases list not retrieving the list

    XMLWordPrintable

Details

    Description

      Doing an authorized request to:

      GET /content/locations/<location-path>/urlaliases
      Accept: application/vnd.ez.api.UrlAliasRefList+json
      

      Will always return an empty UrlAlias list:

      
          {
             "UrlAliasRefList":
             {
                 "_media-type": "application/vnd.ez.api.UrlAliasRefList+json",
                 "_href": "/api/ezp/v2/content/locations/2/1264/urlaliases",
                 "UrlAlias":
                 [
                 ]
             }
          }
      

      Steps:

      1. create an object (ex: article)
      2. create a new UrlAlias for it
      3. make a request equal to the above example
      4. verify that the UrlAlias is not returned

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcos.loureiro-obsolete@ez.no Marcos Loureiro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: