You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
There's a doc on using the REST API to attach files to Confluence Server over at https://confluence.atlassian.com/confkb/using-the-confluence-rest-api-to-upload-an-attachment-to-one-or-more-pages-1014274390.html
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" https://inside-docupedia.company_name.com/confluence/rest/api/content/page_id/child/attachment | jq -r '.results.title'
this error pops up to me
parse error: Invalid numeric literal at line 1, column 10
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?