What do the fields in the actions_summary mean?


(Adam Beers) #1

In the actions_summary of a specific topic json response, there are some fields: acted, canAct, canUndo and canDeferFlags. I can’t find any documentation as to what they actual mean.

When I click on a “like” button for example, the acted is true, along with the canUndo. At some point the canUndo is false, but the acted remains true. What action makes the canUndo go false? What actions make these flags get set or unset?


(Felix Freiberger) #2

canUndo tells you… well… whether the action can be undone :slight_smile:
By default, all actions become final after 10 minutes. This is controlled by the site setting post undo action window mins.


(Adam Beers) #3

Thanks. I couldn’t figure out why some actions were not allowing undone.