WordPress at a glance
action is not described

rest_api_init action-hook . WC 1.0

Usage

add_action( 'rest_api_init', 'action_function_name_2072' );
function action_function_name_2072( $wp_rest_server ){
	// action...
}
$wp_rest_server
-

Where the hook is called

WC_CLI_Runner::after_wp_load()
rest_api_init
woocommerce/includes/cli/class-wc-cli-runner.php 59
do_action( 'rest_api_init', $wp_rest_server );

Where in WP core the hook is used WooCommerce

woocommerce/includes/class-wc-api.php 29
add_action( 'rest_api_init', array( $this, 'register_wp_admin_settings' ) );
woocommerce/includes/rest-api/Server.php 31
add_action( 'rest_api_init', array( $this, 'register_rest_routes' ), 10 );
woocommerce/packages/woocommerce-admin/src/API/Init.php 42
add_action( 'rest_api_init', array( $this, 'rest_api_init' ) );
woocommerce/packages/woocommerce-admin/src/Loader.php 74
add_action( 'rest_api_init', array( __CLASS__, 'register_user_data' ) );
woocommerce/packages/woocommerce-blocks/src/RestApi.php 37
add_action( 'rest_api_init', array( $this, 'register_rest_routes' ), 10 );