I want to be able to call a REST API on Confluence to grab data in XML files. Any assistance would be greatly appreciated!
Do you mean you want Confluence to read XML from a remote source, or that you want a remote system to get data from Confluence?
I want the remote system ( Edge Technologies) to get data from Conflience which will be XML files.
You'll need to write something to add to Confluence to make it provide a REST endpoint to serve up your xml.
Have you started writing an app for this, or do you have something like the Scriptrunner App?
Thats a no to both of your questions. I am pretty new to this so am hoping you could provide some guidance on how to proceed? Thanks again!
Ok, so it depends on how much coding you want to do.
If you're happy to write your own Apps, there is a software development kit which helps you a lot, and has references to sample code for generating REST end points.
If you want to do a lot less coding, look at the ScriptRunner add-on (yes, it's my company, I'm trying to be open about it, and there may be other apps that can do something similar, but I'm not aware of them). It allows you to write the code directly inside Confluence, in Java or Groovy (or to support my bad habits - a mix of both!). This means your coding goes from having to write an entire App and pull in everything you need to get it into Confluence down to "code that returns a load of xml".
It looks like you're new here. Sign in or register to get started.