Implement "list_sites" and "list_sites_by_parent" endpoints. bugid:112416