The API for Advanced Networking Services provides support for developers who are building interactive clients of vCloud Air for network configuration and who are using a RESTful application development style.
A collection of JSON and XML documents represents and defines the objects on which the RESTful API for Advanced Networking Services operates.
The vCloud Air API supports only the XML data format for the vCloud Air API; whereas, the Advanced Networking Services API supports both the JSON and XML data formats. This programmer's guide provides all examples for the Advanced Networking Services API by using the JSON data format and VMware recommends that developers using this API create clients supporting JSON.
For the RESTful API, you must know these things:
To answer these questions, you look at the API resource schemas. These schemas define a number of JSON types, many of which are extended by other types. The elements defined in these schemas, along with their attributes and composition rules (minimum and maximum number of elements or attributes, or the prescribed hierarchy with which elements can be nested) represent the data structures of objects.
This programming guide provides information about the schema for the following objects.