The rest api appears to need entity&action specified as fnName, at least to work on Drupal. Provide it.