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

Rest API when using application/vnd.ez.api.Root+xml returns & when it should return &

    Details

      Description

      When using a REST client to fetch the list of root resources it returns

      <contentByRemoteId media-type="" href="/api/ezp/v2/content/objects{?remoteId}"/>
      

      When actually it should return

      <contentByRemoteId media-type="" href="/api/ezp/v2/content/objects?{&amp;remoteId}"/>
      

      As specified in spec

        Issue Links

          Activity

          Hide
          Jérôme Vieilledent (Inactive) added a comment -

          Hi

          Actually, it seems that it is the spec which is wrong here, as we're presenting an entire optional query component (see URI template RFC).
          So implementation looks OK and spec outdated. An improvement issue has already been reported: EZP-22276.

          Show
          Jérôme Vieilledent (Inactive) added a comment - Hi Actually, it seems that it is the spec which is wrong here, as we're presenting an entire optional query component (see URI template RFC ). So implementation looks OK and spec outdated. An improvement issue has already been reported: EZP-22276 .
          Hide
          Jérôme Vieilledent (Inactive) added a comment -

          Closing in favor of EZP-22276

          Show
          Jérôme Vieilledent (Inactive) added a comment - Closing in favor of EZP-22276

            People

            • Assignee:
              Unassigned
              Reporter:
              Pedro Resende (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: