api-ref: GET /v3/auth/tokens doesn't mention the optional "system" parameter for a scoped token
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Lance Bragstad |
Bug Description
This came about from a discussion in IRC:
The API reference here doesn't mention that for a system-scoped token, the response body can have a 'system' attribute in the 'token' object in the response body:
The example in the API reference is for an unscoped token, but for SDK writers the API reference should have a description of all the possible response parameters and indicate if they are optional, and the description can explain in what cases they would be present in the response.
For example, GET /servers/{id} can have a "fault" parameter in the response but only under certain scenarios based on the server status:
https:/
But we still document the optional parameter.
tags: | added: documentation |
Changed in keystone: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in keystone: | |
milestone: | none → rocky-3 |
After looking at these docs and the addition of another scope target in Queens, it wouldn't be a bad idea to make the examples more explicit.
Instead of listing various scopes as option in a generic response, we can make things more clear by generating explicit requests and responses for each type.