workspaceTemplateComment_update¶
-
PUT /orgs/{oid}/workspaces/{wid}/templates/{tid}/comments/{cid}
Updates the information of a comment.
This can include flagging the comment as abusive.
Note
you cannot change the contents of the original comment message using this request.
Security Summary¶
- Requires Authentication:
true
- Entitlements Required:
appliance_create
URI Parameters¶
wid
(required): the id of the workspaceoid
(required): the id of the orgtid
(required): the id of the galleryTemplatecid
(required): the id of the comment
Example Request¶
curl "https://uforge.example.com/api/orgs/{oid}/workspaces/{wid}/templates/{tid}/comments/{cid}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
<ns0:comment xmlns:ns0="http://www.usharesoft.com/uforge">
<message>Initial message</message>
<abused>true</abused>
</ns0:comment>
See also
- comment
- Workspace API Resources
- workspaceTemplateComment_create
- workspaceTemplateComment_delete
- workspaceTemplateComment_deleteAll
- workspaceTemplateComment_dislike
- workspaceTemplateComment_get
- workspaceTemplateComment_getAll
- workspaceTemplateComment_like
- workspaceTemplateComment_reply
- workspaceTemplateComment_reportAbuse
- workspaceTemplateComment_update
- Workspace Comments API Resources
- Workspace Template API Resources