Referência de API
Academies
Classrooms
Memberships
Users
Comments
Comments
Cadastra um comentário
Cadastra um comentário em uma aula específica.
POST
/
api
/
v1
/
comments
curl --request POST \
--url https://memberkit.com.br/api/v1/comments \
--header 'Content-Type: application/json' \
--data '""'
{
"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
Body
application/json
Response
201 - application/json
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://memberkit.com.br/api/v1/comments \
--header 'Content-Type: application/json' \
--data '""'
{
"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"
}
}