The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Retrieve last modified date information of a page

Lakshmi Priya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 25, 2019

Hi,

I am looking for a REST API that would return last modified date of a page. Input to the API will be page URL. 

I got this information 

http://confluenceurl/rest/api/content/search?cql=lastModified>=now("-1d")

but this is listing all page details, not the last modified date

 

Regards,

Lakshmi

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Pavel Potcheptsov
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 Champions.
October 25, 2019

It looks like you've chosen wrong way to get what you need.

From the documentation LastModified is for

Search for content that was last modified on, before, or after a particular date (or date range).

But you need to get specified property of page.

I expect that you need to query for page content and filter output to get UpdatedDate field.

TAGS
AUG Leaders

Atlassian Community Events