wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:2515Checks if a given request has access to sideload a file.
$requestWP_REST_Requesttrue|WP_Error public function sideload_item_permissions_check( $request ) { return $this->edit_media_item_permissions_check( $request ); }Introduced in 7.1.0.
Signature, return type and hooks compared across 1 parsed release.
src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.