Skip to content

Commit

Permalink
Update news.md
Browse files Browse the repository at this point in the history
  • Loading branch information
luc authored May 27, 2018
1 parent 0afb44f commit 5048047
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions content/news.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ Get News

| Parameter | Required | Example |
| ------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `page: number` | false | `GET /v2/news.json?page=2` will get page two of the available entries |
| `since: date` | false | `GET /v2/news.json?since=1527450408` will get all news created after the unix timestamp. |
| `id: number` | false | `GET /v2/news.json?id=1` will get the news with the id 1. |
| `per_page: number` | false | `GET /v2/news.json?per_page=50` will limit results to 50 per page.
| |
| `language: string` | false | `GET /v2/news.json?language=lb` will get all news of language lb.
| |
| `page: number` | false | `GET /v2/news.json?page=2` will get page two of the available entries |
| `since: date` | false | `GET /v2/news.json?since=1527450408` will get all news created after the unix timestamp.|
| `id: number` | false | `GET /v2/news.json?id=1` will get the news with the id 1.|
| `per_page: number` | false | `GET /v2/news.json?per_page=50` will limit results to 50 per page.|
| `language: string` | false | `GET /v2/news.json?language=lb` will get all news of language lb.|
| `category: string` | false | `GET /v2/news.json?category=Politics` will get all news of category politics.

**Status Codes**
Expand Down

0 comments on commit 5048047

Please sign in to comment.