The endpoint (variant) /api/1/revision/<string:sha1_git>/prev/<path:context>/ is not really meaningful for the API in itself; it's useful only for browsing to keep context in the form of breadcrumb trails.
We should remove and/or hide that variant from the API.