Python API access to beta databases

Dara O hEidhin February 4, 2024

Hi,
RE: Confluence Cloud

I am currently signed up to the new Databases and am wondering if it is possible to access a database using the APIs at 
Welcome to Atlassian Python API’s documentation! — Atlassian Python API 3.41.10 documentation (atlassian-python-api.readthedocs.io)

Specifically, I have a column of tags that offers a dropdown for all articles in the space. I would like to be able to update the options programmatically.

Is it possible to update these using an API and if not when/will this option become available?

Also is there any other way to achieve this without using the API

I've tried 
``` python

for _id in [db_id, db_containing_page_id]:
    for itm in ["body.page", "body.view", "body.content", "body.storage", None]:
        print(confluence.get_page_by_id(_id, expand=itm))
```
where db_id is the id of the db
and 
db_containing_page_id is the id of the page where the db is embedded
But can't see any db specific data



Cheers for any advice

1 answer

1 accepted

3 votes
Answer accepted
marc -Collabello--Phase Locked-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 5, 2024

Hi @Dara O hEidhin 

It's currently not possible to access Confluence databases through the API.  I believe Atlassian is planning to release API access later in 2024.

Dara O hEidhin February 5, 2024

Appreciate the reply

 

Scott Beeson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 11, 2024

How much later? And is there a workaround or alternate method to accessing databases programmatically?

Dara O hEidhin May 23, 2024

+1

 

Rohit Pandit
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 2, 2024

I was wondering if anyone has come across a workaround by any chance.

Like Oksana Laputskaia likes this
Maximilian Welsch September 13, 2024

+1

Ines Nunes Aguas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 30, 2024

+1

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events