I'm trying to export to PDF a page without knowing its page ID via REST API or the Atlassian Python API.
I only have its URL. Here's an example of the URL:
https://my-product.atlassian.net/wiki/spaces/MY-SPACE-NAME/overview
As I only have the URL, without knowing its page ID, I tried understanding how such export can work, and for now it doesn't seem promising.
I've noticed that when I try to get the space's content, the page I'm looking for is returned. In fact, on this page's _links attribute, there's another attribute called webui whose value is /spaces/MY-SPACE-NAME/overview (in addition to the self page attribute, that returns the actual link of the page https://my-product.atlassian.net/wiki/rest/api/content/PAGE-ID).
Other than getting the space's entire content and start looking for the webui attribute that matches the URL I'm looking for, is there a better option to export the page to PDF?
Thanks everyone in advance!