What exactly is callback?

api

(Giorgos Karagkounis) #1

What exactly is the callback in the Request body on /api/v1/executions POST.

https://api.stackstorm.com/api/v1/executions/#/action_executions_controller.post


(L K) #2

@n_kos The callback field is a “special” field used only by mistral runner. It’s a way for us to inform mistral when an action execution is done. I don’t recommend users relying on this field. I also understand this is documented in public API. Here is the github tracking issue: Public API documentation for v1/executions documents a callback that users shouldn’t really see or use · Issue #4038 · StackStorm/st2 · GitHub


(Giorgos Karagkounis) #3

I wonder if there is a callback or something like on-complete for an action chain for a single action.