Referência de API
Academies
Classrooms
Memberships
Users
Comments
Comments
Retorna um comentário
Retorna um comentário específico através do ID.
GET
/
api
/
v1
/
comments
/
{id}
curl --request GET \
--url https://memberkit.com.br/api/v1/comments/{id}
{
"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
Path Parameters
ID do comentário.
Response
200 - application/json
Success
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://memberkit.com.br/api/v1/comments/{id}
{
"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"
}
}