OpenStack APIs in OpenStack API Documentation - listing flavors example doesn't use OS_PROJECT_NAME
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-api-site |
New
|
Undecided
|
Unassigned |
Bug Description
- [x] This doc is inaccurate in this way:
In this section:
https:/
It says:
"Export the project name to the OS_PROJECT_NAME environment variable. For example:"
But then does not use the OS_PROJECT_NAME variable in the curl request example:
$ curl -s -H "X-Auth-Token: $OS_TOKEN" \
$OS_COMPUTE_
| python -m json.tool
This is likely a result of nova not needing the project name/id in the path with the v2.1 API.
-------
Release: 2013.2.1.dev4233 on 2018-10-03 16:14
SHA: c0efcf9f52c096e
Source: https:/
URL: https:/
Looks like OS_PROJECT_NAME was removed from the curl request URL path in change:
https:/ /review. opendev. org/#/c/ 346171/
Note that the doc doesn't mention how to get the OS_COMPUTE_API (from the service catalog), or really much of anything about the service catalog.