GET /like
Get list of members who liked the item
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "status": "success", "data": [ { "user_id": "1", "profile_page_id": "0", "user_server_id": "0", "user_name": "admin", "full_name": "Admin", "gender": "0", "user_image": "2016/12/07140d52d833bb6c304ee1f48bbe623f%s.png", "is_invisible": "0", "user_group_id": "1", "language_id": "en", "birthday": "05091988", "country_iso": "US" }, { "user_id": "3", "profile_page_id": "0", "user_server_id": "0", "user_name": "profile-3", "full_name": "Neil", "gender": "0", "user_image": null, "is_invisible": "0", "user_group_id": "2", "language_id": null, "birthday": null, "country_iso": null } ], "messages": [] } |
POST /like
Like an item
Example URI
Code Block | ||||
---|---|---|---|---|
| ||||
http://example.com/restful_api/like |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "status": "success", "data": [], "messages": [ "Like successfully added." ] } |
DELETE /like
Unlike an item
Example URI
...