zun/api-ref/source/samples/container-actions-list-resp.json
Hongbin Lu d99faddc5a Unify the format of list response
Change the format of container_actions response for consistency
with other APIs. Right now, all the list response is of the
following format:

  {"xxx" [{...}, ...]}

Change-Id: I388548a1c15e61b62e802da634c7be8697ff05b9
2018-04-11 02:33:41 +00:00

23 lines
827 B
JSON

{
"containerActions": [
{
"action": "create",
"container_uuid": "b48316c5-71e8-45e4-9884-6c78055b9b13",
"message": null,
"project_id": "853719b303ef4858a195535eb520e58d",
"request_id": "req-25517360-b757-47d3-be45-0e8d2a01b36a",
"start_time": "2018-03-04 19:48:49+00:00",
"user_id": "22e81669093742b7a74b1d715a9a5813"
},
{
"action": "stop",
"container_uuid": "b48316c5-71e8-45e4-9884-6c78055b9b13",
"message": null,
"project_id": "853719b303ef4858a195535eb520e58d",
"request_id": "req-3293a3f1-b44c-4609-b8d2-d81b105636b8",
"start_time": "2018-03-04 17:02:54+00:00",
"user_id": "22e81669093742b7a74b1d715a9a5813"
}
]
}