Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
titlePATCH /api/discussion/v1/comments/5fe452161cc049dfb3e124c41732beaf/
// Request body
 
{"voted": true}
 
// Response body
 
{
  "id": "5fe452161cc049dfb3e124c41732beaf",
  "parent_id": null,
  "thread_id": "51dfd4e38d9f4f788a0e65c0e9311a55",
  "author": "example-user",
  "created_at": "2015-04-09T17:31:56Z",
  "modified_at": "2015-04-10T14:24:43Z",
  "raw_body": "**Example Comment Body**",
  "rendered_body": "<b>Example Comment Body</b>",
  "endorsed": true,
  "endorsed_by": "example-moderator",
  "endorsed_at": "2015-04-10T14:24:43Z",
  "flagged": false,
  "voted": true,
  "vote_count": 19,
  "children": [],
  "editable_fields": ["flagged", "voted"]
}

Reference Document:

Contradictions in Web and Mobile:

View file
nameDiscussionForum_Web-vs-Mobile.xlsx
height250