GET
/
api
/
v1
/
comments
curl --request GET \
  --url https://memberkit.com.br/api/v1/comments
[
  {
    "id": 123,
    "content": "<string>",
    "status": "<string>",
    "parent_id": 123,
    "classroom_id": 123,
    "created_at": "<string>",
    "updated_at": "<string>",
    "lesson": {
      "id": 123,
      "title": "<string>",
      "url": "<string>",
      "course": {
        "id": 123,
        "name": "<string>"
      }
    },
    "user": {
      "id": 123,
      "full_name": "<string>",
      "email": "jsmith@example.com",
      "profile_image_url": "<string>",
      "sign_in_count": 123,
      "current_sign_in_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  }
]

Authorizations

api_key
string
query
required

Query Parameters

page
integer

Número da página.

filter
enum<string>

Filtro por status.

Available options:
unread,
pending,
approved,
rejected
sort_by
enum<string>
default:created_at

Atributo opcional para ordenação.

Available options:
id,
read_at,
created_at
sort_order
enum<string>
default:desc

Sentido opcional para ordenação.

Available options:
asc,
desc

Response

200 - application/json
Success
id
integer
required
content
string
required
status
string
required
parent_id
integer | null
required
classroom_id
integer
required
created_at
string
required
updated_at
string
required
lesson
object
required
user
object
required