# Comment
# Get All Comments
# Resource URL
https://humtog.com/api/admin/comments
# Resource Method
GET
# Example Response
{
"data": [
{
"id": 35,
"submission_id": 2,
"user_id": 1,
"channel_id": 2,
"type": "relaxed",
"parent_id": null,
"nested_level": 0,
"rate": 2589.75,
"likes_count": 1,
"votes": 0,
...
},
...
],
"links": {
"first": "https://humtog.com/api/admin/comments?page=1",
"last": null,
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"path": "https://humtog.com/api/admin/comments",
"per_page": 90,
"to": 4
}
}
# Get Reported Comments
# Resource URL
https://humtog.com/api/admin/reports/comments
# Resource Method
GET
# Params
| Name | Required | Type | Description |
|---|---|---|---|
type | Yes | string | List solved or unsolved |
# Example Response
{
"current_page": 1,
"data": [
{
id": 1,
"channel_id": 1,
"reportable_id": 25,
"reportable_type": "App\\Comment",
...
},
...
],
"first_page_url": "https://humtog.com/api/admin/reports/comments?page=1",
"from": 1,
"next_page_url": null,
"path": "https://humtog.com/api/admin/reports/comments",
"per_page": 50,
"prev_page_url": null,
"to": 1
}
← Submission Action →