Improve lookup of api actions from function names
Merge pull request #3778 from colemanw/apiActions

Improve lookup of api actions from function names