Comments
featureOS list all comments API
Introduction
This endpoint lists all comments of the specific post by default.
GET https://api.featureos.app/api/v3/comments
Headers
| Parameter | Default | Description |
|---|---|---|
| API-KEY | - | Generate from organization settings on the admin dashboard. |
Query Parameters
| Parameter | Default | Description |
|---|---|---|
| page | 1 | Used to paginate responses. |
| feature_request_id | - | The ID of the post returned in the list posts endpoint. |
Sample response
{
"success": true,
"comments": [
{
"id": 272,
"comment": "<p>Sample Comment 1</p>\n",
"parent_id": null,
"feature_request": {
"id": 168181,
"url": "https://feedback.featureos.app/b/feedback/p/hello-world",
"title": "fafafas"
},
"pinned": false,
"internal": false,
"approval_status": "approved",
"created_at": "2023-04-24T09:53:34.000Z",
"updated_at": "2023-04-24T09:53:34.000Z",
"author": {
"id": 1,
"name": "swathy",
"email": "swathy@featureos.app",
"profile_picture": {
"url": null
},
"url": "https://feedback.featureos.app/admin/users?userId=1",
"role": "admin"
}
},
{
"id": 271,
"comment": "<p>Sample Comment 2</p>\n",
"parent_id": null,
"feature_request": {
"id": 168181,
"url": "https://feedback.featureos.app/b/feedback/p/hello-world",
"title": "fafafas"
},
"pinned": false,
"internal": false,
"approval_status": "approved",
"created_at": "2023-04-24T09:53:33.000Z",
"updated_at": "2023-04-24T09:53:33.000Z",
"author": {
"id": 1,
"name": "swathy",
"email": "swathy@featureos.app",
"profile_picture": {
"url": null
},
"url": "https://feedback.featureos.app/admin/users?userId=1",
"role": "admin"
}
}
]
}