API Reference
Topic Point
Update points
code examples curl location globoff request put 'https //api catenda com/opencde/bcf/3 0/projects/{topic board id}/topics/{topic id}/points' \\ \ header 'accept application/json' \\ \ header 'content type application/json' \\ \ data '{ "id" "", "x" "", "y" "", "z" "" }'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var raw = json stringify({ "id" "", "x" "", "y" "", "z" "" }); 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}/points", 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}/points") 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({ "id" "", "x" "", "y" "", "z" "" }) 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}/points" payload = json dumps({ "id" "", "x" "", "y" "", "z" "" }) headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("put", url, headers=headers, data=payload) print(response text) responses // ok { "id" "db3cffcf 2217 4503 8e51 ab2740d5043a", "x" 100, "y" 100, "z" 100, "models" \[ { "modelref" "11a9bb2984ee4a999875c4cd9560f319", "revisionref" "eed6ae36 5fe0 4f1f 89da fba8efcf8b97", "ref" "827f4b14 af0c 44e5 90ce 4e58fa79d7b3" } ] }