# 주제 답변에 어떻게 답을 해야 하나요?

**URL:** https://meta.discourse.org/t/how-to-reply-to-topic-reply/194297
**Category:** Development
**Created:** [6월 18, 2021, 12:40오후 UTC](https://meta.discourse.org/t/how-to-reply-to-topic-reply/194297 "2021-06-18T12:40:46Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Thottempudi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thottempudi/32/166138_2.png) [@Thottempudi](https://meta.discourse.org/u/Thottempudi)
#### Post date: [6월 18, 2021, 12:40오후 UTC](https://meta.discourse.org/t/how-to-reply-to-topic-reply/194297/1 "2021-06-18T12:40:46Z")

</div>

하나의 주제에 여러 개의 답글이 있는 경우, 로그인한 사용자가 해당 주제에 대한 답글에 답글을 남겨야 합니다. (즉, 답글 작성자에게 답하는 것)  
Discourse API에서 이러한 기능을 제공하는 메서드가 있나요?

---

<div class="post-metadata">

### Author: ![Nacho\_Caballero](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nacho_caballero/32/130189_2.png) [@Nacho\_Caballero](https://meta.discourse.org/u/Nacho_Caballero)
#### Post date: [6월 18, 2021, 12:50오후 UTC](https://meta.discourse.org/t/how-to-reply-to-topic-reply/194297/2 "2021-06-18T12:50:55Z")

</div>

이 방법을 시도해 보셨나요?

> [@Reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576):
>
> Discourse is backed by a complete JSON api. Anything you can do on the site you can also do using the JSON api. The API is documented at [docs.discourse.org](https://docs.discourse.org). You can also use the [discourse\_api](https://github.com/discourse/discourse_api) Ruby gem as a client library. However, not every endpoint is documented. To determine how to do something with the JSON API here are some steps you can follow. Example: recategorize a topic. Go to a topic and start editing a category: Open Chrome dev tools, switch to the Network tab, select …

간단한 POST 요청이면 될 것 같습니다.

---

<div class="post-metadata">

### Author: ![Thottempudi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thottempudi/32/166138_2.png) [@Thottempudi](https://meta.discourse.org/u/Thottempudi)
#### Post date: [6월 18, 2021, 2:04오후 UTC](https://meta.discourse.org/t/how-to-reply-to-topic-reply/194297/3 "2021-06-18T14:04:46Z")

</div>

[https://docs.discourse.org/#tag/Posts](https://docs.discourse.org/#tag/Posts)에서 해당 메서드가 사용 불가능함을 확인했습니다.

---

<div class="post-metadata">

### Author: ![Nacho\_Caballero](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nacho_caballero/32/130189_2.png) [@Nacho\_Caballero](https://meta.discourse.org/u/Nacho_Caballero)
#### Post date: [6월 18, 2021, 2:53오후 UTC](https://meta.discourse.org/t/how-to-reply-to-topic-reply/194297/4 "2021-06-18T14:53:00Z")

</div>

API 문서가 의도적으로 불완전합니다.

위에서 공유한 링크를 따라가면, 자신의 상황에 맞는 올바른 명령어를 어떻게 찾는지 확인할 수 있습니다:

```plaintext
POST https://yourdomain.com/posts

# body
raw: 'Your contents'
topic_id: your_topic_id

```

---

<div class="post-metadata">

### Author: ![Thottempudi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thottempudi/32/166138_2.png) [@Thottempudi](https://meta.discourse.org/u/Thottempudi)
#### Post date: [6월 18, 2021, 3:24오후 UTC](https://meta.discourse.org/t/how-to-reply-to-topic-reply/194297/5 "2021-06-18T15:24:26Z")

</div>

topic\_slug: “how-to-reply-to-topic-reply”, 이 항목에 대한 API 메서드를 공유해 주세요.

[https://dev-discourse.conversant.pro/](https://dev-discourse.conversant.pro/)
