Page Restrictions via the v2 API

Hello,

Is there a way to get the restrictions applied to a page in Confluence via the v2 API?

I can get it via v1 with the following:

page_id = "1234567890"

url = f"https://COMPANYURL/wiki/rest/api/content/{page_id}/restriction"

headers = {
        "Accept": "application/json"
}

response = requests.request(
        "GET",
        url,
        headers=headers,
        auth=AUTH
)

print(json.dumps(json.loads(response.text), sort_keys=True, indent=4, separators=(",", ": ")))

I don’t see anything sticking out in the documentation for v2

Thank you

Nevermind, using the v2 api

https://COMPANYURL/wiki/api/v2/pages/{page_id}/restrictions

Returns a response with content of “Under construction”