diff --git a/api-ref/source/v2/hosts.inc b/api-ref/source/v2/hosts.inc index 665ce27504e..181505680f2 100644 --- a/api-ref/source/v2/hosts.inc +++ b/api-ref/source/v2/hosts.inc @@ -92,9 +92,9 @@ Response .. rest_parameters:: parameters.yaml - - volume_count: total_count - - total_volume_gb: totalGigabytesUsed - - total_snapshot_gb: totalSnapshotsUsed + - volume_count: total_count_str + - total_volume_gb: totalGigabytesUsedStr + - total_snapshot_gb: totalSnapshotsUsedStr - project: project_id_2 - host: host_name_1 - snapshot_count: totalSnapshotsUsed diff --git a/api-ref/source/v2/parameters.yaml b/api-ref/source/v2/parameters.yaml index 7f6ebe9871f..63aefa9ed1d 100644 --- a/api-ref/source/v2/parameters.yaml +++ b/api-ref/source/v2/parameters.yaml @@ -1648,6 +1648,12 @@ total_count: in: body required: true type: integer +total_count_str: + description: | + Total number of volumes. + in: body + required: true + type: string totalBackupGigabytesUsed: description: | The total number of backups gibibytes (GiB) used. @@ -1666,12 +1672,24 @@ totalGigabytesUsed: in: body required: true type: integer +totalGigabytesUsedStr: + description: | + The total number of gibibytes (GiB) used. + in: body + required: true + type: string totalSnapshotsUsed: description: | The total number of snapshots used. in: body required: true type: integer +totalSnapshotsUsedStr: + description: | + The total number of snapshots used. + in: body + required: true + type: string totalVolumesUsed: description: | The total number of volumes used. diff --git a/api-ref/source/v3/hosts.inc b/api-ref/source/v3/hosts.inc index a85950f1756..273138b7567 100644 --- a/api-ref/source/v3/hosts.inc +++ b/api-ref/source/v3/hosts.inc @@ -95,7 +95,7 @@ Response - host: host - volume_count: total_count - - total_volume_gb: totalGigabytesUsed + - total_volume_gb: totalGigabytesUsedStr - total_snapshot_gb: totalSnapGigabytesUsed - project: project_id_host - host: host_name_backend diff --git a/api-ref/source/v3/parameters.yaml b/api-ref/source/v3/parameters.yaml index 4468bea8201..d1ddb738f0e 100644 --- a/api-ref/source/v3/parameters.yaml +++ b/api-ref/source/v3/parameters.yaml @@ -2784,6 +2784,12 @@ totalGigabytesUsed: in: body required: true type: integer +totalGigabytesUsedStr: + description: | + The total number of gibibytes (GiB) used. + in: body + required: true + type: string totalSnapGigabytesUsed: description: | The total number of gibibytes (GiB) used by snapshots.