Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

On-premise REST API for Confluence

Pranab Bhatta November 4, 2018

Hi All,

 

I have installed the on-premise setup for Confluence (6.10.1). I am not sure if REST API is enabled by default or I have to enable.

1) If I have to enable it, can anybody let me know how to do this?

2) If enabled by default, what would be the request URL.?

3) Is the API documentation for on-cloud and on-premise would be same?

 

Awaiting response.

 

Thanks,

Pranab

2 answers

1 accepted

3 votes
Answer accepted
Alexey Matveev
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.
November 4, 2018

Hello,

1. Rest Api is enabled

2. URIs for the Confluence REST API resource have the following structure:

With context: http://host:port/context/rest/api/resource-name

Or without context: http://host:port/rest/api/resource-name

Example with context: http://example.com:8080/confluence/rest/api/space/ds

Example without context: http://confluence.myhost.com:8095/rest/api/space/ds

3. You can find rest api reference for on prem here:

https://docs.atlassian.com/ConfluenceServer/rest/6.12.1/

0 votes
Gunnarsson Johan _2_ September 6, 2023

Important to note for on-premise installations is that authentication should be with the Bearer:-protocol, as explained in the docs here: https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events