Endpoints service

This service returns a list of all the endpoints available with their associated metadata. An endpoint is essentially the URL of a service that the client can use to start a communication with the server. The endpoint service itself is considered an endpoint and it is included in the response.

Note:

The endpoints service is not limited to the Store service (it is shared with, for example, the authentication service), but is defined here.

Request

URL Method Description
/endpoints/v1/ GET Returns the list of all the endpoints available.

Note:

The request does not require an authorization token.

Response

Response code Description
200 Success

Success response content

In the case that a successful response is returned, the response body contains an XML document giving the list of endpoints available. Each endpoint has the following data:

  • id : Uniquely identifies the endpoint.
  • url: The absolute URL of the endpoint.
  • capabilities: A list of strings identifying the capabilities supported by the endpoint.
Response Format Request accept/response content-type header
XML application/vnd.citrix.endpoints+xml

The result content is XML described by the schema: /Schemas/Endpoints.xsd.

Example: Successful endpoints enumeration

Request

GET http://www.example.com/endpoints/v1/ HTTP/1.1
Host: www.example.com
Accept: application/vnd.citrix.endpoints+xml
Authorization: CitrixAuth security-token
<!--NeedCopy-->

Response

HTTP/1.1 200 OK
Content-Type: application/vnd.citrix.endpoints+xml
Content-Length: xxx
Cache-Control: xxx
<!--NeedCopy-->
<endpoints xmlns="http://citrix.com/dazzleservices/2-0/endpoints"> <endpoint id="Endpoints">
<url>http://www.example.com/Data/endpoints/v1</url> <capabilities>
      <capability>endpoints</capability>
    </capabilities>
  </endpoint>
  <endpoint id="ListResourcesWithAutoProvision">
<url>http://www.example.com/Data/resources/v2</url> <capabilities>
<capability>ResourcesEnumerationV2</capability> <capability>AutoProvision</capability> <capability>group:core</capability>
  ...
    </capabilities>
</endpoint>
  ...
</endpoints>
<!--NeedCopy-->
Endpoints service