diff --git a/api-ref/src/docbkx/ch_images-v2.xml b/api-ref/src/docbkx/ch_images-v2.xml
index 0667fc92c..065b95fb0 100644
--- a/api-ref/src/docbkx/ch_images-v2.xml
+++ b/api-ref/src/docbkx/ch_images-v2.xml
@@ -30,8 +30,9 @@
Images
Creates, lists, updates, and deletes images.
- Image operations show all fields in the response body. For any
- field with no value, the response body shows None
.
+ Image operations show all fields in the response body. Any field
+ with no value is set to null
value (JSON null data
+ type).
The possible status values for images are:
diff --git a/api-ref/src/wadls/image-api/src/v2/common.ent b/api-ref/src/wadls/image-api/src/v2/common.ent
index 42381f821..4fa4b439c 100644
--- a/api-ref/src/wadls/image-api/src/v2/common.ent
+++ b/api-ref/src/wadls/image-api/src/v2/common.ent
@@ -236,8 +236,8 @@
The name of the image.
- If this field has no value, its
- value is None
.
+
+ If this field has no value, its value is null
(JSON null data type).
'>
@@ -250,8 +250,8 @@
The container format of image.
- If this field has no value, its
- value is None
.
+
+ If this field has no value, its value is null
(JSON null data type).
'>
@@ -272,7 +272,7 @@
The disk format of the image.
- If this field has no value, its value is None
.
+ If this field has no value, its value is null
(JSON null data type).
'>
@@ -289,9 +289,11 @@
style="plain" required="true" type="xsd:int">
- The minimum disk size in GB that is required to boot the image.
- If this field has no value, its value is None
.
+ The minimum disk size in GB that is required to boot the image.
+
+
+ If this field has no value, its value is null
(JSON null data type).
'>
@@ -317,8 +319,8 @@
The minimum amount of RAM in MB that is required to boot the image.
- If this field has no value, its
- value is None
.
+
+ If this field has no value, its value is null
(JSON null data type).
'>
@@ -330,8 +332,8 @@
Hash of the image data used. The Image service uses this value for
verification.
- If this field has no value, its
- value is None
.
+
+ If this field has no value, its value is null
(JSON null data type).
'>
@@ -341,8 +343,8 @@
The ID of the owner, or tenant, of the image.
- If this field has no value, its
- value is None
.
+
+ If this field has no value, its value is null
(JSON null data type).
'>
@@ -360,8 +362,8 @@
The virtual size of the image.
- If this field has no value, its
- value is None
.
+
+ If this field has no value, its value is null
(JSON null data type).
'>
@@ -379,8 +381,8 @@
The size of the image data, in bytes.
- If this field has no value, its
- value is None
.
+
+ If this field has no value, its value is null
(JSON null data type).
'>
diff --git a/api-ref/src/wadls/image-api/src/v2/samples/image-create-response.json b/api-ref/src/wadls/image-api/src/v2/samples/image-create-response.json
index aa679dc39..2b362d3bb 100644
--- a/api-ref/src/wadls/image-api/src/v2/samples/image-create-response.json
+++ b/api-ref/src/wadls/image-api/src/v2/samples/image-create-response.json
@@ -18,7 +18,7 @@
"owner": "b4eedccc6fb74fa8a7ad6b08382b852b",
"min_ram": 0,
"schema": "/v2/schemas/image",
- "size": "None",
- "checksum": "None",
- "virtual_size": "None"
+ "size": null,
+ "checksum": null,
+ "virtual_size": null
}
diff --git a/api-ref/src/wadls/image-api/src/v2/samples/image-details-deactivate-response.json b/api-ref/src/wadls/image-api/src/v2/samples/image-details-deactivate-response.json
index 1180fd363..43d41c335 100644
--- a/api-ref/src/wadls/image-api/src/v2/samples/image-details-deactivate-response.json
+++ b/api-ref/src/wadls/image-api/src/v2/samples/image-details-deactivate-response.json
@@ -17,5 +17,5 @@
"size": 13167616,
"min_ram": 0,
"schema": "/v2/schemas/image",
- "virtual_size": "None"
+ "virtual_size": null
}
diff --git a/api-ref/src/wadls/image-api/src/v2/samples/image-details-response.json b/api-ref/src/wadls/image-api/src/v2/samples/image-details-response.json
index c425508f5..07055355c 100644
--- a/api-ref/src/wadls/image-api/src/v2/samples/image-details-response.json
+++ b/api-ref/src/wadls/image-api/src/v2/samples/image-details-response.json
@@ -17,5 +17,5 @@
"size": 13167616,
"min_ram": 0,
"schema": "/v2/schemas/image",
- "virtual_size": "None"
+ "virtual_size": null
}
diff --git a/api-ref/src/wadls/image-api/src/v2/samples/image-list-response.json b/api-ref/src/wadls/image-api/src/v2/samples/image-list-response.json
index ded242eac..8e2097a09 100644
--- a/api-ref/src/wadls/image-api/src/v2/samples/image-list-response.json
+++ b/api-ref/src/wadls/image-api/src/v2/samples/image-list-response.json
@@ -19,7 +19,7 @@
"size": 13167616,
"min_ram": 0,
"schema": "/v2/schemas/image",
- "virtual_size": "None"
+ "virtual_size": null
},
{
"status": "active",
@@ -40,7 +40,7 @@
"size": 476704768,
"min_ram": 0,
"schema": "/v2/schemas/image",
- "virtual_size": "None"
+ "virtual_size": null
}
],
"schema": "/v2/schemas/images",
diff --git a/api-ref/src/wadls/image-api/src/v2/samples/image-update-response.json b/api-ref/src/wadls/image-api/src/v2/samples/image-update-response.json
index a360ba5f2..2fdcdd90f 100644
--- a/api-ref/src/wadls/image-api/src/v2/samples/image-update-response.json
+++ b/api-ref/src/wadls/image-api/src/v2/samples/image-update-response.json
@@ -14,10 +14,10 @@
"self": "/v2/images/da3b75d9-3f4a-40e7-8a2c-bfab23927dea",
"file": "/v2/images/da3b75d9-3f4a-40e7-8a2c-bfab23927dea/file",
"schema": "/v2/schemas/image",
- "owner": "None",
- "min_ram": "None",
- "min_disk": "None",
- "disk_format": "None",
- "virtual_size": "None",
- "container_format": "None"
+ "owner": null,
+ "min_ram": null,
+ "min_disk": null,
+ "disk_format": null,
+ "virtual_size": null,
+ "container_format": null
}