Comments
Comments are discussions around content and can be added to a folder or file in Onehub. You can create, delete, and list comments. Comments are identified by a unique, random ID.
Create a Comment
POST
https://ws-api.onehub.com/:item/:item_id/comments
Creates a comment on the :item
(folder or file) specified via :item_id
.
Path Parameters
Request Body
Delete a Comment
DELETE
https://ws-api.onehub.com/:item/:item_id/comments/:id
Deletes the comment specified via :id
from the :item
(folder or file) specified via :item_id
.
Path Parameters
List all Comments
GET
https://ws-api.onehub.com/:item/:item_id/comments
Lists all comment for the :item
(folder or file) specified via :item_id
.
Path Parameters
Last updated