VMware Cloud Director API - GET-SupportedVersions

VMware Cloud Director API - GET-SupportedVersions

GET /versions

Operation:
GET /versions
Description:
Retrieve a list of vCloud API versions supported by this system. This request does not require an authentication token.
Since:
1.5
Input parameters
Consume media type(s):
None
Input type:
None
Output parameters
The list of supported vCloud API versions and their login URLs.

Produce media type(s):
text/xml
application/*+xml
application/*+json
Output type:
SupportedVersionsType
Examples
Request
HTTP 1.1
GET /api/versions

Headers:
x-vcloud-authorization: 9sCB0BuWEEc6FVbCkdwvRGUU8mzMMNyoOwB2G4Ji6Z4=

Body:
Response
HTTP/1.1 200 OK

Headers:
Content-Type: application/*+xml;version=5.5
Transfer-Encoding: chunked
Vary: Accept-Encoding

Body:
<?xml version="1.0" encoding="UTF-8"?><SupportedVersions
    xmlns="http://www.vmware.com/vcloud/versions"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.vmware.com/vcloud/versions http://https://vcloud.example.com:8443/api/versions/schema/versions.xsd">
    <VersionInfo>
        <Version>1.5</Version>
        <LoginUrl>https://vcloud.example.com/api/sessions</LoginUrl>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.instantiateVAppTemplateParams+xml</MediaType>
            <ComplexTypeName>InstantiateVAppTemplateParamsType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.vmwProviderVdcReferences+xml</MediaType>
            <ComplexTypeName>VMWProviderVdcReferencesType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/vmwextensions.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.customizationSection+xml</MediaType>
            <ComplexTypeName>CustomizationSectionType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.prepareHostParams+xml</MediaType>
            <ComplexTypeName>PrepareHostParamsType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/vmwextensions.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.relocateVmParams+xml</MediaType>
            <ComplexTypeName>RelocateParamsType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.org+xml</MediaType>
            <ComplexTypeName>OrgType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.vmwExternalNetworkReferences+xml</MediaType>
            <ComplexTypeName>VMWExternalNetworkReferencesType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/vmwextensions.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.networkConnectionSection+xml</MediaType>
            <ComplexTypeName>NetworkConnectionSectionType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.host+xml</MediaType>
            <ComplexTypeName>HostType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/vmwextensions.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.catalogItem+xml</MediaType>
            <ComplexTypeName>CatalogItemType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.owner+xml</MediaType>
            <ComplexTypeName>OwnerType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.vdc+xml</MediaType>
            <ComplexTypeName>VdcType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.vdc+xml</MediaType>
            <ComplexTypeName>AdminVdcType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.catalog+xml</MediaType>
            <ComplexTypeName>AdminCatalogType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.recomposeVAppParams+xml</MediaType>
            <ComplexTypeName>RecomposeVAppParamsType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.importVmIntoExistingVAppParams+xml</MediaType>
            <ComplexTypeName>ImportVmIntoExistingVAppParamsType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/vmwextensions.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.taskExtensionRequestUpdateProgressOperationParams+xml</MediaType>
            <ComplexTypeName>TaskExtensionRequestUpdateProgressParamsType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/vmwextensions.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.catalog+xml</MediaType>
            <ComplexTypeName>CatalogType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.cloneVAppTemplateParams+xml</MediaType>
            <ComplexTypeName>CloneVAppTemplateParamsType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.providervdc+xml</MediaType>
            <ComplexTypeName>ProviderVdcType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.vmsObjectRefsList+xml</MediaType>
            <ComplexTypeName>VmObjectRefsListType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/vmwextensions.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.undeployVAppParams+xml</MediaType>
            <ComplexTypeName>UndeployVAppParamsType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.vdcReferences+xml</MediaType>
            <ComplexTypeName>VdcReferencesType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.systemPasswordPolicySettings+xml</MediaType>
            <ComplexTypeName>SystemPasswordPolicySettingsType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/vmwextensions.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.vApp+xml</MediaType>
            <ComplexTypeName>VAppType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.taskExtensionRequest+xml</MediaType>
            <ComplexTypeName>TaskExtensionRequestType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/vmwextensions.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.vimServerNetworks+xml</MediaType>
            <ComplexTypeName>VimObjectRefListType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/vmwextensions.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.vmwprovidervdc+xml</MediaType>
            <ComplexTypeName>VMWProviderVdcType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/vmwextensions.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.orgSettings+xml</MediaType>
            <ComplexTypeName>OrgSettingsType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.captureVAppParams+xml</MediaType>
            <ComplexTypeName>CaptureVAppParamsType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.screenTicket+xml</MediaType>
            <ComplexTypeName>ScreenTicketType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.runtimeInfoSection+xml</MediaType>
            <ComplexTypeName>RuntimeInfoSectionType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.tasksList+xml</MediaType>
            <ComplexTypeName>TasksListType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.amqpSettingsTest+xml</MediaType>
            <ComplexTypeName>AmqpSettingsTestType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/vmwextensions.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.extensionSettings+xml</MediaType>
            <ComplexTypeName>TaskExtensionSettingsType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/vmwextensions.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.importVmAsVAppTemplateParams+xml</MediaType>
            <ComplexTypeName>ImportVmAsVAppTemplateParamsType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/vmwextensions.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.organizationGeneralSettings+xml</MediaType>
            <ComplexTypeName>OrgGeneralSettingsType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.registerVimServerParams+xml</MediaType>
            <ComplexTypeName>RegisterVimServerParamsType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/vmwextensions.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.admin.network+xml</MediaType>
            <ComplexTypeName>OrgNetworkType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>
        <MediaTypeMapping>
            <MediaType>application/vnd.vmware.vcloud.uploadVAppTemplateParams+xml</MediaType>
            <ComplexTypeName>UploadVAppTemplateParamsType</ComplexTypeName>
            <SchemaLocation>http://https://vcloud.example.com:8443/api/v1.5/schema/master.xsd</SchemaLocation>
        </MediaTypeMapping>