Of course it's a frankenstein app! \u2013 Our favourite ;-)  Routes are defined at https://github.com/owncloud/core/blob/2fbe8bbcba2e6387669f0028cb5a3d314336efe4/core/routes.php#L98-113 Controller is at https://github.com/owncloud/core/blob/2fbe8bbcba2e6387669f0028cb5a3d314336efe4/apps/files_sharing/lib/controllers/sharecontroller.php 