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
  1. Suggestions v0

Fetch Suggestions

Developing
GET
/suggestions
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://backend-feedback-io.onrender.com/suggestions?category=1'
Response Response Example
{
    "count": 0,
    "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
}

Request

Query Params
offset
number 
optional
Example:
2
limit
integer 
optional
Example:
2
category
string 
optional
sort suggestions by category id
Example:
1

Responses

🟢200OK
application/json
Body
count
integer 
required
data
array [object {10}] 
required
id
integer 
required
title
string 
required
content
string 
required
votes
integer 
required
comments
null 
required
category
string 
required
status
string 
required
user_id
integer 
required
created_at
string 
required
updated_at
string 
required
success
boolean 
required
Modified at 2025-01-05 17:41:55
Next
Fetch Suggestion by ID
Built with