The vFabric Data Director REST API supports versioning through HTTP Accept/Content-Type headers.

For example, if you want to use the version 2.0 APIs, append the vFabric Data Director version prefix to the standard media type in the request Accept header.

Accept: application/vnd.vmware.vfdd-v2.0+json

The response will include a versioned Content-Type response header.

Content-Type: application/vnd.vmware.vfdd-v2.0+json

If you do not include a version prefix in the Accept header, then the response returns the latest version.