WordPress at a glance
filter is not described

rest_(taxonomy)_collection_params filter-hook . WP 4.7.0

Filter collection parameters for the terms controller.

The dynamic part of the filter $this->taxonomy refers to the taxonomy slug for the controller.

This filter registers the collection parameter, but does not map the collection parameter to an internal WP_Term_Query parameter. Use the rest_{$this->taxonomy}_query filter to set WP_Term_Query parameters.

Usage

add_filter( 'rest_(taxonomy)_collection_params', 'filter_function_name_7695', 10, 2 );
function filter_function_name_7695( $query_params, $taxonomy ){
	// filter...

	return $query_params;
}
$query_params(array)
JSON Schema-formatted collection parameters.
$taxonomy(WP_Taxonomy)
Taxonomy object.

Where the hook is called

WP_REST_Terms_Controller::get_collection_params()
rest_(taxonomy)_collection_params
wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php 1013
return apply_filters( "rest_{$this->taxonomy}_collection_params", $query_params, $taxonomy );

Where the hook is used (in WP core)

Does not used.