Comments API

get listing

GET /api/rest/admin/comments

Parameters

Name Description
filter[id] id filter
filter[resource-type-eq] resource type eq filter
filter[resource-type-not-eq] resource type not eq filter
filter[resource-type-cont] resource type cont filter
filter[resource-type-start] resource type start filter
filter[resource-type-end] resource type end filter
filter[resource-type-in] resource type in filter
filter[resource-type-not-in] resource type not in filter
filter[resource-type-cont-any] resource type cont any filter
filter[resource-id-eq] resource id eq filter
filter[resource-id-not-eq] resource id not eq filter
filter[resource-id-cont] resource id cont filter
filter[resource-id-start] resource id start filter
filter[resource-id-end] resource id end filter
filter[resource-id-in] resource id in filter
filter[resource-id-not-in] resource id not in filter
filter[resource-id-cont-any] resource id cont any filter
filter[author-id-eq] author id eq filter
filter[author-id-not-eq] author id not eq filter
filter[author-id-gt] author id gt filter
filter[author-id-gteq] author id gteq filter
filter[author-id-lt] author id lt filter
filter[author-id-lteq] author id lteq filter
filter[author-id-in] author id in filter
filter[author-id-not-in] author id not in filter
filter[created-at-eq] created at eq filter
filter[created-at-not-eq] created at not eq filter
filter[created-at-gt] created at gt filter
filter[created-at-gteq] created at gteq filter
filter[created-at-lt] created at lt filter
filter[created-at-lteq] created at lteq filter
filter[created-at-in] created at in filter
filter[created-at-not-in] created at not in filter

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjYwLCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzkyNjE5ODAyfQ.t-KN8mH0xStzNbdazJuN5Z5QNWSYR5qtprsiD5Bqdys
Host: example.org
Cookie: 

Route

GET /api/rest/admin/comments

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"976c340f29a97aa4d201f6cd80030bec"
cache-control: max-age=0, private, must-revalidate
x-request-id: 61ab5a8c-e46d-4c81-af0e-2b4f003db8eb
x-runtime: 0.010502
content-length: 696

Status

200 OK

Body

{
  "data": [
    {
      "id": "1",
      "type": "comments",
      "links": {
        "self": "http://example.org/api/rest/admin/comments/1"
      },
      "attributes": {
        "body": "some comment",
        "resource-type": "Dialpeer",
        "resource-id": "1376784",
        "author-id": 60,
        "created-at": "2026-10-21T21:46:42.590Z"
      }
    },
    {
      "id": "2",
      "type": "comments",
      "links": {
        "self": "http://example.org/api/rest/admin/comments/2"
      },
      "attributes": {
        "body": "some comment",
        "resource-type": "Dialpeer",
        "resource-id": "1376784",
        "author-id": 60,
        "created-at": "2026-10-21T21:46:42.593Z"
      }
    }
  ],
  "meta": {
    "total-count": 2
  },
  "links": {
    "first": "http://example.org/api/rest/admin/comments?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/comments?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}