Project query parameters parents_as_list and subtree_as_list do not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Triaged
|
Medium
|
Unassigned |
Bug Description
The api-ref documents the parents_as_list and subtree_as_list parameters to the GET /v3/projects/
When using these options, the returned result is empty:
$ curl -s -H "x-auth-token: $token" "http://
{
"project": {
"id": "e905aaf2bc7249
"name": "foo",
"domain_id": "511b180417954e
"description": "",
"enabled": true,
"parent_id": "c8364aeb843c48
"is_domain": false,
"tags": [],
"options": {},
"parents": [],
"links": {
"self": "http://
}
}
}
while using *_as_ids correctly returns project IDs:
$ curl -s -H "x-auth-token: $token" "http://
{
"project": {
"id": "e905aaf2bc7249
"name": "foo",
"domain_id": "511b180417954e
"description": "",
"enabled": true,
"parent_id": "c8364aeb843c48
"is_domain": false,
"tags": [],
"options": {},
"parents": {
"
}
},
"links": {
"self": "http://
}
}
}
The impact of this is that include_limits also does not work, and so two-level limit hierarchies are broken.