Discourse APIをリバースエンジニアリングしましたか? topic_idとpost numberが返されると確信しています。URLは /t/-/topic_id/post_number です。