API Reference
Topic Comment
Update comment
code examples curl location globoff request put 'https //api catenda com/opencde/bcf/3 0/projects/{topic board id}/topics/{topic id}/comments/{comment id}' \\ \ header 'accept application/json' \\ \ header 'content type application/json' \\ \ data '{ "comment" "" }'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var raw = json stringify({ "comment" "" }); var requestoptions = { method 'put', headers myheaders, body raw, redirect 'follow' }; fetch("https //api catenda com/opencde/bcf/3 0/projects/{topic board id}/topics/{topic id}/comments/{comment id}", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("https //api catenda com/opencde/bcf/3 0/projects/{topic board id}/topics/{topic id}/comments/{comment id}") https = net http new(url host, url port) https use ssl = true request = net http put new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" request body = json dump({ "comment" "" }) response = https request(request) puts response read body import requests import json url = "https //api catenda com/opencde/bcf/3 0/projects/{topic board id}/topics/{topic id}/comments/{comment id}" payload = json dumps({ "comment" "" }) headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("put", url, headers=headers, data=payload) print(response text) responses // ok { "guid" "b53a16c8 9ce7 4289 8b27 375e8810d360", "date" "2024 05 08t14 29 08 000+0000", "author" "john\@doe com", "comment" "comment text", "topic guid" "18d0273d e15c 4924 97b3 6f47b233eebe", "modified date" "2024 05 08t15 29 08 000+0000", "modified author" "john\@doe com", "viewpoint guid" "e765db1f d705 4d6e 955c 28bf1a897818", "authorization" { "comment actions" \[ {} ] } }