def METHOD_NAME(self) -> None:
    self.login(self.MODERATOR_EMAIL)
    response_dict = self.get_json(
        feconf.RECENT_COMMITS_DATA_URL,
        params={'query_type': 'all_non_private_commits'})
    self.assertFalse(response_dict['more'])
    for i in range(feconf.COMMIT_LIST_PAGE_SIZE * 2):
        entity_id = 'my_entity_%s' % i
        exp_id = 'exp_%s' % i
        commit_i = exp_models.ExplorationCommitLogEntryModel.create(
            entity_id, 0, self.committer_2_id, 'create', 'created commit',
            [], 'public', True)
        commit_i.exploration_id = exp_id
        commit_i.update_timestamps()
        commit_i.put()
    response_dict = self.get_json(
        feconf.RECENT_COMMITS_DATA_URL,
        params={'query_type': 'all_non_private_commits'})
    self.assertEqual(
        len(response_dict['results']), feconf.COMMIT_LIST_PAGE_SIZE)
    self.assertTrue(response_dict['more'])
    cursor = response_dict['cursor']
    response_dict = self.get_json(
        feconf.RECENT_COMMITS_DATA_URL,
        params={
            'query_type': 'all_non_private_commits',
            'cursor': cursor
        })
    self.assertEqual(
        len(response_dict['results']),
        feconf.COMMIT_LIST_PAGE_SIZE)
    self.assertTrue(response_dict['more'])
    cursor = response_dict['cursor']
    response_dict = self.get_json(
        feconf.RECENT_COMMITS_DATA_URL,
        params={
            'query_type': 'all_non_private_commits',
            'cursor': cursor
        })
    self.assertFalse(response_dict['more'])
    self.assertEqual(len(response_dict['results']), 2)
    self.logout()