We need to be able to query the tree info by uuid (the uuid field in the trees table), currently we can do /trees/{id} where id is the key in the trees table in the form of integer, but we need to extend this router to accept uuid and query the db by the uuid column.
Some hints:
Please read our readme for more information/guide/tutorial.
We need to be able to query the tree info by uuid (the uuid field in the
trees
table), currently we can do/trees/{id}
whereid
is the key in thetrees
table in the form of integer, but we need to extend this router to acceptuuid
and query the db by theuuid
column.Some hints: