code: def on_get(resc, req, resp, rid):
      
  
      signals.pre_req.send(resc.model)
      signals.pre_req_find.send(resc.model)
  
      model = find(resc.model, rid)
      props = to_rest_model(model, includes=req.includes)
  
      resp.last_modified = model.updated
      resp.serialize(props)
  
      signals.post_req.send(resc.model)
      signals.post_req_find.send(resc.model)
docs: Find the model by id & serialize it back