Forums

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

Possibly silly question - How can I get a list of the attachments?

Harry Melamed March 11, 2025

I'm new to the Confluence API after I have conquered the JIRA API and I'm stuck.

Hoping there is a kind soul out there that will help me through this.

I need to get the list of attachments from a page and then access each one of them for special processing.

When I follow the documentation, I just get a 404 error.

Tried this 

 

 

https://xxxx.xxx/wiki/rest/api/content/1146120038/child/attachment
and this

https://xxx.xxx/confluence/rest/api/content/1146120038/child/attachment

1 answer

0 votes
Shawn Doyle - ReleaseTEAM
Community Champion
March 20, 2025

Hi @Harry Melamed 

 

You can get them from the database directly, some examples here:  How do I list all attachments in Confluence with their location and file sizes? | Confluence | Atlassian Documentation

Or use the CQL, this question/answer has a good example.  Solved: REST API call to return page attachments (created ...

 

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events