Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-1536

Implement new JSON schema for communication with StudioUI

    XMLWordPrintable

Details

    Description

      Rework communication with StudioUI to handle new logic. New data format should carry events:

      {
          "page": {
              "title": "",
              "layout": "1",
              "zones": [
                  {
                      "id": "first",
                      "name": "First zone",
                      "blocks": [
                          {
                              "id": "b-fbe1c411-5a5d-1e80-2ff3-1f9992094547",
                              "name": "Schedule",
                              "type": "schedule",
                              "ttl": 0,
                              "view": "schedule_hero",
                              "attributes": {
                                  "slots": [
                                      {
                                          "item": null
                                      }
                                  ],
                                  "events": [
                                      {
                                          "id": "sbe-4e2dd986-700b-3553-6d2f-64a36825daf2",
                                          "type": "itemAdded",
                                          "date": 1496404200,
                                          "item": {
                                              "id": "sbi-e6b7c3d6-4db2-ad9f-5af9-d15f663d9c3b",
                                              "additionDate": 1496404200,
                                              "contentInfo": {
                                                  "name": "dqwwq",
                                                  "contentId": 250,
                                                  "publishedDate": 1496133208000
                                              }
                                          }
                                      }
                                  ],
                                  "overflowBlockId": ""
                              }
                          }
                      ]
                  }
              ]
          }
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            maciej.kobus@ibexa.co Maciej Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: