Selfie APIs
(Difference between revisions)
Line 6: | Line 6: | ||
|- | |- | ||
| [[POST selfie/hashtags]] | | [[POST selfie/hashtags]] | ||
− | | | + | | Creates a new hashtag to be monitored. |
|- | |- | ||
|[[POST selfie/hashtags/create_bulk]] | |[[POST selfie/hashtags/create_bulk]] | ||
− | | | + | | Creates a collection of hashtags to be monitored. |
|- | |- | ||
|[[DELETE selfie/hashtags/:hashtag]] | |[[DELETE selfie/hashtags/:hashtag]] | ||
− | | | + | | Removes a hashtag. |
|- | |- | ||
|[[PUT selfie/hashtags/:hashtag]] | |[[PUT selfie/hashtags/:hashtag]] | ||
− | | | + | | Updates a hashtag. |
|- | |- | ||
|[[PUT selfie/hashtags/:hashtag/monitor/start]] | |[[PUT selfie/hashtags/:hashtag/monitor/start]] | ||
− | | | + | | Starts the monitoring of a hashtag. |
|- | |- | ||
|[[PUT selfie/hashtags/:hashtag/monitor/stop]] | |[[PUT selfie/hashtags/:hashtag/monitor/stop]] | ||
− | | | + | | Stops the monitoring of a hashtag. |
|- | |- | ||
|[[GET selfie/hashtags/:hashtag/approved]] | |[[GET selfie/hashtags/:hashtag/approved]] | ||
− | | | + | | Returns a list of approved posts for a hashtag. |
|} | |} | ||
Line 34: | Line 34: | ||
|- | |- | ||
| [[POST posts/:post_id/like]] | | [[POST posts/:post_id/like]] | ||
− | | | + | | Increments the like counter of a post. |
|- | |- | ||
| [[POST posts/:post_id/unlike]] | | [[POST posts/:post_id/unlike]] | ||
− | | | + | | Decrements the like counter of a post. |
|} | |} |
Revision as of 21:49, 31 October 2014
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 posts/:post_id/like | Increments the like counter of a post. |
POST posts/:post_id/unlike | Decrements the like counter of a post. |