WordPress at a glance
filter is not described

plugins_api filter-hook . WP 2.7.0

Filters the response for the current WordPress.org Plugin Installation API request.

Passing a non-false value will effectively short-circuit the WordPress.org API request.

If $action is 'query_plugins' or 'plugin_information', an object MUST be passed. If $action is 'hot_tags' or 'hot_categories', an array should be passed.

Usage

add_filter( 'plugins_api', 'filter_function_name_8783', 10, 3 );
function filter_function_name_8783( $result, $action, $args ){
	// filter...

	return $result;
}
$result(false/object/array)
The result object or array.
Default: false
$action(string)
The type of information being requested from the Plugin Installation API.
$args(object)
Plugin API arguments.

Where the hook is called

plugins_api()
plugins_api
wp-admin/includes/plugin-install.php 141
$res = apply_filters( 'plugins_api', false, $action, $args );

Where the hook is used (in WP core)

Does not used.