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 95a72d6 commit 3564adb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion content/news.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ News
| ------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `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.|
| `ids: number` | false | `GET /v2/news.json?id=1,2,3` 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.

### `GET /v2/news/666.json`


**Status Codes**

- `200 OK` will be returned if found
Expand Down

0 comments on commit 3564adb

Please sign in to comment.