Hello,

I needed a feature to set views api mode via get http query for json output, so here is a simple patch to support it. whenever api_mode is set it's value used instead of option set.

Support from Acquia helps fund testing for Drupal Acquia logo