Exemple #1
0
def testing_farm():
    page = request.args.get("page")
    per_page = request.args.get("per_page")
    url = f"{API_URL}/testing-farm/results?page={page}&per_page={per_page}"
    return jsonify(return_json(url))
Exemple #2
0
def copr_builds():
    page = request.args.get("page")
    per_page = request.args.get("per_page")
    url = f"{API_URL}/copr-builds?page={page}&per_page={per_page}"
    return jsonify(return_json(url))
Exemple #3
0
def project_prs(forge, namespace, repo_name):
    page = request.args.get("page")
    per_page = request.args.get("per_page")
    url = f"{API_URL}/projects/{forge}/{namespace}/{repo_name}/prs?page={page}&per_page={per_page}"
    return jsonify(return_json(url))
Exemple #4
0
def project_issues(forge, namespace, repo_name):
    url = f"{API_URL}/projects/{forge}/{namespace}/{repo_name}/issues"
    return jsonify(return_json(url))
Exemple #5
0
def projects():
    page = request.args.get("page")
    per_page = request.args.get("per_page")
    url = f"{API_URL}/projects?page={page}&per_page={per_page}"
    return jsonify(return_json(url))