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

Modify Views to handle both ContentQuery and LocationQuery

    Details

    • Type: Story Story
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2015.07
    • Component/s: Platform > REST API v2
    • Labels:
      None

      Description

      The application/vnd.ez.api.ViewInput+xml media type must be changed to accept a "version=1.1" argument (either using the same handler, or with a new one).

      Version 1.1 accepts ContentQuery and LocationQuery instead of Query.

      The response, application/vnd.ez.api.View+xml, must be changed to include either Content or Location objects (see specifications).

        Issue Links

          Activity

          Hide
          Bertrand Dunogier added a comment -

          PR https://github.com/ezsystems/ezpublish-kernel/pull/1364.

          Implements what is described here.

          Version 1.1 is only used when explicitly given in the Content-Type header.

          Show
          Bertrand Dunogier added a comment - PR https://github.com/ezsystems/ezpublish-kernel/pull/1364 . Implements what is described here. Version 1.1 is only used when explicitly given in the Content-Type header.
          Hide
          Bertrand Dunogier added a comment - - edited

          Implementation PR merged to master@44b80ff.

          Show
          Bertrand Dunogier added a comment - - edited Implementation PR merged to master@44b80ff .
          Hide
          Bertrand Dunogier added a comment -
          Show
          Bertrand Dunogier added a comment - Test (behat) PR: https://github.com/ezsystems/ezpublish-kernel/pull/1399 .
          Hide
          Bertrand Dunogier added a comment -

          Behat scenario merged to master.

          Show
          Bertrand Dunogier added a comment - Behat scenario merged to master.
          Hide
          Rui Silva (Inactive) added a comment -

          Tested and approved by QA for master.

          Show
          Rui Silva (Inactive) added a comment - Tested and approved by QA for master.

            People

            • Assignee:
              Unassigned
              Reporter:
              Bertrand Dunogier
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: