011235fb2f
This brings the Images API Reference to the glance tree as part of the effort described here: https://wiki.openstack.org/wiki/Documentation/Migrate#API_Reference_Plan This patch contains the tasks part of the Images v2 API reference. Change-Id: I02ea9052c00c069a03c58b17893a5e93828e172d
73 lines
2.0 KiB
JSON
73 lines
2.0 KiB
JSON
{
|
|
"name": "task",
|
|
"properties": {
|
|
"created_at": {
|
|
"description": "Datetime when this resource was created",
|
|
"type": "string"
|
|
},
|
|
"expires_at": {
|
|
"description": "Datetime when this resource would be subject to removal",
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"id": {
|
|
"description": "An identifier for the task",
|
|
"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"
|
|
},
|
|
"input": {
|
|
"description": "The parameters required by task, JSON blob",
|
|
"type": [
|
|
"null",
|
|
"object"
|
|
]
|
|
},
|
|
"message": {
|
|
"description": "Human-readable informative message only included when appropriate (usually on failure)",
|
|
"type": "string"
|
|
},
|
|
"owner": {
|
|
"description": "An identifier for the owner of this task",
|
|
"type": "string"
|
|
},
|
|
"result": {
|
|
"description": "The result of current task, JSON blob",
|
|
"type": [
|
|
"null",
|
|
"object"
|
|
]
|
|
},
|
|
"schema": {
|
|
"readOnly": true,
|
|
"type": "string"
|
|
},
|
|
"self": {
|
|
"readOnly": true,
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "The current status of this task",
|
|
"enum": [
|
|
"pending",
|
|
"processing",
|
|
"success",
|
|
"failure"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "The type of task represented by this content",
|
|
"enum": [
|
|
"import"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"updated_at": {
|
|
"description": "Datetime when this resource was updated",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|