Comments# class frameioclient.Comment(client)# create(asset_id, text=None, timestamp=None, annotation=None, **kwargs)# Create a comment. Parameters: asset_id (Union[str, UUID]) – The asset id. text (Optional[str]) – The comment text. timestamp (Optional[int]) – The timestamp of the comment. annotation (Optional[str]) – The serialized contents of the annotation. Keyword Arguments: (optional) kwargs: additional request parameters. Example: client.comments.create( asset_id="123abc", text="Hello world", timestamp=10 ) delete(comment_id)# Delete a comment. Parameters: comment_id (Union[str, UUID]) – The comment id. get(comment_id, **kwargs)# Get a comment. Parameters: comment_id (Union[str, UUID]) – The comment id. list(asset_id, **kwargs)# Get an asset’s comments. Parameters: asset_id (Union[str, UUID]) – The asset id. reply(comment_id, **kwargs)# Reply to an existing comment. Parameters: comment_id (string) – The comment id. Keyword Arguments: (optional) kwargs: additional request parameters. Example: client.comments.reply( comment_id="123abc", text="Hello world" ) update(comment_id, text=None, timestamp=None, annotation=None, **kwargs)# Update a comment. Parameters: comment_id (Union[str, UUID]) – The comment id. text (Optional[str]) – The comment text. timestamp (Optional[int]) – The timestamp of the comment. annotation (Optional[str]) – The serialized contents of the annotation. Keyword Arguments: (optional) kwargs: additional request parameters. Example: client.comments.update( comment_id="123abc", text="Hello world", timestamp=10 )
Comments#
Create a comment.
asset_id (
Union
[str
,UUID
]) – The asset id.text (
Optional
[str
]) – The comment text.timestamp (
Optional
[int
]) – The timestamp of the comment.annotation (
Optional
[str
]) – The serialized contents of the annotation.(optional) kwargs: additional request parameters.
Example:
Delete a comment.
comment_id (
Union
[str
,UUID
]) – The comment id.Get a comment.
comment_id (
Union
[str
,UUID
]) – The comment id.Get an asset’s comments.
asset_id (
Union
[str
,UUID
]) – The asset id.Reply to an existing comment.
comment_id (string) – The comment id.
(optional) kwargs: additional request parameters.
Example:
Update a comment.
comment_id (
Union
[str
,UUID
]) – The comment id.text (
Optional
[str
]) – The comment text.timestamp (
Optional
[int
]) – The timestamp of the comment.annotation (
Optional
[str
]) – The serialized contents of the annotation.(optional) kwargs: additional request parameters.
Example: