Properties
| Name | Type | Description |
|---|---|---|
| name | string | Name of the operation. |
| started_at | string | When the operation started. |
| finished_at | string | When the operation finished. |
| duration_sec | number | For finished operations, how long they took, in seconds. |
| done | integer | Number of completed units of work, if applicable. |
| total | integer | Total number of units of work, if applicable and known. |
| children | array | Child operations. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ProgressTree",
"title": "ProgressTree",
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "Name of the operation.",
"type": "string"
},
"started_at": {
"description": "When the operation started.",
"type": "string",
"format": "date-time",
"nullable": true
},
"finished_at": {
"description": "When the operation finished.",
"type": "string",
"format": "date-time",
"nullable": true
},
"duration_sec": {
"description": "For finished operations, how long they took, in seconds.",
"type": "number",
"format": "double",
"nullable": true
},
"done": {
"description": "Number of completed units of work, if applicable.",
"type": "integer",
"format": "uint64",
"minimum": 0,
"nullable": true
},
"total": {
"description": "Total number of units of work, if applicable and known.",
"type": "integer",
"format": "uint64",
"minimum": 0,
"nullable": true
},
"children": {
"description": "Child operations.",
"type": "array",
"items": {
"$ref": "#/components/schemas/ProgressTree"
}
}
}
}