Web Services, render response by javascript


#1

Hi, we was used pimcore as default website, but we need additional website and as we understand we can use Web Services for get our content by rest api from main site,
so question, how we should render content, i mean indecies (sorting)
as example
Get Document By ID: http://YOUR-DOMAIN/webservice/rest/document/id/1281?apikey=[API-KEY]

How i can understand what contend needed rendering and what no, and how i can understand how sort content?

{
  "type": "areablock",
  "value": {
    "indices": [
      [
        "4",
        "headlines"
      ],
      [
        "3",
        "wysiwyg"
      ],
      [
        "1",
        "standard-teaser-row"
      ],
      [
        "2",
        "featurette"
      ]
    ],
    "current": 0,
    "currentIndex": null,
    "options": null,
    "name": "content",
    "realName": null,
    "inherited": false
  },
  "name": "content"
},