Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Upload File on Confluence using REST API

Suraj Shrivastav July 13, 2020

Hi All,

Do we have any add-ins or API which allow command line file upload to Confluence Space. 
Or is there any method available for a file from shared folder to be uploaded to Confluence space automatically everyday.

Also, please let me know if it require System admin rights or space admin rights will work to upload any file on Confluence using REST API

Regards,

Suraj Shrivastav

2 answers

0 votes
dangvanbang1802
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 5, 2021

please give me the code link

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 13, 2020

Yes, the REST API has functions for working with attachments.  It has the same permissions as the web front end.  So you need to log in as a user who has the permission to attach files in the space.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events