[OzzModz] XFRM: Update Comments

[OzzModz] XFRM: Update Comments 2.2.0

No permission to buy ($20.00)
Compatible XF 2.x versions
  1. 2.1
  2. 2.2
Additional requirements
XenForo 2.2.0+
XenForo Resource Manager 2.2.0+
Standard Library by Xon v1.0.0+
License
Single Use License (may be used on one website)
Updates duration
Lifetime for Xenforo versions listed above
Visible branding
No
Requirements:

  • XenForo 2.2.0+
  • XenForo Resource Manager 2.2.0+
Description:
Allows to comment resource updates.

Features:

  • Ability to lock comments for updates
  • Reacting to comments
  • Attachments support
  • Report system support
  • Warning actions support
  • Approval queue support
  • Whats new support
  • News feed support
  • Moderator logs support
  • Edit history support
  • Permissions might be set per category
  • REST API endpoints
New REST API endpoints:
POST resource-update-comments/

Creates a new resource update comment.

Parameters

InputTypeDescription
messagestring
author_alertbool
author_alert_reasonbool
attachment_keystringAPI attachment key to upload files. Attachment key context type must be resource_update_comment with context[comment_id] set to this resource update ID.
Response

OutputDescription
successtrue
commentComment

GET resource-update-comments/{id}

Gets information about the specified resource update comment.

Parameters

InputTypeDescription
none
Response

ResponseDescription
commentComment

POST resource-update-comments/{id}

Updates the specified resource update comment.

Parameters

InputTypeDescription
messagestring
author_alertbool
author_alert_reasonbool
attachment_keystringAPI attachment key to upload files. Attachment key context type must be resource_update_comment with context[comment_id] set to this resource update ID.
Response

OutputDescription
successtrue

POST resource-update-comments/{id}/react

Reacts to the specified resource update comment

Parameters

InputTypeDescription
reaction_idinteger⚠ ID of the reaction to use. Use the current reaction ID to undo.
Response

OutputTypeDescription
successtrue
actionstring"insert" or "delete" based on whether the reaction was added or removed.

DELETE resource-update-comments/{id}

Deletes the specified resource update comment. Default to soft deletion.

Parameters

InputTypeDescription
hard_deletebool
reasonbool
author_alertbool
author_alert_reasonbool
Response

OutputType
successtrue

Extended REST API endpoints:
GET resource-updates/{id}

Additional parameters

InputTypeDescription
with_commentsboolIf specified, the response will include a page of comments.

POST resource-updates/{id}

Additional parameters

InputTypeDescription
comment_openboolToggles the ability to comment the resource update


Screenshots:

uc1.png


uc2.png


uc3.png


uc4.png


uc5.png


uc6.png
Author
Ozzy47
Views
1,695
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Ozzy47

Latest updates

  1. [OzzModz] XFRM: Update Comments for XenForo 2.1+ Update 2.2.0

    2.2.0: Added new API endpoints and extend XFRM endpoints (read the add-on description) Added...
  2. [OzzModz] XFRM: Update Comments for XenForo 2.1+ Update 2.0.1

    Changelog: Added attachments support Added whats new support Added news feed support Added...
Top