Example request/responses are below.
GET http://localhost:35357/v2.0/tokens/e94d61a11ee749ac8d2c2ef76e6ea4df/endpoints =================================================================================
Accept: application/json X-Auth-Token: ADMIN
200 OK ======
Status: 200 Content-Length: 273 Content-Location: http://localhost:35357/v2.0/tokens/e94d61a11ee749ac8d2c2ef76e6ea4df/endpoints Vary: X-Auth-Token Date: Thu, 06 Sep 2012 14:30:03 GMT Content-Type: application/json
{ "endpoints": [ { "name": "Nova", "adminURL": "http://admin.openstack/nova", "region": "north", "internalURL": "http://internal.openstack/nova", "type": "compute", "id": "8c3426bd730c48f5b59527df3a51b901", "publicURL": "http://public.openstack/nova" } ], "endpoints_links": [] }
Accept: application/xml X-Auth-Token: ADMIN
Status: 200 Content-Length: 335 Content-Location: http://localhost:35357/v2.0/tokens/e94d61a11ee749ac8d2c2ef76e6ea4df/endpoints Vary: X-Auth-Token Date: Thu, 06 Sep 2012 14:30:05 GMT Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8"?> <endpoints xmlns="http://docs.openstack.org/identity/api/v2.0"> <endpoint name="Nova" adminURL="http://admin.openstack/nova" region="north" internalURL="http://internal.openstack/nova" type="compute" id="8c3426bd730c48f5b59527df3a51b901" publicURL="http://public.openstack/nova"/> </endpoints>
Example request/responses are below.
GET http:// localhost: 35357/v2. 0/tokens/ e94d61a11ee749a c8d2c2ef76e6ea4 df/endpoints ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ====
=======
Accept: application/json
X-Auth-Token: ADMIN
200 OK
======
Status: 200 localhost: 35357/v2. 0/tokens/ e94d61a11ee749a c8d2c2ef76e6ea4 df/endpoints
Content-Length: 273
Content-Location: http://
Vary: X-Auth-Token
Date: Thu, 06 Sep 2012 14:30:03 GMT
Content-Type: application/json
{ admin.openstack /nova", internalURL" : "http:// internal. openstack/ nova", f5b59527df3a51b 901", public. openstack/ nova" links": []
"endpoints": [
{
"name": "Nova",
"adminURL": "http://
"region": "north",
"
"type": "compute",
"id": "8c3426bd730c48
"publicURL": "http://
}
],
"endpoints_
}
GET http:// localhost: 35357/v2. 0/tokens/ e94d61a11ee749a c8d2c2ef76e6ea4 df/endpoints ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ====
=======
Accept: application/xml
X-Auth-Token: ADMIN
200 OK
======
Status: 200 localhost: 35357/v2. 0/tokens/ e94d61a11ee749a c8d2c2ef76e6ea4 df/endpoints
Content-Length: 335
Content-Location: http://
Vary: X-Auth-Token
Date: Thu, 06 Sep 2012 14:30:05 GMT
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8"?> docs.openstack. org/identity/ api/v2. 0"> admin.openstack /nova" region="north" internalURL="http:// internal. openstack/ nova" type="compute" id="8c3426bd730 c48f5b59527df3a 51b901" publicURL="http:// public. openstack/ nova"/>
<endpoints xmlns="http://
<endpoint name="Nova" adminURL="http://
</endpoints>