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

.. function:: 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

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"
.. seealso::

         * :ref:`comment-object`
         * :ref:`workspace-api-resources`
         * :ref:`workspaceTemplateComment-create`
         * :ref:`workspaceTemplateComment-delete`
         * :ref:`workspaceTemplateComment-deleteAll`
         * :ref:`workspaceTemplateComment-dislike`
         * :ref:`workspaceTemplateComment-get`
         * :ref:`workspaceTemplateComment-getAll`
         * :ref:`workspaceTemplateComment-like`
         * :ref:`workspaceTemplateComment-reply`
         * :ref:`workspaceTemplateComment-reportAbuse`
         * :ref:`workspaceTemplateComment-update`
         * :ref:`workspacecomments-api-resources`
         * :ref:`workspacetemplate-api-resources`