API Reference
Topic Relation
Create topic relations
code examples curl location globoff request put 'https //api catenda com/opencde/bcf/3 0/projects/{topic board id}/topics/{topic id}/related topics' \\ \ header 'accept application/json' \\ \ header 'content type application/json' \\ \ data '{ "related topic guid" "" }'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var raw = json stringify({ "related topic guid" "" }); 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}/related topics", 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}/related topics") 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({ "related topic guid" "" }) 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}/related topics" payload = json dumps({ "related topic guid" "" }) headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("put", url, headers=headers, data=payload) print(response text) responses // ok \[ { "related topic guid" "5ae3214f 7333 4b3c 8b0a 1f8dca44616a" } ]