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))
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))
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))
def project_issues(forge, namespace, repo_name): url = f"{API_URL}/projects/{forge}/{namespace}/{repo_name}/issues" return jsonify(return_json(url))
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))