はい、そのための専用 API エンドポイントをご用意しています。以下に例を示します。
curl 'https://meta.discourse.org/embed/info?embed_url=https://blog.discourse.org/2021/04/discourse-team-grows-to-50' -H 'API-KEY: logapikeygoeshere' -H 'API-USERNAME: apiusernamehere'
レスポンスは以下の通りです。
{
"topic_id": 187794,
"post_id": 925017,
"topic_slug": "discourse-team-grows-to-50-blog",
"comment_count": 2
}
ご質問ありがとうございます。これを OP に追加しました。