def get_action_definition(action_plugin = nil)
      plugins = action_plugin.nil? ? http_get('plugins') : [action_plugin]
      ret = {}
      plugins.each do |p|
        ret[p] = http_get("/plugins/#{p}")
      end
      ret
    end
def get_action_definition(action_plugin = nil)
      plugins = action_plugin.nil? ? http_get('plugins') : [action_plugin]
      ret = {}
      plugins.each do |p|
        ret[p] = http_get("/plugins/#{p}")
      end
      ret
    end
Obtains action definition/plugin from the server.
 @param [String] action_plugin Id of the action plugin to fetch. If nil, all the plugins are fetched