Given you have a URL, how can you get the post ID of a post on a remote WordPress site?
As far as I can tell, you would have to:
HTTP GET /wp-json/v2/posts
And then look for your URL, but the problem is that this endpoint will only return 100 results by default.
I don't want to have to download the ENTIRE content of a site just to find the post ID of a given URL. In V1 you could submit a query, but I think that's been depreciated. Any better ways to do this?