I need to get data from confluence database. Is there any API ?. If it is not possible then how we use it like a database.
Welcome to the community.
The only endpoints in the API that are available are, https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-database/#api-group-database
There are no other options via the API.
You can vote for CONFCLOUD-77328
Hi @Edwin_Johnson ,
Confluence's REST APIs provide access to resources (data entities) via URI paths. To use a REST API, your application will make an HTTP request and parse the response. The response format is JSON. Your methods will be the standard HTTP methods like GET, PUT, POST and DELETE.
https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-database/#api-databases-id-get
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually, I want the data in the database, but using this API we get only the metadata of the database
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By database if you mean a relational database like MySQL, MS SQL Server, etc., you can't connect directly to the Confluence Cloud database. You can if you use Confluence Data Center. If you mean this type of database, the the Atlassian Data Lake might be helpful.
Or are you referring to Confluence's feature called "Database," which is similar to but not the same as a SharePoint List, and are inside of a Confluence space? They're not actually "databases" and not terribly mature at this point. They're a relatively new feature. I'd imagine that one day in the future they'll have a REST API or some other method to pull data from them, but you'll have to wait. See What Confluence databases don't support.
Depending on what you want to do, you could try one of these articles:
Share databases, entries, or values
I hope that helps!
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.