Users Reviews

Introduction

Using this method you can get all reviews for your project or send new review. Learn more how to work with Reviews here.

Users Reviews Available Methods

  • GetReviews - Get all available reviews for application.
  • SendReview - Send review into your project.

Users.GetReviews (get_reviews)

This method requires Project ID and Client Key

API Url:

https://cp.ocugine.pro/api/users/get_reviews/

Request POST Params:

Parameter Type Description
app_id (required) double Project ID
app_key (required) string Project Client Key
search string Search by review body
page double Page index (pagination)

Response Example:

{
    "complete": true,
    "message": "",
    "data": {
        "list": [
            {
                "uid": "6",
                "project_id": "59",
                "profile_uid": "17",
                "review": "Test 2",
                "rate": "5",
                "time": "1568946375",
                "platform": "ocugine"
            },
            {
                "uid": "3",
                "project_id": "59",
                "profile_uid": "18",
                "review": "Test Review",
                "rate": "4",
                "time": "1568537885",
                "platform": "ocugine"
            }
        ]
    }
}

Users.SendReview (send_review)

This method requires Access_Token, Project ID and Client Key

API Url:

https://cp.ocugine.pro/api/users/send_review/

Request POST Params:

Parameter Type Description
app_id (required) double Project ID
app_key (required) string Project Client Key
access_token (required) string Access Token of the User, who posted this topic
message (required) string Review body
stars double Review rate (from 1 to 5 stars)

Response Example:

{
    "complete": true,
    "message": "",
    "data": []
}