OGWUGO API DOCUMENTATION

  1. Home
  2. Docs
  3. OGWUGO API DOCUMENTATION
  4. Ogwugo Food
  5. Restaurant Reviews

Restaurant Reviews

Restaurant Reviews
Header Authorization: required.

Header Authentication : not required.

return few of the latest reviews

PATH

[GET]   /reviews/list/restaurant/{restaurant_id} 

 

SUBMIT RESTAURANT REVIEW

 

[POST]   /restaurant/user/review/{restaurant_id}?user_id={user_id} 

 

PARAMETERS:

Param type required comment
user_id int 1
title stre 1
review
str 1
name str 1
star
double 1 1-5

 

 

RESPONSE get reviews:

{
    "data": [
        {
            "id": 2,
            "name": "Ekuma2",
            "title": "dhsdggsdg djsdj jgsfjdsj",
            "review": "dshgsdhg ghsghdgh gfsgwdfgxgjfgdg gwfgwfu",
            "star": "",
            "created_at": "2018-02-21 08:46:04"
        }
    ],
    "status": "success",
    "message": "Restaurant Reviews listed",
    "error": {
        "detail": "Restaurants review listed",
        "code": "200"
    }
}
Was this article helpful to you? Yes No

How can we help?