Questions tagged [confluence-rest-api]

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

273 questions
27
votes
2 answers

How to create new page in Confluence using their REST API?

I need working example of creating new wiki page in confluence using rest api. I prefer the new page to be created under specific space and specific page. I read their api documentation and looked at few examples they had and still coming short.…
DoodleKana
  • 2,106
  • 4
  • 27
  • 45
19
votes
5 answers

Python client error 'Connection reset by peer'

I have written a very small python client to access confluence restful api. I am using https protocol to connect with the confluence. I am running into Connection reset by peer error. Here is the full stack…
Rakesh
  • 3,987
  • 10
  • 43
  • 68
16
votes
2 answers

Using the Confluence REST API, is there anyway to retrieve pageview count for a given page?

I am using the REST Confluence API to retrieve a bunch of data around our Confluence pages, such as version, last modified, created, etc. However, I don't see any way to retrieve page views. Do you know if this is accessible through any of their…
leora
  • 188,729
  • 360
  • 878
  • 1,366
13
votes
6 answers

Start Confluent Schema Registry in windows

I have windows environment and my own set of kafka and zookeeper running. To use custom objects, I started to use Avro. But I needed to get the registry started. Downloaded Confluent platform and ran this: $ ./bin/schema-registry-start…
9
votes
1 answer

How to post Swagger API documentation to Atlassian Confluence programmatically? (Usage of Swagger Confluence tool and Confluence REST API)

I'm trying to upload my Swagger JSON schema (myapi.json) into Atlassian Confluence using the swagger-confluence standalone tool. The standalone CLI .jar should (according to my understanding) operate like this (used this page for credentials Base64…
straville
  • 986
  • 3
  • 15
  • 21
9
votes
3 answers

Update a page in Confluence using REST API

This is what I've currently got and it creates a new Confluence page. It doesn't update it. Also it posts it in the root space, TST, but I want it to be in TST/space1/subsection2/updateThisPage. curl -v -u admin:admin -X POST -H Content-Type:…
GregWringle
  • 445
  • 3
  • 6
  • 16
9
votes
1 answer

Get content with url confluence REST API

Hi I have noticed several ways to get the content with the REST API. Although I was wondering if there is a way to get the content directly from the url without calling the space and title. Meaning if I have…
adjective_name
  • 453
  • 2
  • 8
  • 19
9
votes
4 answers

How to upload a file to Atlassian Confluence page using curl

I am trying to upload an .xls file to a Confluence wiki page following the guidelines given in the Remote API documentation :…
Periastron
  • 663
  • 2
  • 10
  • 15
8
votes
1 answer

How do the various Confluence document formats differ?

I am working with the Confluence REST api, and want to extract some documents. The document body is available in several formats: editor, storage, view, export_view, anonymous_export_view,... But I have not found a description anywhere of what they…
alexis
  • 48,685
  • 16
  • 101
  • 161
8
votes
3 answers

How can I create a new page to confluence with Python

I am trying to create a new page into confluence using Python's xmlrpclib. I already know how to update content of an existing page, but how can I create a totally new page? I have used following script to update content: import…
MadJuan
  • 81
  • 1
  • 1
  • 2
8
votes
2 answers

How to use Apache kafka with Spring mvc ? Is it possible?

I am beginner with apache kafka and trying to learn confluent - kafka - rest - utils, however I am confusing with how can I use it. During search I found this documentation…
Jimmy
  • 1,719
  • 3
  • 21
  • 33
7
votes
3 answers

In C#, what is the right way to post attachments to Confluence REST API?

I am migrating from Confluence's SOAP API to using their REST API. I see there is support for adding attachments to a page (by doing a POST) but I am running into issues getting it to work (I am getting a 403: Forbidden Error message). I have…
leora
  • 188,729
  • 360
  • 878
  • 1,366
6
votes
0 answers

Ignore HTML formatting when publishing articles with Confluence Cloud API

I am trying to publish article on Confluence using REST API. When I am preparing the article in storage format, I indent the content as if I would HTML code, with newlines and spaces. The problem is that when article gets published all these…
Dany
  • 4,521
  • 1
  • 15
  • 32
6
votes
4 answers

Update/delete confluence page using python code

I want to update a confluence page through the Confluence REST API. Please suggest a code snippet with which I can update the page through its "Page Title". Assume my confluence site is https://wiki.mydomain.com, the page title is TEST and the space…
Rishi
  • 81
  • 1
  • 1
  • 3
5
votes
1 answer

Atlassian Confluence : how do I update page using REST API

I am trying to update a Confluence page using this code: https://bitbucket.org/jaysee00/confluence-rest-api-example/src/master/src/main/java/com/atlassian/api/examples/Main.java Code is: public class Confluence { /** * Demonstrates how to update a…
eeijlar
  • 1,232
  • 3
  • 20
  • 53
1
2 3
18 19