Pages

EiTV CLOUD supports adding HTML pages on the platform, using a page ID, you can get all information about this content.

method: GET
URL: /pages/ID.json

RETURN:
{
  "page": "page",
  "media":
    { 
      "id": "ID", 
      "name": "NAME",
      "security": "public|private|restricted",
      "thumb_url": "URL"
      "date": "DATE",
      "type": "archive",
      "time_ago_in_words": "FULL DATE",
      "views": NUMBER, 
      "impressions": NUMBER, 
      "last_view_time: NUMBER,
      "page_type": "html|page_item",
      "page_items": [
        "id": "ID",
        "page_item_text": "TEXT",
        "page_item_type": "carousel|slider",
        "page_item_values": {
        },
        "position": NUMBER,
        "type": "page_item",
        "collection": "page_items"        
      ],
      "type": "page",
      "collection": "pages"
    }
}

Following, we show how to get a specific content thumbnail:

URL: /pages/[ID]/retrieve?format=thumb
ID: format NUMBER-TEXT

To get the specific player (iframe) for a page, you should request:

URL: /pages/[ID]/play

ID: format NUMBER-TEXT

To get the carousel of page item ID:

URL: /carousel.json?page_item=ID
ID: format NUMBER-TEXT

RETURN:
{
  "page": "carousel",
  "medias": [
    {
      “MEDIA INFORMATION” 
    }
  ],
  "pagination": {
    "current": “NUMBER”, # Current page
    "last": true/false # If last page, true
  },
}
<< Previous topic Next topic >>