POST
/
api
/
v1
/
comments

Authorizations

api_key
string
queryrequired

Body

application/json
content
string
required

Texto do comentário.

status
enum<string>
required
Available options:
pending,
approved,
rejected
user_id
integer
required

ID do membro.

lesson_id
integer
required

ID da aula.

classroom_id
integer
required

ID da turma.

parent_id
integer

ID do comentário respondido.

Response

201 - application/json
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