Added api support for querying all sites