Add an API endpoint "Retrieves all Networks for Specified Cloud"

Description:
Please add an API endpoint “Retrieves all Networks for Specified Cloud”.

Comparable with the existing end points.


Example/Use case(s):
The current endpoint for reading all networks (https://apidocs.morpheusdata.com/reference/listnetworks) does not have a filter for the cloud. As a result, a large number of networks are loaded in my context. In the context of a PowerShell script, this sometimes leads to so much payload that the executed Invoke-WebRequest cannot be successfully completed but aborts.
grafik


Hi,
You can retrieve only the networks for the specified cloud by passing “zoneId” as a parameter to the API endpoint url.

/api/networks?zoneId=8

Thanks
Velan

Is this option simply missing from the documentation?

That’s correct. The documentation will be updated next release.

Thanks for bringing this to our attention :grinning: