Is there an confluence API available using which I can have a live data feed to my confluence fields. For ex: Can I connect an application data to Conflunce so that whenever the application data is changed it gets reflected in my Conflunce page. This applications is not a Atlassian product. Please advise
I'm not sure which tools you refer to when you speak about "confluence fields". I assume that you employ some macro or table on your Confluence pages to specify properties (if you use a third party add-on there may be other solutions than the following ones).
The page properties can be accessed via a REST API, but I do not know of an API that allows to change them. You may use the Confluence REST API to update pages. I do not know if the API allows to update only parts of a page. But if it is fine for your use case to download the whole page, update the relevant parts and upload it, the REST API can probably do this (if the page is only updated automatically, the page can be just updated without prior read). Your remote information systems needs to call this REST API on change events or provide an API so that you could program the sync process.
I personally use our projectdoc Toolbox that allows to define document properties (very similar to page properties) and sections. Via an extension it also provide a REST API to update these properties and sections (on the server the whole page will be saved, but from the client side view it seems that the property is an independent resource). This way we can update information on our Confluence pages using (for example) cURL. Besides the use of bookmarklets this is currently our only use case.
The usage tip "Confluence as the Information Hub" on our website gives a short overview over the tools of the projectdoc Toolbox to link or transclude content.
The projectdoc Toolbox is a commercial add-on for Confluence server. It is available on the Atlassian Marketplace. For the REST API you would need to install the Web API Extension (which is based on the commercial add-on, but is free of charge). Please note that I am one of the authors of this add-on (so may answer may be biased :) ).
More information on the projectdoc Toolbox can be found in the online manual.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.