Skip to content

Media Album Comments

Media Album Comments are comments made on individual content within media albums.

Field Name Description Type
content_id Content ID The ID of the content related to the comment. content_id is required. integer
uid User ID The ID of the user who created the comment. integer
comment Comment The comment text. string
created Created timestamp The unix timestamp when the comment was created. integer

* = Required

GET {realm}/albums/{id}/content/{content id}/comments

Section titled “GET {realm}/albums/{id}/content/{content id}/comments”

View a list of comments (paged)

Return A list of comment objects

{
"comment": [
{
"id": 229,
"content_id": 17861,
"uid": 45552,
"comment": "This is a media album comment",
"created": 1388420575,
"status": 1
}
]
}

GET {realm}/albums/{id}/content/{content id}/comments/{comment id}

Section titled “GET {realm}/albums/{id}/content/{content id}/comments/{comment id}”

View a specified comment

Return A comment

{
"id": 229,
"content_id": 17861,
"uid": 45552,
"comment": "This is a media album comment",
"created": 1388420575,
"status": 1
}

POST {realm}/albums/{id}/content/{content id}/comments

Section titled “POST {realm}/albums/{id}/content/{content id}/comments”

Create a comment

Content An object containing comment fields

{
"comment": "nice pic!"
}

Return An object containing comment fields

{
"id": 229,
"content_id": 0,
"uid": 45552,
"comment": "This is a media album comment",
"created": 0,
"status": 0,
"links": {
"self": "http:\/\/...\/comments\/229"
}
}

DELETE {realm}/albums/{id}/content/{content id}/comments/{comment id}

Section titled “DELETE {realm}/albums/{id}/content/{content id}/comments/{comment id}”

Delete a comment (cannot be undone)