Skip to content

Commit 5242a04

Browse files
author
Lungu Dumitru
committed
Added time entry restrictions for adding/updating time entries with start/end time with a duration under 1 minute.
1 parent 074281a commit 5242a04

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

sections/entries.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ If successful, the response will return `201 Created`. The response header `Loca
132132

133133
When creating a time entry: `task_id`, (`date` and `duration`) or (`start_time` and `end_time`).
134134

135+
### Restrictions
136+
137+
When creating a time entry with `start_time` and `end_time` the minimal time entry duration is 1 minute.
138+
135139
<a name="update"></a>
136140
## Updating a time entry
137141

@@ -155,6 +159,10 @@ For entries added with `start_time` and `end_time` the duration can be adjusted
155159

156160
The response will return `200 OK` and will contain the updated time entry info as in the **Getting a time entry** section.
157161

162+
### Restrictions
163+
164+
When updating an entry with `start_time` and `end_time` the new duration cannot be less than 1 minute.
165+
158166
<a name="delete"></a>
159167
## Deleting a time entry
160168

0 commit comments

Comments
 (0)