[RestResourceAction] Add a query parameter to choose ActionType on getting actions