Revize aa740737
Přidáno uživatelem Michal Seják před téměř 4 roky(ů)
app.py | ||
---|---|---|
35 | 35 |
return CertController.get_certificate_root_by_id(id) |
36 | 36 |
|
37 | 37 |
|
38 |
@app.route('/api/certificates/<id>/chain', methods=["GET"]) |
|
39 |
def get_cert_chain(id): |
|
40 |
return CertController.get_certificate_trust_chain_by_id(id) |
|
41 |
|
|
42 |
|
|
38 | 43 |
if __name__ == '__main__': |
39 | 44 |
host = "0.0.0.0" |
40 | 45 |
port = 5000 |
Také k dispozici: Unified diff
Re #8476 - Implemented and tested `get_cert_chain(id)`.