Get a specific endpoint by specify the endpoint name.
Client application can choose to retrieve specific endpoints by names in order to perform URL rewrite on client using the REST SDK.
Perform an HTTP GET request at the following URL:http://host:port/[public/]odata/applications/{v1|latest}/{appid}/Endpoints(‘{endpoint}’)
Response header: Status Code: 404 Not Found Content-Type: application/atom+xml;charset=utf-8 Date: Wed, 10 Apr 2013 02:51:56 GMT Expires: Thu, 01 Jan 1970 00:00:00 GMT Set-Cookie: X-SUP-APPCID=d6d5859c-07a2-4997-a4b0-dc3e3d1f987f Transfer-Encoding: chunked
X-SUP-DOMAIN: default
HTTP response header:
Status Code: 200 OK Content-Type: application/xml;charset=utf-8 DataServiceVersion: 1.0 Date: Thu, 02 May 2013 07:00:43 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'?> <entry 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/"> <id>http://localhost:8000/odata/applications/v1/e2eTest/Endpoints('endpoint1')</id> <title type="text" /> <updated>2013-04-10T02:46:59Z</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>