Merge "Update sample responses to list v3/endpoints and v3/policies"
This commit is contained in:
commit
6b200839c7
@ -1,22 +1,21 @@
|
|||||||
{
|
{
|
||||||
"endpoints": [
|
"endpoints": [
|
||||||
{
|
{
|
||||||
"id": "828384",
|
"region_id": "RegionOne",
|
||||||
|
"links": {
|
||||||
|
"self": "http://identity:35357/v3/endpoints/16cc0008313544c198ed50f33ba863d1"
|
||||||
|
},
|
||||||
|
"url": "http://identity:8774/v2/$(tenant_id)s",
|
||||||
|
"region": "RegionOne",
|
||||||
|
"enabled": true,
|
||||||
"interface": "public",
|
"interface": "public",
|
||||||
"links": {
|
"service_id": "b9e34f93ef0b459b94fbaf77fc9ee976",
|
||||||
"self": "http://identity:35357/v3/endpoints/828384"
|
"id": "16cc0008313544c198ed50f33ba863d1"
|
||||||
},
|
|
||||||
"name": "the public volume endpoint",
|
|
||||||
"service_id": "686766"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "642136",
|
|
||||||
"interface": "internal",
|
|
||||||
"links": {
|
|
||||||
"self": "http://identity:35357/v3/endpoints/642136"
|
|
||||||
},
|
|
||||||
"name": "the internal volume endpoint",
|
|
||||||
"service_id": "686766"
|
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"links": {
|
||||||
|
"self": "http://identity:35357/v3/endpoints",
|
||||||
|
"previous": null,
|
||||||
|
"next": null
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,30 +1,17 @@
|
|||||||
[
|
{
|
||||||
{
|
"links": {
|
||||||
"blob": {
|
"self": "http://identity:35357/v3/policies",
|
||||||
"foobar_user": [
|
"previous": null,
|
||||||
"role:compute-user"
|
"next": null
|
||||||
]
|
|
||||||
},
|
|
||||||
"id": "717273",
|
|
||||||
"links": {
|
|
||||||
"self": "http://identity:35357/v3/policies/717273"
|
|
||||||
},
|
|
||||||
"project_id": "456789",
|
|
||||||
"type": "application/json",
|
|
||||||
"user_id": "616263"
|
|
||||||
},
|
},
|
||||||
{
|
"policies": [
|
||||||
"blob": {
|
{
|
||||||
"foobar_user": [
|
"type": "application/json",
|
||||||
"role:compute-user"
|
"id": "ea578b7ac0604b699d255e62d07677db",
|
||||||
]
|
"links": {
|
||||||
},
|
"self": "http://identity:35357/v3/policies/ea578b7ac0604b699d255e62d07677db"
|
||||||
"id": "717274",
|
},
|
||||||
"links": {
|
"blob": "{'foobar_user': 'role:compute-user'}"
|
||||||
"self": "http://identity:35357/v3/policies/717274"
|
}
|
||||||
},
|
]
|
||||||
"project_id": "456789",
|
}
|
||||||
"type": "application/json",
|
|
||||||
"user_id": "616263"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user