
This patch adds a new microversion to ``GET /servers/{server_id}/os-instance-actions/{req_id}`` API to include the ``host`` field for admin and an ``hostId`` for all users by default. And the display of newly added ``host`` field will be controlled by the same policy as the ``traceback`` field. The newly added fields can be used to determine on which host a given action event occurred. Part of blueprint: add-host-to-instance-action-events Change-Id: I2f8b4a12a088b9ed96b428eafde2e0c478fb1db5
24 lines
883 B
JSON
24 lines
883 B
JSON
{
|
|
"instanceActions": [
|
|
{
|
|
"action": "stop",
|
|
"instance_uuid": "15835b6f-1e14-4cfa-9f66-1abea1a1c0d5",
|
|
"message": null,
|
|
"project_id": "6f70656e737461636b20342065766572",
|
|
"request_id": "req-f04d4b92-6241-42da-b82d-2cedb225c58d",
|
|
"start_time": "2018-04-25T01:26:36.036697",
|
|
"updated_at": "2018-04-25T01:26:36.525308",
|
|
"user_id": "admin"
|
|
},
|
|
{
|
|
"action": "create",
|
|
"instance_uuid": "15835b6f-1e14-4cfa-9f66-1abea1a1c0d5",
|
|
"message": null,
|
|
"project_id": "6f70656e737461636b20342065766572",
|
|
"request_id": "req-d8790618-9bbf-4df0-8af8-fc9e24de29c0",
|
|
"start_time": "2018-04-25T01:26:33.692125",
|
|
"updated_at": "2018-04-25T01:26:35.993821",
|
|
"user_id": "admin"
|
|
}
|
|
]
|
|
} |