Skip to content

Commit

Permalink
Create comments.md
Browse files Browse the repository at this point in the history
  • Loading branch information
luc authored May 27, 2018
1 parent 17e0638 commit 541a0ab
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions content/comments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Comments
=====

### `GET /v2/comments.json`

| Parameter | Required | Example |
| ------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id: number` | false | `GET /v2/comments.json?id=1` will get the comment with the id 1.|
| `author: string` | false | `GET /v2/comments.json?author=luc` will get all comments from luc|


**Status Codes**

- `200 OK` will be returned if found
- `404 Not Found` will be returned if no news are found

0 comments on commit 541a0ab

Please sign in to comment.