Esempio n. 1
0
def debug_repo_endpoint_search(query_string):
    repos = repository.get_raw_repo_meta(query_string)
    endpoints = []
    for repo in repos:
        for endpoint in repo.endpoints:
            endpoints.append(endpoint)
    return jsonify({"results": [obj.to_dict() for obj in endpoints]})
Esempio n. 2
0
def debug_repo_endpoint_search(query_string):
    repos = repository.get_raw_repo_meta(query_string)
    endpoints = []
    for repo in repos:
        for endpoint in repo.endpoints:
            endpoints.append(endpoint)
    return jsonify({"results": [obj.to_dict() for obj in endpoints]})