WordPress at a glance
action is not described

rest_insert_(post_type) action-hook . WP 4.7.0

Fires after a single post is created or updated via the REST API.

The dynamic portion of the hook name, $this->post_type, refers to the post type slug.

Usage

add_action( 'rest_insert_(post_type)', 'action_function_name_7181', 10, 3 );
function action_function_name_7181( $post, $request, $creating ){
	// action...
}
$post(WP_Post)
Inserted or updated post object.
$request(WP_REST_Request)
Request object.
$creating(true/false)
True when creating a post, false when updating.

Where the hook is called

WP_REST_Posts_Controller::create_item()
rest_insert_(post_type)
WP_REST_Posts_Controller::update_item()
rest_insert_(post_type)
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 556
do_action( "rest_insert_{$this->post_type}", $post, $request, true );
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 695
do_action( "rest_insert_{$this->post_type}", $post, $request, false );

Where the hook is used (in WP core)

Does not used.