I am looking to return a SharePoint page's Record Status to see whether a page is locked or unlocked using power automate.
I am currently trying to do this using the "Send an HTTP request to SharePoint" webpart but am having trouble creating the correct Uri.
I tried doing this with LockedByUser (_api/web/GetFileByServerRelativeURL('#')/LockedByUser) but this always returns "LockedByUser": null even if the page is locked. I also tried doing this by seeing if the page is Checked Out but locking it does not automatically check out that page.

Report
All responses (
Answers (