WordPress at a glance
action is not described

rest_after_insert_comment action-hook . WP 5.0.0

Fires completely after a comment is created or updated via the REST API.

Usage

add_action( 'rest_after_insert_comment', 'action_function_name_7734', 10, 3 );
function action_function_name_7734( $comment, $request, $creating ){
	// action...
}
$comment(WP_Comment)
Inserted or updated comment object.
$request(WP_REST_Request)
Request object.
$creating(true/false)
True when creating a comment, false when updating.

Where the hook is called

WP_REST_Comments_Controller::create_item()
WP_REST_Comments_Controller::update_item()
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php 637
do_action( 'rest_after_insert_comment', $comment, $request, true );
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php 762
do_action( 'rest_after_insert_comment', $comment, $request, false );

Where the hook is used (in WP core)

Does not used.