Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

I need a script to upload attachment to docupedia

I need a python script in order to upload a file to docupedia page, how could I make that?


2 answers

0 votes

There's a doc on using the REST API to attach files to Confluence Server over at

It's not Python, you'll need to find Python code that can make REST calls, but that doc tells you what content you'll need to be sending.

when I run this command,

curl -u username:password -X POST -H "X-Atlassian-Token: nocheck" -F "file=file_name" | jq -r '.results[].title'

this error pops up to me

parse error: Invalid numeric literal at line 1, column 10

That looks like a jq error - try removing the pipe to jq from the command to see what curl is actually getting.

0 votes

Hi @Hagar Mohamed and welcome,

Perhaps you are not on the right community asking the right questions..

Can you explain more the need you have in regards to Confluence? How confluence relates to docupedia? How have you integrated the two systems?

docupedia is a part of confluence, our company ask confluence to make it for us,
https://inside-docupedia."our company name".com/confluence/ this is the URL

Ah! It seems that you have installed confluence inside a domain, but I honestly do not know the answer to your question.

thank you, is there another place should I ask my question in?

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events