GET /site/v1/pages/{pageId}/skyline-content

List the skyline page items available on a published www.ft.com page.

Request

HTTP Request

GET http://api.ft.com/site/v1/pages/pageId/skyline-content

Parameters

Parameter NameValueDescription
pageId string The id of the page.
feature.blogposts string Allows to enable or disable filtering of blogPosts from the response. Valid values are ‘on’ or ‘off’.

Request Body

Do not supply a request body with this method.

Response

HTTP Statuses

Http Status Description
200 Ok Page exists and list of associated skyline page items has been returned
404 Not Found Page does not exist
410 Gone Page no longer exists

200 OK - Page exists and list of associated skyline page items has been returned

If successful, this method returns a list of page item resources, a subset of the page resource and the name of the page item list (e.g. skyline-content) in a standard api response body.

{
  “requestUrl”: string,
  “total”: number,
  “page”: {
        “id”: string,
        “title”: string,
        “apiUrl”: string,
        “webUrl”: string
  },
  “pageItemsListName”: string,
  “pageItems”: [
    {
      “title”: {
        “title”: string
      },
      “lifecycle”: {
        “initialPublishDateTime”: datetime,
        “lastPublishDateTime”: datetime
      },
      … see page item resource representation for full details …
    }
  ]
}

404 Not Found - Page does not exist

If the page does not exist this method returns a standard api error response body

{
  “requestUrl”: string,
  “message”: string
}

410 Gone - Page no longer exists

If the page does not exist this method returns a standard api error response body

{
  “requestUrl”: string,
  “message”: string
}

Example

E.g. Retrieve the skyline content from the UK Home Page

GET http://api.ft.com/site/v1/pages/4c499f12-4e94-11de-8d4c-00144feabdc0/skyline-content?apiKey=yourApiKey
{
  “requestUrl”: “http://api.ft.com/site/v1/pages/4c499f12-4e94-11de-8d4c-00144feabdc0/skyline-content",
  “total”: 10,
  “page”:{
      “ id”: “8e082a2a-2edc-11e0-9877-00144feabdc0”,
      “ title”: “adventures”,
      “apiUrl”: “http://test.api.ft.com/site/v1/pages/8e082a2a-2edc-11e0-9877-00144feabdc0",
       “webUrl”: “http://www.ft.com/cms/8e082a2a-2edc-11e0-9877-00144feabdc0.html"
  },
  “pageItemsListName”: “skyline-content”,
  “pageItems”: [
    {
      “title”: {
        “title”: “Whistleblowers drawn by tip-off payouts”
      },
      “lifecycle”: {
        “initialPublishDateTime”: “2012-03-12T21:33:01.000Z”,
        “lastPublishDateTime”: “2012-03-12T21:33:01.000Z”
      },
      …
    }
  ]
}