add new REST API to list networks and images