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

211 questions
25
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
  • 1,826
  • 3
  • 26
  • 42
16
votes
1 answer

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
  • 163,579
  • 332
  • 834
  • 1,328
14
votes
4 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,507
  • 8
  • 40
  • 63
12
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

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…
angry_einstein
  • 343
  • 1
  • 7
  • 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
  • 653
  • 1
  • 10
  • 15
8
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
  • 937
  • 2
  • 11
  • 20
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,289
  • 2
  • 16
  • 30
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
  • 163,579
  • 332
  • 834
  • 1,328
5
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
  • 43,587
  • 14
  • 86
  • 141
5
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
  • 51
  • 1
  • 2
5
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
  • 305
  • 4
  • 15
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,196
  • 13
  • 59
  • 112
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

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,010
  • 2
  • 11
  • 40
1
2 3
14 15