POST /orgs/{oid}/workspaces/{wid}/comments/{cid}/replies
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
UForge 3.3.2
Create a reply to a comment in a workspace.
Please refer to comment-object
for a complete list of all the comment
attributes.
- Requires Authentication:
true
- Entitlements Required:
appliance_create
wid
(required): the id of theworkspace-object
oid
(required): the id of theorg-object
cid
(required): the id of thecomment-object
to reply to
A comment-object
object
curl "https://uforge.example.com/api/orgs/{oid}/workspaces/{wid}/comments/{cid}/replies" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
<ns0:comment xmlns:ns0="http://www.usharesoft.com/uforge">
<message>Example Reply</message>
<type>REPLY</type>
</ns0:comment>
comment-object
workspace-api-resources
workspaceComment-create
workspaceComment-delete
workspaceComment-deleteAll
workspaceComment-dislike
workspaceComment-get
workspaceComment-like
workspaceComment-reply
workspaceComment-reportAbuse
workspaceComment-update
workspaceComments-getAll