Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.52 KB

workspaceComment_reportAbuse.rst

File metadata and controls

58 lines (41 loc) · 1.52 KB

workspaceComment_reportAbuse

POST /orgs/{oid}/workspaces/{wid}/comments/{cid}/abuses

Summary

  • Method: POST
  • Response Code: 201
  • Response Formats: application/xml application/json
  • Since: UForge 3.3.2

Report a comment is abusive. ..note:: This does not change or remove the message contents of a comment, but notifies the platform administrators to moderate the comment

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

  • wid (required): the id of the workspace-object
  • oid (required): the id of the org-object
  • cid (required): the id of the comment-object

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/workspaces/{wid}/comments/{cid}/abuses" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • 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