# performPostAction type IDs

**URL:** https://meta.discourse.org/t/performpostaction-type-ids/256100
**Category:** Development
**Created:** [February 23, 2023, 7:25pm UTC](https://meta.discourse.org/t/performpostaction-type-ids/256100 "2023-02-23T19:25:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![BlockchainMan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blockchainman/32/256206_2.png) [@BlockchainMan](https://meta.discourse.org/u/BlockchainMan)
#### Post date: [February 23, 2023, 7:25pm UTC](https://meta.discourse.org/t/performpostaction-type-ids/256100/1 "2023-02-23T19:25:40Z")

</div>

Anyone know where the mappings for post\_action\_type\_id are at? The [REST docs](https://docs.discourse.org/#tag/Posts/operation/performPostAction) don’t enumerate them, I’m wondering whether I’ll have to grep the source code or if there’s another place I might find them.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [February 23, 2023, 7:29pm UTC](https://meta.discourse.org/t/performpostaction-type-ids/256100/2 "2023-02-23T19:29:48Z")

</div>

> [@BlockchainMan](#):
>
> post\_action\_type\_id

2 is like and the others are flag types.

> <https://github.com/discourse/discourse/blob/6108eee31d2f470758f285e77c56f180e2680d37/app/models/post_action_type.rb>

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 25, 2023, 7:30pm UTC](https://meta.discourse.org/t/performpostaction-type-ids/256100/3 "2023-03-25T19:30:25Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
