Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.8 KB

workspaceTemplateComment_reportAbuse.rst

File metadata and controls

61 lines (44 loc) · 1.8 KB

workspaceTemplateComment_reportAbuse

POST /orgs/{oid}/workspaces/{wid}/templates/{tid}/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
  • tid (required): the id of the gallerytemplate-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}/templates/{tid}/comments/{cid}/abuses" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • comment-object
  • workspace-api-resources
  • workspaceTemplateComment-create
  • workspaceTemplateComment-delete
  • workspaceTemplateComment-deleteAll
  • workspaceTemplateComment-dislike
  • workspaceTemplateComment-get
  • workspaceTemplateComment-getAll
  • workspaceTemplateComment-like
  • workspaceTemplateComment-reply
  • workspaceTemplateComment-reportAbuse
  • workspaceTemplateComment-update
  • workspacecomments-api-resources
  • workspacetemplate-api-resources