Forums

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

all comments and their child from a page

emir June 27, 2020

How I can get all comments and their child from a page under the confluence cloud version ?

2 answers

0 votes
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 30, 2020

Hi @"NEWSCRIPTALERT("1HELLO"1)/SCRIPT ,

To get all the comments you can use below REST API endpoint:

  • wiki/rest/api/content/{ID}/child/comment?expand=body.view&depth=all

Another option should be:

  • wiki/rest/api/content/{ID}/child/comment?expand=children.comment

 

For further details please see:

 

I hope this helps.

 

Cheers,
Dario

0 votes
Rudy Holtkamp
Community Champion
June 28, 2020

Hi @"NEWSCRIPTALERT("1HELLO"1)/SCRIPT ,

It's quite a broad question.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events