Currently only uuid is being supported by this GET /entities/<id>/instanceof/<type> call. As a result, when using hubmap_id in the URL we'll get back
{
"instanceof": false
}
This is also problematic when the actual entity doesn't exist, instead a 404 with message should be returned. Follow what we have in the GET /entities/<id> to support both uuid and hubmap_id and it'll also address the 404 issue.
Currently only uuid is being supported by this
GET /entities/<id>/instanceof/<type>
call. As a result, when usinghubmap_id
in the URL we'll get backThis is also problematic when the actual entity doesn't exist, instead a 404 with message should be returned. Follow what we have in the
GET /entities/<id>
to support bothuuid
andhubmap_id
and it'll also address the 404 issue.