feedback-io
  1. Suggestions v0
feedback-io
  • Feedback-IO
    • Suggestions v0
      • Fetch Suggestions
        GET
      • Fetch Suggestion by ID
        GET
      • Vote Suggestion
        PUT
      • Create Suggestion
        POST
      • Delete Suggestion
        DELETE
      • Update Suggestion
        PUT
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. Suggestions v0

Vote Suggestion

Testing
PUT
/suggestions/{id}/vote

Request

Path Params

Query Params

Responses

🟢200OK
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://backend-feedback-io.onrender.com/suggestions/1/vote?mode=down'
Response Response Example
{
    "data": {
        "id": 0,
        "title": "string",
        "content": "string",
        "votes": 0,
        "comments": null,
        "category": "string",
        "status": "string",
        "user_id": 0,
        "created_at": "string",
        "updated_at": "string"
    },
    "success": true
}
Modified at 2025-07-07 00:05:46
Previous
Fetch Suggestion by ID
Next
Create Suggestion
Built with