Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.36 KB

workspaceComment_like.rst

File metadata and controls

58 lines (41 loc) · 1.36 KB

workspaceComment_like

.. function:: POST /orgs/{oid}/workspaces/{wid}/comments/{cid}/likes

Summary

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

Like a comment in a workspace.

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}/comments/{cid}/likes" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
.. seealso::

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