Remove require_user for the api_details method as that uses HTTP authentication.