Properties
| Name | Type | Description |
|---|---|---|
| tid | string | Updated task ID. |
| description | string | Updated description. |
| start | integer | Updated start time. |
| end | integer | Updated end time. |
| duration | integer | Updated duration in milliseconds. |
| billable | boolean | Updated billable status. |
| tag_action | string | Whether to add or remove tags. |
| tags | array | Tags to add or remove. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/UpdateTimeEntryRequest",
"title": "UpdateTimeEntryRequest",
"type": "object",
"description": "Request body for updating an existing time entry.",
"properties": {
"tid": {
"type": "string",
"description": "Updated task ID."
},
"description": {
"type": "string",
"description": "Updated description."
},
"start": {
"type": "integer",
"format": "int64",
"description": "Updated start time."
},
"end": {
"type": "integer",
"format": "int64",
"description": "Updated end time."
},
"duration": {
"type": "integer",
"description": "Updated duration in milliseconds."
},
"billable": {
"type": "boolean",
"description": "Updated billable status."
},
"tag_action": {
"type": "string",
"enum": [
"add",
"remove"
],
"description": "Whether to add or remove tags."
},
"tags": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The tag name."
}
}
},
"description": "Tags to add or remove."
}
}
}