rest: add gid_number