Browse Source
This patch adds GET /auth/catalog, GET /auth/projects and GET /auth/domains to the API site. Change-Id: Ifda4676680bb9759348bbf7f3353741c45308b8c Closes-bug: #1609178changes/89/352689/4
5 changed files with 218 additions and 0 deletions
@ -0,0 +1,27 @@
|
||||
{ |
||||
"domains": [ |
||||
{ |
||||
"description": "my domain description", |
||||
"enabled": true, |
||||
"id": "1789d1", |
||||
"links": { |
||||
"self": "https://example.com/identity/v3/domains/1789d1" |
||||
}, |
||||
"name": "my domain" |
||||
}, |
||||
{ |
||||
"description": "description of my other domain", |
||||
"enabled": true, |
||||
"id": "43e8da", |
||||
"links": { |
||||
"self": "https://example.com/identity/v3/domains/43e8da" |
||||
}, |
||||
"name": "another domain" |
||||
} |
||||
], |
||||
"links": { |
||||
"self": "https://example.com/identity/v3/auth/domains", |
||||
"previous": null, |
||||
"next": null |
||||
} |
||||
} |
@ -0,0 +1,27 @@
|
||||
{ |
||||
"projects": [ |
||||
{ |
||||
"domain_id": "1789d1", |
||||
"enabled": true, |
||||
"id": "263fd9", |
||||
"links": { |
||||
"self": "https://example.com/identity/v3/projects/263fd9" |
||||
}, |
||||
"name": "Test Group" |
||||
}, |
||||
{ |
||||
"domain_id": "1789d1", |
||||
"enabled": true, |
||||
"id": "50ef01", |
||||
"links": { |
||||
"self": "https://example.com/identity/v3/projects/50ef01" |
||||
}, |
||||
"name": "Build Group" |
||||
} |
||||
], |
||||
"links": { |
||||
"self": "https://example.com/identity/v3/auth/projects", |
||||
"previous": null, |
||||
"next": null |
||||
} |
||||
} |
@ -0,0 +1,34 @@
|
||||
{ |
||||
"catalog": [ |
||||
{ |
||||
"endpoints": [ |
||||
{ |
||||
"id": "39dc322ce86c4111b4f06c2eeae0841b", |
||||
"interface": "public", |
||||
"region": "RegionOne", |
||||
"url": "http://localhost:5000" |
||||
}, |
||||
{ |
||||
"id": "ec642f27474842e78bf059f6c48f4e99", |
||||
"interface": "internal", |
||||
"region": "RegionOne", |
||||
"url": "http://localhost:5000" |
||||
}, |
||||
{ |
||||
"id": "c609fc430175452290b62a4242e8a7e8", |
||||
"interface": "admin", |
||||
"region": "RegionOne", |
||||
"url": "http://localhost:35357" |
||||
} |
||||
], |
||||
"id": "4363ae44bdf34a3981fde3b823cb9aa2", |
||||
"type": "identity", |
||||
"name": "keystone" |
||||
} |
||||
], |
||||
"links": { |
||||
"self": "https://example.com/identity/v3/catalog", |
||||
"previous": null, |
||||
"next": null |
||||
} |
||||
} |
Loading…
Reference in new issue