diff options
author | Matt Riedemann <mriedem.os@gmail.com> | 2017-07-05 21:39:58 -0400 |
---|---|---|
committer | Matt Riedemann <mriedem.os@gmail.com> | 2017-07-12 10:56:13 -0400 |
commit | d2d84eb102023d75911ca848c1d30a9f81e6f40f (patch) | |
tree | 46b3c8a6b0d177efd4abf675d6c8e4d93bea9ca7 /api-ref/source/os-instance-actions.inc | |
parent | 0ffe7b27892fde243fc1006f800f309c10d66028 (diff) | |
download | nova-d2d84eb102023d75911ca848c1d30a9f81e6f40f.tar.gz |
api-ref: mark instance action events parameter as optional
For "GET /servers/{server_id}/os-instance-actions/{request_id}",
the "events" parameter in the response body is only included by
default policy for administrators. You can get details if you're
an admin or own the server, but the events are only returned for
admins by default.
This change does two things:
1. Fixes the description of the default policy since admin or
owner can get action details for a particular request.
2. Fixes the "events" parameter description by pointing out it
is optional and only returned by default for admins.
Change-Id: I6410a0aac223133d8d07fd65c268553ebb9e7e67
Closes-Bug: #1702573
Diffstat (limited to 'api-ref/source/os-instance-actions.inc')
-rw-r--r-- | api-ref/source/os-instance-actions.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/api-ref/source/os-instance-actions.inc b/api-ref/source/os-instance-actions.inc index d114fa7f35..99045499c0 100644 --- a/api-ref/source/os-instance-actions.inc +++ b/api-ref/source/os-instance-actions.inc @@ -63,8 +63,9 @@ Shows details for a server action. Action details of deleted instances can be returned for requests later than microversion 2.21. -Policy defaults enable only users with the administrative role to perform this operation. -Cloud providers can change these permissions through the ``policy.json`` file. +Policy defaults enable only users with the administrative role or the owner of +the server to perform this operation. Cloud providers can change these permissions +through the ``policy.json`` file. Normal response codes: 200 |