qiitex v0.2.0 Qiitex.Comments
Link to this section Summary
Functions
Post a comment on an item
Delete a comment
Get a commnet
List comments on an item in newest order
Update a comment
Link to this section Functions
Link to this function
create_comment(client, item_id, param)
Post a comment on an item.
Example
Qiitex.Comments.create_comment client, "itemid", %{body: "# test"}
Link to this function
delete_comment(client, comment_id)
Delete a comment.
Example
Qiitex.Comments.delete_comment client, "commentid"
Link to this function
find(client, comment_id \\ "")
Get a commnet.
Example
Qiitex.Comments.find client, "comment_id"
Link to this function
list_item_comments(client, item_id \\ "")
List comments on an item in newest order
Example
Qiitex.Comments.list_item_comments client, "item_id"
Link to this function
update_comment(client, comment_id, param)
Update a comment.
Example
Qiitex.Comments.update_comment client, "commentid", %{body: "# test"}