refs #1816 a third way to detect apiModule and apiAction