wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php:235Get the parent post.
$parent_idintWP_Post|WP_Error protected function get_parent( $parent_id ) { return $this->revisions_controller->get_parent( $parent_id ); }Introduced in 6.4.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/rest-api/endpoints/class-wp-rest-template-autosaves-controller.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.