def router(prefix, viewset, base_name):
    """
    Define an API route

    :param prefix:
    :param viewset:
    :param base_name:
    :return:
    """
    return {'prefix': prefix, 'viewset': viewset, 'base_name': base_name}
