Confluence rest-api get blogpost

Patrik Ytterström
Contributor
November 20, 2018

How to get the latest blogpost from Confluence rest-api ?

1 answer

1 accepted

1 vote
Answer accepted
Santwana Sarangi {Appfire}
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.
November 20, 2018

Hi Patrik,

 

Here is the rest api <Confluence url>/rest/api/content/search?cql=type=blogpost order by lastmodified desc.  The topmost result will give you the latest blog post based on the updated date. If you want based on the created date, then replace the "lastmodified" with "created".

 

Thanks,

Santwana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events