# How to edit post with API without bumping topic?

**URL:** https://meta.discourse.org/t/how-to-edit-post-with-api-without-bumping-topic/192248
**Category:** Support
**Created:** [June 1, 2021, 5:04am UTC](https://meta.discourse.org/t/how-to-edit-post-with-api-without-bumping-topic/192248 "2021-06-01T05:04:48Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![tessus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tessus/32/126320_2.png) [@tessus](https://meta.discourse.org/u/tessus)
#### Post date: [June 1, 2021, 5:04am UTC](https://meta.discourse.org/t/how-to-edit-post-with-api-without-bumping-topic/192248/1 "2021-06-01T05:04:49Z")

</div>

I’ve searched the forum, but only found topics related to replies. None of them mentioned edits or the API.

I use one topic as a status update for a repository action that happens every 30 minutes. I’m updating the post (editing the first and only post within that topic) via the API.  
Unfortunately the topic is thus bumped every 30 minutes. This is rather annoying. Is there any way I can update/edit a post (via API) without bumping the topic?

---

<div class="post-metadata">

### Author: ![Mark\_Schmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_schmucker/32/124810_2.png) [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)
#### Post date: [June 1, 2021, 5:35am UTC](https://meta.discourse.org/t/how-to-edit-post-with-api-without-bumping-topic/192248/2 "2021-06-01T05:35:44Z")

</div>

You can [reset the bump date](https://meta.discourse.org/t/what-is-reset-bump-date/111071) manually. To see how to do it from the API, you can [reverse engineer](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576) it. Looks like this should work:

`PUT /t/{topic-id}/reset-bump-date`

---

<div class="post-metadata">

### Author: ![tessus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tessus/32/126320_2.png) [@tessus](https://meta.discourse.org/u/tessus)
#### Post date: [June 1, 2021, 6:05am UTC](https://meta.discourse.org/t/how-to-edit-post-with-api-without-bumping-topic/192248/3 "2021-06-01T06:05:28Z")

</div>

Thanks for the reply, but I’m afraid this makes no sense. As soon as I edit the post it has already been bumped. So I am sorry, but I don’t understand how this would help me.

Do I reset the bump date once and all consecutive edits won’t bump the topic? The explanation in the link is rather vague. When do I reset the bump date? Before? After? If the latter, I still don’t understand. At that time the topc already got bumped.

---

<div class="post-metadata">

### Author: ![Mark\_Schmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_schmucker/32/124810_2.png) [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)
#### Post date: [June 1, 2021, 6:37am UTC](https://meta.discourse.org/t/how-to-edit-post-with-api-without-bumping-topic/192248/4 "2021-06-01T06:37:35Z")

</div>

Edit the post. Go to your latest- it’s bumped (annoying). Now reset the bump date. Go to your latest- it’s no longer at the top.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 1, 2021, 8:59am UTC](https://meta.discourse.org/t/how-to-edit-post-with-api-without-bumping-topic/192248/5 "2021-06-01T08:59:54Z")

</div>

Maybe you want to mute the topic or put it in a category that isn’t in /latest?

---

<div class="post-metadata">

### Author: ![tessus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tessus/32/126320_2.png) [@tessus](https://meta.discourse.org/u/tessus)
#### Post date: [June 1, 2021, 4:42pm UTC](https://meta.discourse.org/t/how-to-edit-post-with-api-without-bumping-topic/192248/6 "2021-06-01T16:42:47Z")

</div>

So basically what I want is not possible.

Ok, I have given up on using Discourse for a status page.

Here are my comments to previous replies:

> [@Mark\_Schmucker](#):
>
> Go to your latest- it’s bumped (annoying). Now reset the bump date.

Ok, so it’s bumped anyway. Not a solution. Not even a workaround. Sorry.

> [@pfaffman](#):
>
> mute the topic or put it in a category that isn’t in /latest

How do I mute the topic for everyone? Right, not possible.  
Putting it in a category that isn’t in /latest is not a usable workaround. Also, it would still bump within its category, just not in /latest, wouldn’t it?

I’m grateful for your answers, but unfortunately the real answer is: _There is no way to do that. It is not possible._

No mattter, I will use something other than Discourse for the status update page.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 1, 2021, 4:59pm UTC](https://meta.discourse.org/t/how-to-edit-post-with-api-without-bumping-topic/192248/7 "2021-06-01T16:59:56Z")

</div>

> [@tessus](#):
>
> How do I mute the topic for everyone? Right, not possible.

You could hide the topic. You could put the topic in a category that is default muted. You could hide it completely and then add it …somewhere… with a theme component.

---

<div class="post-metadata">

### Author: ![tessus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tessus/32/126320_2.png) [@tessus](https://meta.discourse.org/u/tessus)
#### Post date: [June 1, 2021, 5:24pm UTC](https://meta.discourse.org/t/how-to-edit-post-with-api-without-bumping-topic/192248/8 "2021-06-01T17:24:06Z")

</div>

I have already unlisted it, but it still bumps for admins.

Either way, it should be pinned in a certain category but not bumped whatsoever. But as I have already found out… it’s just not possible. Trying to find workarounds that require a compromise are not very useful to me. I’m ok with not using Discourse for such a use-case. It was just not built for this. That’s ok.

---

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [June 1, 2021, 7:05pm UTC](https://meta.discourse.org/t/how-to-edit-post-with-api-without-bumping-topic/192248/9 "2021-06-01T19:05:32Z")

</div>

Can’t you use a second API call to reset the bump date immediately after updating the topic?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [June 1, 2021, 9:05pm UTC](https://meta.discourse.org/t/how-to-edit-post-with-api-without-bumping-topic/192248/10 "2021-06-01T21:05:44Z")

</div>

> [@tessus](#):
>
> Ok, I have given up on using Discourse for a status page.

We have built several plugins for Enterprise customers that poll their preexisting status page and place a banner on the Discourse site to notify users of outages.

Getting a similar plugin that works with a common service like [status.io](http://status.io) onto our hosting plans seems like a viable path forward.

---

<div class="post-metadata">

### Author: ![tessus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tessus/32/126320_2.png) [@tessus](https://meta.discourse.org/u/tessus)
#### Post date: [June 1, 2021, 10:40pm UTC](https://meta.discourse.org/t/how-to-edit-post-with-api-without-bumping-topic/192248/12 "2021-06-01T22:40:26Z")

</div>

Not really. Unless you find a way to recall RSS feeds.

I asked: _How do I edit a post via API without bumping the topic_. There’s only one valid answer: You can’t.

Unless we go down the buts-and-ifs road… Please note that I mentioned that I’m ok with the fact that it is not possible.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 1, 2021, 10:59pm UTC](https://meta.discourse.org/t/how-to-edit-post-with-api-without-bumping-topic/192248/13 "2021-06-01T22:59:22Z")

</div>

So you just…poll something and if there’s news then you stick it in, say, a custom site setting, and add it to the serializer and stick it in somewhere with a plugin outlet?

Something like that?

EDIT: Oh, it’s so much easier than that. I’m still programming in the 1990s.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [June 2, 2021, 7:33am UTC](https://meta.discourse.org/t/how-to-edit-post-with-api-without-bumping-topic/192248/15 "2021-06-02T07:33:56Z")

</div>

Yeah - I failed to realize that one of the plugins to do this is already public, though I’m not sure I like the visual design.

[https://github.com/discourse/discourse-atlassian-statuspage](https://github.com/discourse/discourse-atlassian-statuspage)
