Merge "Update sample responses to list v3/endpoints and v3/policies"
This commit is contained in:
commit
6b200839c7
@ -1,22 +1,21 @@
|
||||
{
|
||||
"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",
|
||||
"links": {
|
||||
"self": "http://identity:35357/v3/endpoints/828384"
|
||||
},
|
||||
"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"
|
||||
"service_id": "b9e34f93ef0b459b94fbaf77fc9ee976",
|
||||
"id": "16cc0008313544c198ed50f33ba863d1"
|
||||
}
|
||||
]
|
||||
],
|
||||
"links": {
|
||||
"self": "http://identity:35357/v3/endpoints",
|
||||
"previous": null,
|
||||
"next": null
|
||||
}
|
||||
}
|
||||
|
@ -1,30 +1,17 @@
|
||||
[
|
||||
{
|
||||
"blob": {
|
||||
"foobar_user": [
|
||||
"role:compute-user"
|
||||
]
|
||||
},
|
||||
"id": "717273",
|
||||
"links": {
|
||||
"self": "http://identity:35357/v3/policies/717273"
|
||||
},
|
||||
"project_id": "456789",
|
||||
"type": "application/json",
|
||||
"user_id": "616263"
|
||||
{
|
||||
"links": {
|
||||
"self": "http://identity:35357/v3/policies",
|
||||
"previous": null,
|
||||
"next": null
|
||||
},
|
||||
{
|
||||
"blob": {
|
||||
"foobar_user": [
|
||||
"role:compute-user"
|
||||
]
|
||||
},
|
||||
"id": "717274",
|
||||
"links": {
|
||||
"self": "http://identity:35357/v3/policies/717274"
|
||||
},
|
||||
"project_id": "456789",
|
||||
"type": "application/json",
|
||||
"user_id": "616263"
|
||||
}
|
||||
]
|
||||
"policies": [
|
||||
{
|
||||
"type": "application/json",
|
||||
"id": "ea578b7ac0604b699d255e62d07677db",
|
||||
"links": {
|
||||
"self": "http://identity:35357/v3/policies/ea578b7ac0604b699d255e62d07677db"
|
||||
},
|
||||
"blob": "{'foobar_user': 'role:compute-user'}"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user