Get all the proxy endpoints.
HTTP client can get the proxy endpoints according to different domain through OData service. Client can set the domain value in request header X-SUP-DOMAIN.
http://host:port/[public/]odata/applications/{v1|latest}/{appid}/Endpoints
X-SUP-DOMAIN: default
HTTP response header:
Status Code: 200 OK Content-Type: application/xml;charset=utf-8 DataServiceVersion: 2.0 Date: Thu, 02 May 2013 06:52:21 GMT Expires: Thu, 01 Jan 1970 00:00:00 GMT Set-Cookie: X-SUP-APPCID=9dffe5e9-5768-47a6-8220-144a2e0c751d Transfer-Encoding: chunked
HTTP response body:
<?xml version='1.0' encoding='utf-8'?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
xml:base="http://localhost:8000/odata/applications/v1/e2eTest/">
<title type="text">Endpoints</title>
<id>http://localhost:8000/odata/applications/v1/e2eTest/Endpoints</id>
<updated>2013-04-10T02:36:23Z</updated>
<link rel="self" title="Endpoints" href="Endpoints" />
<m:count>2</m:count>
<entry>
<id>http://localhost:8000/odata/applications/v1/e2eTest/Endpoints('endpoint1')</id>
<title type="text" />
<updated>2013-04-10T02:36:23Z</updated>
<author>
<name/>
</author>
<link rel="edit" title="Endpoint" href="Endpoints('endpoint1')" />
<category term="applications.Endpoint" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<content type="application/xml">
<m:properties>
<d:RemoteURL>http://</d:RemoteURL>
<d:EndpointName>endpoint1</d:EndpointName>
<d:AnonymousAccess m:type="Edm.Boolean">true</d:AnonymousAccess>
</m:properties>
</content>
</entry>
<entry>
<id>http://localhost:8000/odata/applications/v1/e2eTest/Endpoints('endpoint2')</id>
<title type="text" />
<updated>2013-04-10T02:36:23Z</updated>
<author>
<name/>
</author>
<link rel="edit" title="Endpoint" href="Endpoints('endpoint2')" />
<category term="applications.Endpoint" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<content type="application/xml">
<m:properties>
<d:RemoteURL>http://</d:RemoteURL>
<d:EndpointName>endpoint2</d:EndpointName>
<d:AnonymousAccess m:type="Edm.Boolean">false</d:AnonymousAccess>
</m:properties>
</content>
</entry>
</feed>