Forums

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

REST Endpoint to get comment in attachment Versions

Michael Sonnleitner April 3, 2022

Is there a REST endpoint (either offical or experimental) to get the information of all versions inc. comment to a specific attachment. Can not find any in the rest-api-documentation

image.png

 

Thanks in advanced

1 answer

1 accepted

0 votes
Answer accepted
Thiago Masutti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 5, 2022

Hi @Michael Sonnleitner 
I hope you are well.

There's an experimental API method that you can use to get details from each version of an attachment if you have the attachment ID.

<Confluence_BaseURL>/rest/experimental/content/<attachmentID>/version/<version_number>

I hope that helps.

Kind regards,
Thiago Masutti

Michael Sonnleitner April 5, 2022

Thanks but I know this endpoint. 

<Confluence_BaseURL>/rest/experimental/content/<attachmentID>/version

that would work for me....

Michael Sonnleitner April 6, 2022

great. it works

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events