API Reference
Topic Comment

List comments

code examples curl location globoff 'https //api catenda com/opencde/bcf/3 0/projects/{topic board id}/topics/{topic id}/comments' \\ \ header 'accept application/json' \\ \ header 'content type application/json'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var requestoptions = { method 'get', headers myheaders, redirect 'follow' }; fetch("https //api catenda com/opencde/bcf/3 0/projects/{topic board id}/topics/{topic id}/comments", 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") https = net http new(url host, url port) https use ssl = true request = net http get new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" 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" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("get", 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" \[ {} ] } } ]