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

Object relation(s) field value should provides REST id(s)

    XMLWordPrintable

    Details

    • Sprint:
      Castor Core S1

      Description

      The field value of the object relation and object relations fields in the REST provides only the regular content id instead of providing the REST id (the URL to the resource). For instance, for an object relation, the field value is:

      {       
          "id": 639,
          "fieldDefinitionIdentifier": "relation",
          "languageCode": "eng-GB",
          "fieldValue": {
              "destinationContentId": 84
          }
      }
      

      instead of 84, we should get the /api/ezp/v2/content/objects/84 together with the content type so that a REST client can browse to the targetted content.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                damien.pobel-obsolete@ez.no Damien Pobel (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: