Revize d53c2fdc
Přidáno uživatelem Michal Seják před více než 3 roky(ů)
app.py | ||
---|---|---|
30 | 30 |
return CertController.get_certificate_details_by_id(id) |
31 | 31 |
|
32 | 32 |
|
33 |
@app.route('/api/certificates/<id>/root', methods=["GET"]) |
|
34 |
def get_cert_root(id): |
|
35 |
return CertController.get_certificate_root_by_id(id) |
|
36 |
|
|
37 |
|
|
33 | 38 |
if __name__ == '__main__': |
34 | 39 |
host = "0.0.0.0" |
35 | 40 |
port = 5000 |
Také k dispozici: Unified diff
Re #8476 - Implemented and tested `get_cert_root(id)`.