VMware Cloud Director API - GET-ApiDefinitions
GET /service/{id}/apidefinitions
- Operation:
- GET /service/{id}/apidefinitions
- Description:
- Return all Extension Service API Definitions.
- Since:
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
- Produce media type(s):
-
application/vnd.vmware.vcloud.query.records+xml
application/vnd.vmware.vcloud.query.records+json
application/vnd.vmware.vcloud.query.idrecords+xml
application/vnd.vmware.vcloud.query.idrecords+json
application/vnd.vmware.vcloud.query.references+xml
application/vnd.vmware.vcloud.query.references+json
- Output type:
- ContainerType
- Examples
-
- Request
-
HTTP 1.1
GET /api/service/15eacf4c-b4d0-4dba-9c65-7977a9a10ba2/apidefinitions
Headers:
x-vcloud-authorization: SZMKkKToUBmDWSEeqZYL2yxpCqDiyToj5PYW3TigOrI=
Body:
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 1431
Content-Type: application/vnd.vmware.vcloud.query.records+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><QueryResultRecords xmlns="http://www.vmware.com/vcloud/v1.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="https://vcloud.example.com/api/service/15eacf4c-b4d0-4dba-9c65-7977a9a10ba2/apidefinitions?page=1&pageSize=25&format=records" name="apiDefinition" page="1" pageSize="25" total="1" type="application/vnd.vmware.vcloud.query.records+xml" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
<Link href="https://vcloud.example.com/api/service/15eacf4c-b4d0-4dba-9c65-7977a9a10ba2/apidefinitions?page=1&pageSize=25&format=references" rel="alternate" type="application/vnd.vmware.vcloud.query.references+xml"/>
<Link href="https://vcloud.example.com/api/service/15eacf4c-b4d0-4dba-9c65-7977a9a10ba2/apidefinitions?page=1&pageSize=25&format=idrecords" rel="alternate" type="application/vnd.vmware.vcloud.query.idrecords+xml"/>
<ApiDefinitionRecord
apiVendor="Load Balancer API Vendor"
entryPoint="https://vcloud.example.com/api//loadBalancer"
href="https://vcloud.example.com/api/apidefinition/f273f407-4beb-4e9f-8259-2d0e507d222b"
name="loadBalancerApi"
namespace="com.myCompany.loadBalancer"
service="https://vcloud.example.com/api/service/15eacf4c-b4d0-4dba-9c65-7977a9a10ba2"
serviceName="NewExtensionService"
serviceNamespace="ServiceNamespace"
serviceVendor="vendor"/>
</QueryResultRecords>