Adds a comment on a particular review task

Code samples

require 'rest-client'
require 'json'

headers = {
  'Content-Type' => 'application/json',
  'Accept' => 'application/json'
}

result = RestClient.post 'https://fusion.oxygenxml.com/api/review/tasks/{id}/comment',
  params: {
  }, headers: headers

p JSON.parse(result)
import requests
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json'
}

r = requests.post('https://fusion.oxygenxml.com/api/review/tasks/{id}/comment', headers = headers)

print(r.json())

POST /api/review/tasks/{id}/comment

Body parameter

{
  "message": "string",
  "userStatus": "string"
}