Submit feedback on a user
POST
/users/{user_id}/feedback
users
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://trashnothing.com/api/v1.2/users//feedback' \
--form 'positive=""'
Response Response Example
200 - Example 1
{
"feedback": {
"content": "Fred gave me a great antique table for my new apartment!",
"date": "2020-03-01T12:01:22",
"positive": true,
"reviewer_user_id": 9191,
"user_id": 2946512
},
"user": {
"about_me": "Just an old fisherman looking to reuse more.",
"country": "GB",
"feedback": {
"percent_positive": 87.5,
"restriction": "no-recent-messages",
"score": 7
},
"firstname": null,
"lastname": null,
"member_since": "2017-01-27T06:35:55",
"profile_image": "https://lh3.googleusercontent.com/-1qVLzuOCyYg/AAAAAAAAAAI/AAAAAAAAAAA/0aGNzRAO61c/s64-c/100783935580725962164.jpg",
"reply_time": 4850,
"user_id": 2946512,
"username": "fred gibson"
}
}
Request
Path Params
user_id
string
required
Body Params multipart/form-data
category
string
optional
For negative feedback, category should be set to one of: NO_SHOW, UNRESPONSIVE, LATE, ITEM_NOT_AS_DESCRIBED, BROKEN_PROMISE, RUDE, RESELLER, SELLING, UNWANTED_MESSAGES, OTHER
Below are descriptions for each of these categories:
NO_SHOW - The user did not show up when they said they would.
UNRESPONSIVE - The user failed to respond when a response was expected.
LATE - The user showed up later than they said they would.
ITEM_NOT_AS_DESCRIBED - The user gave away an item that had a misleading on incomplete description.
BROKEN_PROMISE - The user broke a promise.
RUDE - The user was rude or impolite.
RESELLER - The user is obtaining free items to sell on other sites without disclosing their intent to resell.
SELLING - The user is selling items on trash nothing.
UNWANTED_MESSAGES - The user is sending off-topic or unrelated messages.
OTHER - This category is for anything that does not fit in any of the above categories.
content
string
optional
positive
string
required
Responses
Modified at 2022-09-11 18:59:48