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
1 answer
Uploading an attachment in C# using multipart/form-data (Confluence)
I have been trying to post an attachment on a confluence page by following the Confluence Documentation on posting an attachment .
I tried the following code to upload an attachment (.txt file or any image file). I also worked with the curl command…

Vinni
- 23
- 1
- 6
0
votes
1 answer
Trying to use confluence API getting (Oops, you've found a dead link.)
Looking at the docs this REST URI should be correct:
https://tenant.atlassian.net/rest/api/content/search?cql=space=myspace
Why I browse to this URL in chrome (after logging in) I'm getting a dead link.
When I try the following powershell script I…

red888
- 27,709
- 55
- 204
- 392
0
votes
1 answer
Confluence REST API Search - Error with encoding CQL query when encoding
I am using both Postman and Javascript to query the Confluence API on a Cloud atlassian.net account.
When I use + in places of the spaces for CQL it works for me (so this isn't a matter of working out authorization - this…

aaron blythe
- 324
- 1
- 7
0
votes
2 answers
Fetch contents of confluence article through REST api with only the tiny URL
Is there a way to use the Confluence REST api to fetch the content of an article if all I have is the tiny url? I know how to do it if I have the page ID or the space/title, but so far I can't figure out a way to translate these tiny urls into…

gsharp
- 27
- 5
0
votes
1 answer
Confluence User Mention Wiki Markup
I am creating Blog articles on Confluence via the REST API. I'd like to use User Mentions within the article, e.g. the same thing as @Ben Rogers would give you when posting directly through the UI.
I can't find anything in the documentation so I'm…

Ben Rogers
- 21
- 3
0
votes
2 answers
Work with Confluence Space Permissions via REST API 5.5+
How can I get / add / remove Space permission via REST API for Confluence 5.5 + ?
I didn't find nothing about permission in official docs: https://docs.atlassian.com/atlassian-confluence/REST/latest/

beowulf13th
- 447
- 1
- 6
- 16
0
votes
2 answers
Can libcurl.net be used to post a new page to confluence?
I'm just getting started using the REST API to create pages.
I'm trying to configure a basic example and I thought of using libcurl.net to do it.
Does anyone see any reason why that wouldn't work?
UPDATE:
Here is what I have so far adapted from the…

mreinsmith
- 154
- 3
- 14
0
votes
1 answer
Confluence API to create comments in Python
I'm trying to run the example on the Confluence REST API Python site to add comments to a wiki page. Everything until parentPage works (as in, it gets the correct page from our intranet wiki), but when I run the requests.post, it does not actually…

PS376
- 539
- 8
- 13
0
votes
1 answer
Get list of new wiki pages using Confluence API
My goal is to retrieve the number of the new pages created each month in Confluence. I want to use Confluence API, but Get Content doesn't seem like it provides the type of customization that would allow for returning a list of new pages or the…

Grover
- 3
- 1
0
votes
2 answers
How to mention another user on Confluence through the REST API?
I am trying to insert a mention in a confluence page through the REST API.
I tried placing the [~xxxx] in the middle of the content but it doesn't seem to work. When I open the page I see [~xxxx] instead of a link to the mentioned user.
I placed…

slawert
- 1
- 3
0
votes
1 answer
How to query jira tickets information to fill in the chart macro required data in Confluence?
I created a confluence template in which I want to insert a chart(pie) showing the status of tickets related to a specific project. I want the chart macro could retrieve the number of different tickets by their type in JIRA automatically so that…

qingl97
- 327
- 4
- 14
0
votes
1 answer
Advanced Search with Confluence CQL Error
Iam looking for a order function in confluence CQL.
I want to order by TYPE (page, comment, etc)
How is it possible?
I tried this, but it doenst…

fcb1900
- 339
- 4
- 21
0
votes
0 answers
XML: Transforming incorrect/unhelpful markup into helpful markup
I am trying to solve a very specific problem resulting from thousands of pages of MediaWiki wikicode which were incorrectly parsed into Confluence's XML syntax. Unfortunately, the original wikicode is no longer available, so the task at hand is to…

Daniel
- 5
- 3
0
votes
1 answer
Confluence REST API Search - Error with encoding CQL query for HTTP GET
I am working with the following documentation to implement REST-based searching using Confluence CQL: https://developer.atlassian.com/confdev/confluence-rest-api/advanced-searching-using-cql and…

rc1
- 483
- 4
- 19
0
votes
1 answer
Java 8: Apache HttpClient failing authentication
I am attempting to use Apache HttpClient API to access Atlassian Confluence wiki pages.
Here is my code:
public class ConcfluenceTest{
public static void main(String[] args) {
String pageID = "107544635";
String hostName =…

scottysseus
- 1,922
- 3
- 25
- 50