Selfie APIs
(Difference between revisions)
(→Posts) |
|||
Line 33: | Line 33: | ||
! align="left"| Description | ! align="left"| Description | ||
|- | |- | ||
− | | [[POST posts/:post_id/like]] | + | | [[POST selfie/posts/:post_id/like]] |
| Increments the like counter of a post. | | Increments the like counter of a post. | ||
|- | |- | ||
− | | [[POST posts/:post_id/unlike]] | + | | [[POST selfie/posts/:post_id/unlike]] |
| Decrements the like counter of a post. | | Decrements the like counter of a post. | ||
|} | |} |
Revision as of 20:40, 21 August 2015
Hashtags
Resource | Description |
---|---|
POST selfie/hashtags | Creates a new hashtag to be monitored. |
POST selfie/hashtags/create_bulk | Creates a collection of hashtags to be monitored. |
DELETE selfie/hashtags/:hashtag | Removes a hashtag. |
PUT selfie/hashtags/:hashtag | Updates a hashtag. |
PUT selfie/hashtags/:hashtag/monitor/start | Starts the monitoring of a hashtag. |
PUT selfie/hashtags/:hashtag/monitor/stop | Stops the monitoring of a hashtag. |
GET selfie/hashtags/:hashtag/approved | Returns a list of approved posts for a hashtag. |
Posts
Resource | Description |
---|---|
POST selfie/posts/:post_id/like | Increments the like counter of a post. |
POST selfie/posts/:post_id/unlike | Decrements the like counter of a post. |