How to retrieve the networks/containers that doesn't have container

Hi 😊,

I just want to get networks (same problem for the containers objets) that don't have parent.

Here is an example that works (get all the networks in '10.0.0.0/8' container) :

GET …/wapi/v2.13.1/network?network_container=10.0.0.0/8

But to get networks in '/' (no container), I tried :

GET …/wapi/v2.13.1/network?network_container=/

GET …/wapi/v2.13.1/network?network_container=%2F

GET …/wapi/v2.13.1/network?network_container=null

GET …/wapi/v2.13.1/network?network_container=_null

GET …/wapi/v2.13.1/network?network_container=

Always the error "Bad value for network_container: '<what_i_tried>'"…

Thanks !

Tagged:

Answers