Page optimized for desktop experience. Please use a desktop browser for best compatibility.

Get All Comments For A Video

This endpoint returns all comments that have been submitted on a specified video.

GET
/api/v2/videos/{videoId}/comments

Path Parameters

Parameter Type Validations
videoId string, required ID of video to retrieve comments for

Response Messages

Successful response

{
"id": "2e6523fd-33a0-4feb-8752-ee7c1be26d51",
"title": "bruce",
"comments": [
{
"id": "f36a10e0-bc57-45dc-99e5-4bdb8a538964",
"text": "Test comment",
"username": "admin",
"firstName": null,
"lastName": "admin",
"date": "2016-01-28T08:35:27.299Z",
"childComments": [
{
"id": "dc729aaf-e9ee-4940-9d43-5b6d37d32934",
"text": "Child Comment",
"username": "admin",
"firstName": null,
"lastName": "admin",
"date": "2016-01-28T08:35:59.379Z",
"childComments": null

},
{
"id": "19a4f11e-0842-4c19-a066-5d1d9e3d607b",
"text": "Second level child",
"username": "admin",
"firstName": null,
"lastName": "admin",
"date": "2016-01-28T08:36:19.198Z",
"childComments": []
},
{
"id": "c1bad2c7-9138-4cb7-840a-7d82eb036500",
"text": "new second",
"username": "admin",
"firstName": null,
"lastName": "admin",
"date": "2016-01-28T08:42:48.264Z",
"childComments": []
} ]
} ]
}

Unauthorized error

Internal server error