Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I get the body of a page via API?

Adrian Germeck February 27, 2018

Hi,

I am using this link

http://example.myhost/rest/api/content/{id}

to get the content of my page.

But how do I get "Content: Person C_Version 01C" (shown below)?

Question.png

1 answer

1 accepted

0 votes
Answer accepted
Jason B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 2, 2018

Hi Adrian,

You can just take that same URL and add ?expand=body.export_view onto the end.  That should give you the content of that particular page.

I hope this helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events