Reply to specific post don't display glyph via API

AI-generated summary

The user jandres is seeking help with the Discourse API, specifically about replying to a specific post and ensuring the reply appears correctly in the browser with the proper reply indicator (arrow glyph). Despite using the reply_to_post_number parameter in the API request, the reply does not display the expected UI in the browser. Johani suggests disabling the suppress_reply_directly_above site setting, which controls whether the in-reply-to UI is shown for direct replies. jandres confirms that this solution worked. Johani explains that this setting hides the reply indicator for direct replies (i.e., replies immediately following the target post), but the indicator appears for subsequent replies. This explains why the reply was not visible in the browser.

Hello team
I’m trying to submit a reponse to an specific post in a topic using the API, but there are something wrong when you see the post on browser. The post response dont show arrow and reply username on post info

The official doc it’s not very clear about how posting a response to an specific post

It was reading this post https://meta.discourse.org/t/reply-to-a-specific-post-via-api/26275 I realize that we need to put ‘reply_to_post_number’:‘#post number’ argument in payload of response.

Anyway, sending this argument you can really reply to a specific post and get this data via API, but when you go in browser, the post seem be a regular topic response (there are not arrow glyph showing who you respond).

You only can realize there are a response to post when you try to edit the post itself
image

Thank you for your help

Try to disable the

suppress_reply_directly_above

site-setting and see if that achieves the result you want.

Thank you @Johani :ok_hand:

I assume it worked, so that means there’s presumably nothing wrong with your implementation.

So here’s a little bit of information about that setting:

It only suppresses the in-reply-to UI for posts that are direct replies to other posts.

if you hit the reply button on a post, and there are no posts between your new reply and the post you’re replying to, Discourse will not show this by default

If you leave the setting on, non-direct replies will still show it, like so

So, the first reply to a post won’t show the in-reply-to UI, but consequent replies will.