Core
Framework v2.x
2

getAction #

Available since 2.21.0

Returns the name of the API action targeted by the request, or null if it is not set.

Arguments #

getAction (): string

Example #

const action = request.getAction();
// equivalent
const action = request.input.action;