diff --git a/api-ref/source/v2/parameters.yaml b/api-ref/source/v2/parameters.yaml index f84544e2973..7f6ebe9871f 100644 --- a/api-ref/source/v2/parameters.yaml +++ b/api-ref/source/v2/parameters.yaml @@ -1322,21 +1322,21 @@ os-vol-host-attr:host: Current back-end of the volume. Host format is ``host@backend#pool``. in: body - required: true + required: false type: string os-vol-mig-status-attr:migstat: description: | The status of this volume migration (None means that a migration is not currently in progress). in: body - required: true + required: false type: string os-vol-mig-status-attr:name_id: description: | The volume ID that this volume name on the back- end is based on. in: body - required: true + required: false type: string os-vol-tenant-attr:tenant_id: description: | diff --git a/api-ref/source/v3/parameters.yaml b/api-ref/source/v3/parameters.yaml index 9f7209bad79..104f3d20c2e 100644 --- a/api-ref/source/v3/parameters.yaml +++ b/api-ref/source/v3/parameters.yaml @@ -1142,6 +1142,12 @@ group_id: in: body required: true type: string +group_id_optional: + description: | + The ID of the group. + in: body + required: false + type: string group_name: description: | The group name. @@ -2050,21 +2056,21 @@ os-vol-host-attr:host: Current back-end of the volume. Host format is ``host@backend#pool``. in: body - required: true + required: false type: string os-vol-mig-status-attr:migstat: description: | The status of this volume migration (None means that a migration is not currently in progress). in: body - required: true + required: false type: string os-vol-mig-status-attr:name_id: description: | The volume ID that this volume name on the back- end is based on. in: body - required: true + required: false type: string os-vol-tenant-attr:tenant_id: description: | @@ -2445,6 +2451,7 @@ service_uuid: in: body required: true type: string + min_version: 3.48 services: description: | A list of service objects. @@ -2458,6 +2465,7 @@ shared_targets: in: body required: true type: boolean + min_version: 3.48 size: description: | The size of the volume, in gibibytes (GiB). diff --git a/api-ref/source/v3/samples/volumes-list-detailed-response.json b/api-ref/source/v3/samples/volumes-list-detailed-response.json index aafa710cce5..82a21d737ce 100644 --- a/api-ref/source/v3/samples/volumes-list-detailed-response.json +++ b/api-ref/source/v3/samples/volumes-list-detailed-response.json @@ -45,7 +45,8 @@ "name": "test-volume-attachments", "bootable": "false", "created_at": "2015-11-29T03:01:44.000000", - "volume_type": "lvmdriver-1" + "volume_type": "lvmdriver-1", + "group_id": "8fbe5733-eb03-4c88-9ef9-f32b7d03a5e4" }, { "migration_status": null, @@ -92,7 +93,8 @@ "name": "test-volume", "bootable": "true", "created_at": "2015-11-29T02:25:18.000000", - "volume_type": "lvmdriver-1" + "volume_type": "lvmdriver-1", + "group_id": "8fbe5733-eb03-4c88-9ef9-f32b7d03a5e4" } ], "volumes_links": [{ diff --git a/api-ref/source/v3/volumes-v3-volumes.inc b/api-ref/source/v3/volumes-v3-volumes.inc index cf8eff71270..ae22d5ed272 100644 --- a/api-ref/source/v3/volumes-v3-volumes.inc +++ b/api-ref/source/v3/volumes-v3-volumes.inc @@ -101,7 +101,7 @@ Response Parameters .. rest_parameters:: parameters.yaml - - migration_status: migration_status_req + - migration_status: migration_status - attachments: attachments - links: links_vol - availability_zone: availability_zone @@ -128,6 +128,7 @@ Response Parameters - created_at: created_at - volumes: volumes - volume_type: volume_type_vol + - group_id: group_id_optional - volumes_links: links_vol_optional - count: count @@ -242,6 +243,7 @@ Response Parameters - bootable: bootable_response - created_at: created_at - volume_type: volume_type_vol + - group_id: group_id_optional Response Example ----------------