The Confluence REST API is provided for developers who want to integrate with or build on top of the Atlassian Confluence platform and administrators who want to script interactions with the Confluence server
Questions tagged [confluence-rest-api]
273 questions
5
votes
3 answers
How to update a page in Confluence 5.5.1 via rest call
I can find the latest API from Atlassian.
https://docs.atlassian.com/atlassian-confluence/REST/5.5.3/#d2e120
I can see that I should be able to update a page via the call "/content/{id}" PUT.
But when I try to PUT I just get a 500 back from the…

jeff porter
- 6,560
- 13
- 65
- 123
4
votes
2 answers
Create Page In Confluence Via Rest API using Java
Does anyone have any examples on how to create a page/wiki entry in Confluence using Confluence's RESTful API? I'm trying to write something in Java that can do this.
Thank you in advance...

Stirling Crow
- 95
- 1
- 11
4
votes
0 answers
How to update a page in confluence using its REST API
I added an attachment successfully to the confluence page but i am unable to update that page. I do have admin permissions to create a page and edit it. I do not know why its not working. Below is the command that i have used to update a page in…

Sandeep
- 81
- 6
4
votes
1 answer
Uploading attachments to Confluence REST API with Python Requests gives 415 and 500 Errors
I am trying to upload an attachment to Confluence via the REST API, using Python Requests. I always get either a "415 unsupported media type" error or a "500 internal server error", depending on how I send the request.
There are several bits of…

Arne Mertz
- 24,171
- 3
- 51
- 90
4
votes
1 answer
How do you post a comment to Atlassian confluence using their REST api?
I'm trying to automatically add a comment to a page in confluence using the REST API.
I am testing using Postman, im pointing at this url: https://###########.atlassian.net/wiki/rest/api/content/
using valid headers, and posting this json:
{
…

Edward Tunnard
- 43
- 1
- 4
3
votes
1 answer
Converting 'curl' command to 'ansible.builtin.uri' module?
I have a file attachment I'm trying to upload to Confluence via the REST API. I can do it by replicating their example with curl, but it's failing when using Ansible and I can't figure out why.
Here's the curl command:
curl -u :…

jeremywat
- 181
- 7
3
votes
1 answer
How to download a Confluence page attachment with Python?
With the atlassian-python-api 1.15.1 module and python 3.6 how can I to download a file attached to a Confluence page ?
The page actions section of the API documentation mentions an API get_attachments_from_content, with which I can successfully…

Tim
- 1,853
- 2
- 24
- 36
3
votes
1 answer
Which version of confluence do which versions of Atlassian plugin SDK support?
I've been trying to find out which versions of Confluence will my plugin support.
Here's the output of my atlas-version command:
ATLAS Version: 8.0.16
ATLAS Home: /usr/share/atlassian-plugin-sdk-8.0.16
ATLAS Scripts: …

chetanya
- 61
- 7
3
votes
1 answer
Getting restrictions from Confluence page
I'm not very savvy with web API calls, but I've been using the following powershell code (this site in this example is one I found that has some public data... my site is internal and requires I pass the credential, which has been working for me…

Xanderu
- 747
- 1
- 8
- 30
3
votes
4 answers
Export a single Confluence page as PDF (Python)
I have a python script which is trying to export a confluence page as pdf and have tried several methods unsuccessfully:
1.WGET:
wget --ask-password --user xxxxxxxx -O out.pdf -q…

DomAyre
- 828
- 1
- 11
- 23
3
votes
1 answer
Atlassian Confluence Basic Login API NOT Working: Page Not Found
Working on Atlassian Confluence Basic Login API in PHP
$url = 'https://mysubdomain.atlassian.net/jira/rest/auth/1/session/';
$curl = curl_init();
$headers = array(
'Content-Type:application/json',
'Authorization: Basic '.…

user3419778
- 856
- 3
- 8
- 11
3
votes
2 answers
Interpreting permissions from the Confluence REST API
I can get a list of permissions from the Confluence REST API (using PythonConfluenceAPI):
p = api.get_space_information(space_key, expand="permissions")['permissions']
I get a list of dictionaries, with information about operations and subjects. …

Ned Batchelder
- 364,293
- 75
- 561
- 662
3
votes
2 answers
Confluence WIki Page Not Updating Through API
I trying to use the Rest API to update our wiki page but nothing seems to be happening even though I am receiving 200 codes.
I've tried to accomplish this through both postman as well as Python, and I am receiving the same server response in both…

Nefariis
- 3,451
- 10
- 34
- 52
3
votes
3 answers
Confluence REST API: HTTP 200 w/ Empty Response
I cannot seem to create a new page on Confluence Cloud v1000.957.0 via the Rest API. I have tried both using cURL and Python to no avail: all I get back is HTTP 200 with an empty JSON response every time. If I change the credentials to be incorrect,…

Ken K
- 57
- 1
- 3
- 8
3
votes
4 answers
How to run kafka rest proxy on windows
How to run kafka rest proxy on windows.
I downloaded confluent-2.0.1-2.11.7.tar.gz
in windows folder i cannot see kafka-rest-start.

Ajay Chaudhary
- 31
- 1
- 4