From 0f3375689f5b5738de45f779424760bccb4b6e6a Mon Sep 17 00:00:00 2001 From: zhufl Date: Sat, 29 Sep 2018 11:24:08 +0800 Subject: [PATCH] api-ref: add missing fields in volume group types There are some fields missing in volume group types api ref, https://developer.openstack.org/api-ref/block-storage/v3/#list-group-types is_public and description are missing from the response and sample of "List group types". Change-Id: I47c3c8279d2026f04646ceba4bd31f23519fffad --- api-ref/source/v3/group-types.inc | 2 ++ api-ref/source/v3/samples/group-types-list-response.json | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/api-ref/source/v3/group-types.inc b/api-ref/source/v3/group-types.inc index 303ac048d1e..8fa6ebc9f63 100644 --- a/api-ref/source/v3/group-types.inc +++ b/api-ref/source/v3/group-types.inc @@ -227,6 +227,8 @@ Response Parameters - id: group_type_id_2 - group_specs: group_specs - name: name_16 + - is_public: is_public_group_type_required + - description: description_group_type_required Response Example ---------------- diff --git a/api-ref/source/v3/samples/group-types-list-response.json b/api-ref/source/v3/samples/group-types-list-response.json index d760604f7b9..bd49426e052 100644 --- a/api-ref/source/v3/samples/group-types-list-response.json +++ b/api-ref/source/v3/samples/group-types-list-response.json @@ -1,16 +1,20 @@ { "group_types": [ { + "is_public": true, "group_specs": { "consistent_group_snapshot_enabled": " False" }, "id": "6685584b-1eac-4da6-b5c3-555430cf68ff", - "name": "group_type1" + "name": "group_type1", + "description": "tempest-group-type-description-1261576824" }, { + "is_public": true, "group_specs": {}, "id": "8eb69a46-df97-4e41-9586-9a40a7533803", - "name": "group_type2" + "name": "group_type2", + "description": "tempest-group-type-description-3927295731" } ] }