Hello
I'm a developer trying to get the contents of a table residing on a confluence page, but I can only seem to get the HTML source for the page, but not the data that resides in the table.
Any advice, if possible, on how to get the contents of the table that resides in this page would be appreciated!
Regards
Brage
My current code:
Integer li_ret
String ls_string
li_ret = lnv_HttpClient.clearrequestheaders()
li_ret = lnv_HttpClient.setrequestheaders("Content-Type:text/html;charset=UTF-8;UserID:xxxxx;Password:xxxxx")
li_ret = lnv_HttpClient.GetResponseBody(ls_string, EncodingUTF8!)
li_rc = lnv_HttpClient.SendRequest("GET", "https://<MYURL>/wiki/spaces/MSW/database/2849210383")
if li_rc = 1 then
li_ret = lnv_HttpClient.GetResponseStatusCode() if li_ret = 200 then
li_ret = lnv_HttpClient.GetResponseBody(ls_string, EncodingUTF8!)
end if
end if
Hi @Brage Mogstad -- Welcome to the Atlassian Community!
I do not believe there is a public endpoint to access a Confluence Database's data yet. Here is the suggestion to add that feature: https://jira.atlassian.com/browse/CONFCLOUD-77328
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.