def extract_endpoints(data):
    """
    Turn the dictionary of endpoints from the config file into a list of all endpoints.
    """
    endpoints = []
    for nodetype in data:
        for interval in data[nodetype]:
            for api in data[nodetype][interval]:
                endpoints += (
                    data[nodetype][interval][api]
                )
    return endpoints