Votes
featureOS list all upvoters API
Introduction
This endpoint lists all upvoters of the specific post.
GET https://api.featureos.app/api/v3/downvoters
Headers
Parameter | Default | Description |
---|---|---|
API-KEY | - | Generate from organization settings on the admin dashboard. |
Query Parameters
Parameter | Default | Format | Description |
---|---|---|---|
page | 1 | Integer | Used to paginate responses. |
feature_request_id | - | Integer | The ID of the post returned in the list posts endpoint. |
from_date | - | String (YYYY-MM-DD) | Filter votes based on its created date. Use it along with the below "to_date" parameter to filter the votes for a particular date range. |
to_date | - | String (YYYY-MM-DD) | Filter votes based on its created date. Use it along with the above "from_date" parameter to filter the votes for a particular date range. |
Sample response
{
"success": true,
"votes": [
{
"id": 2652,
"kind": "downvote",
"source": "featureos",
"created_at": "2023-09-06T11:37:39.000Z",
"feature_request": {
"id": 1211,
"bucket_id": 307,
"title": "sample post",
"status": "Under Review",
"approved": true,
"url": "https://feedback.featureos.app/b/feedback/p/sample-post"
},
"user": {
"name": "Swathy",
"email": "[email protected]"
}
}
]
}