PUBLIC API
Doc
Get document
1min
code examples curl location request get 'https //app archbee com/api/public api/doc' \\ \ header 'accept application/json' \\ \ header 'content type application/json' \\ \ data '{ "apikey" "", "docspaceid" "", "docid" "" }'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var raw = json stringify({ "apikey" "", "docspaceid" "", "docid" "" }); var requestoptions = { method 'get', headers myheaders, body raw, redirect 'follow' }; fetch("https //app archbee com/api/public api/doc", 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 //app archbee com/api/public api/doc") 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" request body = json dump({ "apikey" "", "docspaceid" "", "docid" "" }) response = https request(request) puts response read body import requests import json url = "https //app archbee com/api/public api/doc" payload = json dumps({ "apikey" "", "docspaceid" "", "docid" "" }) headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("get", url, headers=headers, data=payload) print(response text) responses // successful response containing the document content { "content" "", "format" "" }// invalid request parameters { "status" "not ok", "messages" \[ "some error message" ] }
🤔
Have a question?
Our super-smart AI,knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.