Merge "api-ref: Refresh images schemas"
This commit is contained in:
commit
2899a4dd40
@ -15,6 +15,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"schema": {
|
"schema": {
|
||||||
|
"readOnly": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"status": {
|
"status": {
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"schema": {
|
"schema": {
|
||||||
|
"readOnly": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"status": {
|
"status": {
|
||||||
|
@ -24,8 +24,9 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"checksum": {
|
"checksum": {
|
||||||
"description": "md5 hash of image contents. (READ-ONLY)",
|
"description": "md5 hash of image contents.",
|
||||||
"maxLength": 32,
|
"maxLength": 32,
|
||||||
|
"readOnly": true,
|
||||||
"type": [
|
"type": [
|
||||||
"null",
|
"null",
|
||||||
"string"
|
"string"
|
||||||
@ -40,7 +41,8 @@
|
|||||||
"aki",
|
"aki",
|
||||||
"bare",
|
"bare",
|
||||||
"ovf",
|
"ovf",
|
||||||
"ova"
|
"ova",
|
||||||
|
"docker"
|
||||||
],
|
],
|
||||||
"type": [
|
"type": [
|
||||||
"null",
|
"null",
|
||||||
@ -48,11 +50,13 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"created_at": {
|
"created_at": {
|
||||||
"description": "Date and time of image registration (READ-ONLY)",
|
"description": "Date and time of image registration",
|
||||||
|
"readOnly": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"direct_url": {
|
"direct_url": {
|
||||||
"description": "URL to access the image file kept in external store (READ-ONLY)",
|
"description": "URL to access the image file kept in external store",
|
||||||
|
"readOnly": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"disk_format": {
|
"disk_format": {
|
||||||
@ -75,7 +79,8 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"file": {
|
"file": {
|
||||||
"description": "(READ-ONLY)",
|
"description": "An image file url",
|
||||||
|
"readOnly": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"id": {
|
"id": {
|
||||||
@ -84,7 +89,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"instance_uuid": {
|
"instance_uuid": {
|
||||||
"description": "ID of instance used to create this image.",
|
"description": "Metadata which can be used to record which instance this image is associated with. (Informational only, does not create an instance snapshot.)",
|
||||||
"is_base": false,
|
"is_base": false,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
@ -92,7 +97,10 @@
|
|||||||
"description": "ID of image stored in Glance that should be used as the kernel when booting an AMI-style image.",
|
"description": "ID of image stored in Glance that should be used as the kernel when booting an AMI-style image.",
|
||||||
"is_base": false,
|
"is_base": false,
|
||||||
"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
|
"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
|
||||||
"type": "string"
|
"type": [
|
||||||
|
"null",
|
||||||
|
"string"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"locations": {
|
"locations": {
|
||||||
"description": "A set of URLs to access the image file kept in external store",
|
"description": "A set of URLs to access the image file kept in external store",
|
||||||
@ -156,33 +164,41 @@
|
|||||||
"description": "ID of image stored in Glance that should be used as the ramdisk when booting an AMI-style image.",
|
"description": "ID of image stored in Glance that should be used as the ramdisk when booting an AMI-style image.",
|
||||||
"is_base": false,
|
"is_base": false,
|
||||||
"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
|
"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
|
||||||
"type": "string"
|
"type": [
|
||||||
|
"null",
|
||||||
|
"string"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"schema": {
|
"schema": {
|
||||||
"description": "(READ-ONLY)",
|
"description": "An image schema url",
|
||||||
|
"readOnly": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"self": {
|
"self": {
|
||||||
"description": "(READ-ONLY)",
|
"description": "An image self url",
|
||||||
|
"readOnly": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"description": "Size of image file in bytes (READ-ONLY)",
|
"description": "Size of image file in bytes",
|
||||||
|
"readOnly": true,
|
||||||
"type": [
|
"type": [
|
||||||
"null",
|
"null",
|
||||||
"integer"
|
"integer"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"status": {
|
"status": {
|
||||||
"description": "Status of the image (READ-ONLY)",
|
"description": "Status of the image",
|
||||||
"enum": [
|
"enum": [
|
||||||
"queued",
|
"queued",
|
||||||
"saving",
|
"saving",
|
||||||
"active",
|
"active",
|
||||||
"killed",
|
"killed",
|
||||||
"deleted",
|
"deleted",
|
||||||
"pending_delete"
|
"pending_delete",
|
||||||
|
"deactivated"
|
||||||
],
|
],
|
||||||
|
"readOnly": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
@ -194,11 +210,13 @@
|
|||||||
"type": "array"
|
"type": "array"
|
||||||
},
|
},
|
||||||
"updated_at": {
|
"updated_at": {
|
||||||
"description": "Date and time of the last image modification (READ-ONLY)",
|
"description": "Date and time of the last image modification",
|
||||||
|
"readOnly": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"virtual_size": {
|
"virtual_size": {
|
||||||
"description": "Virtual size of image in bytes (READ-ONLY)",
|
"description": "Virtual size of image in bytes",
|
||||||
|
"readOnly": true,
|
||||||
"type": [
|
"type": [
|
||||||
"null",
|
"null",
|
||||||
"integer"
|
"integer"
|
||||||
|
@ -45,8 +45,9 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"checksum": {
|
"checksum": {
|
||||||
"description": "md5 hash of image contents. (READ-ONLY)",
|
"description": "md5 hash of image contents.",
|
||||||
"maxLength": 32,
|
"maxLength": 32,
|
||||||
|
"readOnly": true,
|
||||||
"type": [
|
"type": [
|
||||||
"null",
|
"null",
|
||||||
"string"
|
"string"
|
||||||
@ -61,7 +62,8 @@
|
|||||||
"aki",
|
"aki",
|
||||||
"bare",
|
"bare",
|
||||||
"ovf",
|
"ovf",
|
||||||
"ova"
|
"ova",
|
||||||
|
"docker"
|
||||||
],
|
],
|
||||||
"type": [
|
"type": [
|
||||||
"null",
|
"null",
|
||||||
@ -69,11 +71,13 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"created_at": {
|
"created_at": {
|
||||||
"description": "Date and time of image registration (READ-ONLY)",
|
"description": "Date and time of image registration",
|
||||||
|
"readOnly": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"direct_url": {
|
"direct_url": {
|
||||||
"description": "URL to access the image file kept in external store (READ-ONLY)",
|
"description": "URL to access the image file kept in external store",
|
||||||
|
"readOnly": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"disk_format": {
|
"disk_format": {
|
||||||
@ -96,7 +100,8 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"file": {
|
"file": {
|
||||||
"description": "(READ-ONLY)",
|
"description": "An image file url",
|
||||||
|
"readOnly": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"id": {
|
"id": {
|
||||||
@ -105,7 +110,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"instance_uuid": {
|
"instance_uuid": {
|
||||||
"description": "ID of instance used to create this image.",
|
"description": "Metadata which can be used to record which instance this image is associated with. (Informational only, does not create an instance snapshot.)",
|
||||||
"is_base": false,
|
"is_base": false,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
@ -113,7 +118,10 @@
|
|||||||
"description": "ID of image stored in Glance that should be used as the kernel when booting an AMI-style image.",
|
"description": "ID of image stored in Glance that should be used as the kernel when booting an AMI-style image.",
|
||||||
"is_base": false,
|
"is_base": false,
|
||||||
"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
|
"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
|
||||||
"type": "string"
|
"type": [
|
||||||
|
"null",
|
||||||
|
"string"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"locations": {
|
"locations": {
|
||||||
"description": "A set of URLs to access the image file kept in external store",
|
"description": "A set of URLs to access the image file kept in external store",
|
||||||
@ -177,33 +185,41 @@
|
|||||||
"description": "ID of image stored in Glance that should be used as the ramdisk when booting an AMI-style image.",
|
"description": "ID of image stored in Glance that should be used as the ramdisk when booting an AMI-style image.",
|
||||||
"is_base": false,
|
"is_base": false,
|
||||||
"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
|
"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
|
||||||
"type": "string"
|
"type": [
|
||||||
|
"null",
|
||||||
|
"string"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"schema": {
|
"schema": {
|
||||||
"description": "(READ-ONLY)",
|
"description": "An image schema url",
|
||||||
|
"readOnly": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"self": {
|
"self": {
|
||||||
"description": "(READ-ONLY)",
|
"description": "An image self url",
|
||||||
|
"readOnly": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"description": "Size of image file in bytes (READ-ONLY)",
|
"description": "Size of image file in bytes",
|
||||||
|
"readOnly": true,
|
||||||
"type": [
|
"type": [
|
||||||
"null",
|
"null",
|
||||||
"integer"
|
"integer"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"status": {
|
"status": {
|
||||||
"description": "Status of the image (READ-ONLY)",
|
"description": "Status of the image",
|
||||||
"enum": [
|
"enum": [
|
||||||
"queued",
|
"queued",
|
||||||
"saving",
|
"saving",
|
||||||
"active",
|
"active",
|
||||||
"killed",
|
"killed",
|
||||||
"deleted",
|
"deleted",
|
||||||
"pending_delete"
|
"pending_delete",
|
||||||
|
"deactivated"
|
||||||
],
|
],
|
||||||
|
"readOnly": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
@ -215,11 +231,13 @@
|
|||||||
"type": "array"
|
"type": "array"
|
||||||
},
|
},
|
||||||
"updated_at": {
|
"updated_at": {
|
||||||
"description": "Date and time of the last image modification (READ-ONLY)",
|
"description": "Date and time of the last image modification",
|
||||||
|
"readOnly": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"virtual_size": {
|
"virtual_size": {
|
||||||
"description": "Virtual size of image in bytes (READ-ONLY)",
|
"description": "Virtual size of image in bytes",
|
||||||
|
"readOnly": true,
|
||||||
"type": [
|
"type": [
|
||||||
"null",
|
"null",
|
||||||
"integer"
|
"integer"
|
||||||
|
Loading…
Reference in New Issue
Block a user