HomePhabricator

app.py: Handle meta endpoints when the specified id doesn't exist

Authored by rafidaslam on Nov 19 2018, 3:14 PM.

Description

app.py: Handle meta endpoints when the specified id doesn't exist

Handle
"/run/<int:qrun_id>/meta",
"/rev/<int:rev_id>/meta",
"/query/<int:query_id>/meta"
API endpoints when the specified id doesn't exist
in the database by throwing 404.

Bug: T209783
Change-Id: I1ce688ba3048bef42ff81af0ce6c90503784864e

Details