developers / Models
Comment
A comment on an image or a folder, or a reply to one (parentId), with its like count.
Fields
idintegeruserIdintegercreatedAtdate-timeupdatedAtdate-timereferenceTypeenumOne of
UserImageFilePasteShortBioFolderCommentreferenceIdintegercontentstringparentIdinteger | nullofflineAtdate-time | nulllikeCountnumber
{
"id": 1,
"userId": 1,
"createdAt": "2026-11-10T18:24:00.000Z",
"updatedAt": "2026-11-10T18:24:00.000Z",
"referenceType": "Image",
"referenceId": 1,
"content": "That last round",
"parentId": null,
"offlineAt": "2026-11-10T18:24:00.000Z",
"likeCount": 0
}Returned by
The endpoints whose data holds a Comment as it is, and where.
- post
/commentsCreate a new commentdata - get
/commentsGet a single comment by ID/:commentId data - patch
/commentsUpdate a comment by ID/:commentId data - get
/foldersGet comments for a folder/:folderId /comments data[] - get
/imagesGet comments for an image/:imageId /comments data[] - get
/usersGet a user's comments/:userId /comments data[]