03-14-2018 02:53 AM
I wonder if someone could suggest me a way to get the details such as how many blocks presented in the container, wether the newly network block that's going to be created will fit in the existing container or not using REST API ?
I'm looking for a details something like a NetMap view under a container. For more details
Thanks in advance.
Solved! Go to Solution.
03-15-2018 02:52 PM
There is no simple way to get something like the Net Map view using the API, you would need to parse through the networks and network containers in the response to a GET request.
If you want to know if a new network block will fit in a container, however, you can use the next_available_network function. If you run that function on a Network Container and set the CIDR field to the size of the network you need, you will either get a network block returned successfully or you will receive an error if there isn't enough space.
09-16-2018 10:49 AM
Could you please give more details on the API call you are running, and the issue you are hitting?