cinder/api-ref/source/v3/samples/group-create-from-src-response.json
zhufl bb703a9f4d api-ref: add missing response body for groups
1. https://developer.openstack.org/api-ref/block-storage/v3/#create-group
   "Create group" should have response body, like
    {
	"group": {
		"id": "2c311e17-9daa-4229-926a-cb9e233f06b0",
		"name": "tempest-GroupsTest-Group-938181552"
	}
    }

2. https://developer.openstack.org/api-ref/block-storage/v3/#create-group-from-source
   "Create group from source" should have response body, like
    {
        "group": {
                "id": "2c311e17-9daa-4229-926a-cb9e233f06b0",
                "name": "tempest-GroupsTest-Group-938181552"
        }
    }

3. https://developer.openstack.org/api-ref/block-storage/v3/#show-group-details
   group_type in "Show group details" or "List groups with details"
   or "Create group" should be an uuid string, not object.

4. group_snapshot_id and source_group_id should be optional in the
   response of "Show group details".

Change-Id: Iea0c8f0f6fec1b8460c4ea53ed6468adbc31abf2
2018-09-29 17:24:11 +08:00

7 lines
109 B
JSON

{
"group": {
"id": "6f519a48-3183-46cf-a32f-41815f816666",
"name": "first_group"
}
}