Hi,
I wan to develop a Confluence plugin that will connect to Confluence DB (postgres) and run a sql query and return the data as part of a REST API response. The API will be exposed by the plugin & will be called from applications that are external to Confluence.
While exploring the ways to write plugins that expose their resources though REST APIs i got the below 2 links of Atlassian developers portal.
I wan to know the difference between these two and which approach will be correct for my requirement.
Thanks
Ayaskant