Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×I am using REST API to get the data stored in table on a page earlier I used this path
to fetch the data it worked fine
Now we are using database to store the same data and I need to fetch the records of that database by REST API
I am using OAuth 2.0 3LO for Authentication and applied all the scopes needed
This are some classic scopes I used
And this are some granular scopes
with granular scopes faced 401 error on it.
If it is accessible somehow will I get the records by using this path?
Confluence databases are not (yet) accessible by API.
Thanks @marc -Collabello--Phase Locked- for the quick response
Any idea till when databases will be available in REST API?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe there's no formal announcement by Atlassian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@marc -Collabello--Phase Locked-
Hello, has there been any update on this yet?
@Yadav, Rahul [X] have you found a workaround?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No there's no workaround, I had to take those records to Confluence Page and add it to the table and then I got the records in rest api,
hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just refactored my entire data just because I saw a "database" menu on the API page. For nothing.... waste of time.
If you landed on this page trying to find a solution for the obvious reason of fetching your data, just because you can't believe what you read on the API docs page, then yes, tough luck.
With this API, you only get back the database Id that you sent in the first place, nothing more.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the purpose of a "database" where you can't insert or retrieve information exactly?
Solution I'm doing for this: From the web UI you can export databases to CSV, HTML and PDF at least, so you can manually extract the entire table content that way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But manual is of no use in my case I need it to show on frontend directly from confluence page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Indeed - this is one of the most powerful functionalities so far in Confluence for organizing data, but with no means to even get it out easily, it does not make a lot of sense to ask users to maintain that data in Confluence. That's a bit shame, since the UX is quite good and ability to create relational tables is very good. I would like to use this capability to let people to build an asset library - then use that library in other applications.
It's an option to take the data out manually periodically - but who really likes difficult and boring options when there would be easy automated alternatives?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.