Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

New to Confluence REST API

Jeremiah Dost March 10, 2018
Hi all, just introducing myself. I recently have started tackling the problem of keeping documentation up to date against external sources at my work and have been delving into the Confluence REST API for that purpose. I'm relatively new to programming in general, so looking to learn a ton here.

1 comment

Comment

Log in or Sign up to comment
Craig Castle-Mead
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 10, 2018

Hey Jeremiah,

Step 1 - bookmark the relevant REST documentation page - you'll be visiting them frequently! Server and Cloud

Step 2 - get a tool like https://www.getpostman.com/ so you can easily trigger requests

While the documentation is quite in depth, I personally often start by viewing the actual calls that are made while interacting with the application itself. In Chrome, this is under Developer Tools > Network (https://developers.google.com/web/tools/chrome-devtools/network-performance/reference) it will show you all of the HTTP(s) requests being made by the browser. If you then filter to XHR (one of the buttons with ALL | XHR | JS | Img | Media etc). Any rest calls should show up under the XHR filter - you'll then be able to see what calls were made, what HTTP method is being used (GET, POST, DELETE etc) and see the JSON payloads that are submitted etc. It will also show you the responses received. I'll often start by spying on this real world traffic, triggering an action similar to what I want to achieve, look at the call - try and replicate and/or check the documentation for that REST endpoint for further options.

CCM

TAGS
AUG Leaders

Atlassian Community Events