The users model has the following endpoints:
Action | Method | Resource | Description |
---|---|---|---|
Get_reviews | GET | /:user_id/user_reviews | Get all reviews of user. |
Get_review | GET | /:user_id/user_reviews/:review_id | Get a review of user |
Create | POST | /:user_id/user_reviews | Create a review for user |
The users model has the following attributes:
Attribute | Type | Required | Description |
---|---|---|---|
qualification | Integer, nullable | Yes | qualification of user |
comment | string | Yes | Comment of user Review |
order_id | integer | Yes | Id of order |
user_id | integer | Yes | Id of User |