Querying the network using SWAGGER