Get Page title via REST API


#1

If I know the page ID, how can I retrieve the page title via REST?

(It used to be easy, just use the page URL; but after the recent upgrade of Confluence, the title taht is rerurned is the space title)


#2

Hi @madamx1993,

Kindly try Get content by ID REST API. Using the said API, given the page ID 236912641 for example, I was able to get the title

{
    "id": "236912641",
    "type": "page",
    "status": "current",
    "title": "Hello! This is the page title",
    "space": {
        "id": 10944514,
        "key": "~admin",
        ...
     }
...
}

Hope this helps.
Ian