네, 해당 기능을 위해 전용 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
}
좋은 질문이네요. 원문에 추가해 두었습니다.