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
0
votes
2 answers
Get whole Space Content from Confluence REST Api
Is it possible to get the whole content of a Confluence Space from REST Api?
I try this example curl -u admin:admin http://localhost:8080/confluence/rest/api/content/3965072?expand=body.storage
But this is only the first page content.

user3498116
- 31
- 1
- 5
0
votes
1 answer
Confluence Prototype REST API - create a page?
Is it even possible to create a page using the Prototype REST API?
I know how to do this using the REST API (available with Confluence 5.5 and up), but I'm not sure how to do this on older versions.
For new api, I do it like that:…

alchemiss
- 398
- 4
- 16
0
votes
1 answer
Python: String to HTML5 table without external modules
Brand new to python and am running into an annoying formatting issue. I wrote a script that logs onto Confluence and posts content. Unfortunately, the Confluence page only recognizes HTML5 syntax and getting this formatted is taking me wayyy…

MrPickles
- 1,255
- 1
- 16
- 31
0
votes
1 answer
How to get the list all users in confluence using rest API
I am trying to get the list of all users with their email addresses from a confluence cloud instance using their REST API. There is nothing in their documentation regarding users. Also the email address is never embedded in any of the response…

Nandu Kalidindi
- 6,075
- 1
- 23
- 36
0
votes
0 answers
How to create a CDATA node in HTML with jQuery
I have been given the task of publishing our existing documentation to a Confluence wiki. I'm using node.js and jQuery to convert the html output from our doc tool to the Confluence format, and everything is going well, except when I try to display…

SaganRitual
- 3,143
- 2
- 24
- 40
0
votes
0 answers
Confluence content REST api result size mismatch issue
trying confluence rest api to read comments for given page - from below rest calls but its giving different result when add expand (_expandable) body.view
Total : comment for given ID (some page id) is 28
Request 1) able to get 25 in first and rest…

nik
- 1
- 2
0
votes
1 answer
Unexpected grunt-http error when posting to Atlassian Confluence api
Attempting to create a wiki page on an Atlassian wiki. I previously was using a python script and this code worked no problem:
data = json.dumps({"type":"page", "data":"testData", "title":postTitle,"space":{"key":"EB"}, "body":{"storage":{"value":…

z0d14c
- 1,122
- 1
- 12
- 20
0
votes
2 answers
How to create confluence page with JiraChart using Rest API
I need to create a confluence page via REST API which contains a JIRA Chart
according to: https://confluence.atlassian.com/display/DOC/JIRA+Chart+Macro and https://developer.atlassian.com/display/CONFDEV/Confluence+REST+API+Examples
my implement…

yelliver
- 5,648
- 5
- 34
- 65
0
votes
2 answers
Ant task to automate running a cmd
I need to run a command like this:
atlassian confluence --action addLabels --labels labelName --space nameOfSpace --title "title name"
for a long list of titles. The command only accepts a single title argument and parameter.
Can I automate this…

user3762977
- 651
- 2
- 15
- 27
0
votes
1 answer
Jquery Get Local pc ip address and check administrator
in my organization all http sites are blocked
and i want ip address and to check administrator if not then logout in sharepoint.
I am using http://ipinfo.io to fetch ip address. but now this is blocked and when i am using https://ipinfo.io it is…

Richa Jain
- 641
- 6
- 19
0
votes
2 answers
How can I convert XML to HTML?
I try to get a HTML page from Atlassian Confluence API but it returns a context like this. How can I convert these to standard HTML tags?

maskapsiz
- 244
- 5
- 23
-1
votes
1 answer
Edit for a page is not offered even though I have admin privileges
I am an admin on Confluence and I cannot edit a page although I have all the possible privileges as shown in the screenshots attached. I think it is a bug, why is this happening and how can this be solved?
the privilege for editing is ON but the…

Mouna Camelia Hammoudi
- 596
- 1
- 5
- 19
-1
votes
1 answer
Append string and special character in the output of jq command
I have a json file GroupList.json:
{
"results": [
{
"type": "known",
"username": "USERID1",
"displayName": "DISPLAYNAME1",
"_links": {
"self": "https://confluence.com/rest/api/user?key=123"
},
…

sheerak
- 13
- 1
- 3
-1
votes
1 answer
Grabbing value from Confluence JSON response
I'm trying to grab the ID field from the JSON response of a confluence page, that data looks like this:…

ANewGoUser1
- 1
- 3
-1
votes
1 answer
How to Fetch the value of any item from the JSON output in Python?
I have a function in python which is fetching the data in JSON format and I need to get the value of one item and store it in variable so I could use it another function
import requests
import json
import sys
def printResponse(r):
print '{}…

unknown
- 1,815
- 3
- 26
- 51