Skip to content

Commit

Permalink
Merge pull request #8 from xemexpress/master
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
EricSimons committed Apr 20, 2017
2 parents a252a1e + 08e7c55 commit 496c75c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api/README.md
Expand Up @@ -359,7 +359,7 @@ The `slug` also gets updated when the `title` is changed



### Adding comments to an article
### Add comments to an article

`POST /api/articles/:slug/comments`

Expand All @@ -379,23 +379,23 @@ Required fields: `body`



### Getting comments to an article
### Get comments from an article

`GET /api/articles/:slug/comments`

Authentication optional, returns [multiple comments](#multiple-comments)



### Deleting a comment
### Delete a comment

`DELETE /api/articles/:slug/comments/:id`

Authentication required



### Favoriting an article
### Favorite an article

`POST /api/articles/:slug/favorite`

Expand All @@ -405,7 +405,7 @@ No additional parameters required



### Unfavoriting an article
### Unfavorite an article

`DELETE /api/articles/:slug/favorite`

Expand Down

0 comments on commit 496c75c

Please sign in to comment.