feat($id): add $id query parameter to fetch a single resource