Projekt

Obecné

Profil

« Předchozí | Další » 

Revize fb987403

Přidáno uživatelem Michal Seják před asi 4 roky(ů)

Re #8476 - Added and tested `get_certificate(id)`.

Zobrazit rozdíly:

app.py
20 20
    return CertController.get_certificate_list()
21 21

  
22 22

  
23
@app.route('/api/certificates/<id>', methods=["GET"])
24
def get_cert(id):
25
    return CertController.get_certificate_by_id(id)
26

  
27

  
23 28
if __name__ == '__main__':
24 29
    host = "0.0.0.0"
25 30
    port = 5000

Také k dispozici: Unified diff