Scores and comments users leave on listings and on the service.
https://api.reportauto.euRatings a user leaves on a listing or on the service itself. Each rating carries a score, a category and an optional comment.
Records a rating against a target such as a listing.
Authentication Bearer token
ID of the thing being rated.
What kind of thing it is, e.g. listing.
Score from 1 to 5.
Aspect being rated, e.g. quality.
Free-text feedback.
1curl -X POST "https://api.reportauto.eu/api/requests/self/rating/" \
2 -H "Authorization: Bearer $CAROOM_ACCESS_TOKEN" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "target_id": "149",
6 "target_type": "listing",
7 "rating": 5,
8 "comments": "Straightforward from start to finish",
9 "category": "quality"
10 }'Returns every rating the authenticated user has left.
Authentication Bearer token
1curl "https://api.reportauto.eu/api/requests/self/rating/" \
2 -H "Authorization: Bearer $CAROOM_ACCESS_TOKEN"Returns one rating.
Authentication Bearer token
ID of the rating.
1curl "https://api.reportauto.eu/api/requests/self/rating/1" \
2 -H "Authorization: Bearer $CAROOM_ACCESS_TOKEN"Edits the score or the comment on an existing rating.
Authentication Bearer token
ID of the rating.
New score.
New comment.
1curl -X PATCH "https://api.reportauto.eu/api/requests/self/rating/5" \
2 -H "Authorization: Bearer $CAROOM_ACCESS_TOKEN" \
3 -H "Content-Type: application/json" \
4 -d '{ "comments": "Updated feedback" }'Removes a rating the caller left.
Authentication Bearer token
ID of the rating.
1curl -X DELETE "https://api.reportauto.eu/api/requests/self/rating/4" \
2 -H "Authorization: Bearer $CAROOM_ACCESS_TOKEN"