I’m wondering whether there’s a way through Discourse API to get the post id from a canonical post url such as
https://myweb.site/t/<topic_id>/<post_number> where of course TN is the topic id/number and PN is the post number.
I did a few tries using the post stream data from
https://myweb.site/t/<topic_id>.json, thinking that, for example, post_number N would be the n-th post id in the
post_stream->stream data returned by the call, but if posts were deleted or split were done in the topic posts flow, the post_number does not correspond to the n-th position in the
Am I missing something obvious?