Skip to content
eyeem edited this page Feb 8, 2012 · 1 revision

Endpoint: News

These are the API calls that you can use to retrieve a user's news

Available endpoints

  • /news, GET
  • /news/#{id}, GET

Representation

The representation of a news item is presented and described in the model page.

API Calls

GET /news

Retrieves the authenticated user's latest twenty news items

Parameters

  • limit: (optional, default 20)
  • offset: (optional, default 0)

Response

  • 200 and a dictionary containing pagination info and an array of news items.

Examples

https://www.eyeem.com/api/v2/news?offset=0&limit=20


GET /news/#{id}

Retrieves a news item by id

Parameters

  • id: The id of the photo we want to retrieve information about.

Response

  • 200 and an a news item

Examples

https://www.eyeem.com/api/v2/news/1234


Clone this wiki locally