You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/Controller/AssignmentsApiController.php
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,7 @@ public function __construct(
49
49
* @param string $prompt The prompt to be sent to the assistant when the assignment is executed
50
50
* @param int $startsAt The timestamp when the assignment should start being executed
51
51
* @param string $recurrence The recurrence rule for the assignment, in RRULE format (e.g. "FREQ=DAILY;INTERVAL=1" for a daily assignment)
52
+
* @param string|null $timezone The timezone for this assignment (either the timezone name or a timezone offset, e.g. "Europe/Berlin" or "+0100" for UTC+1). Defaults to the user's current timezone
@@ -141,18 +142,19 @@ public function getUserAssignment(int $id): DataResponse {
141
142
* @param string|null $prompt The prompt to be sent to the assistant when the assignment is executed
142
143
* @param int|null $startsAt The timestamp when the assignment should start being executed
143
144
* @param string|null $recurrence The recurrence rule for the assignment, in RRULE format
145
+
* @param string|null $timezone The timezone for this assignment, omit to leave the current value in place. the value should be either the timezone name or a timezone offset, e.g. "Europe/Berlin" or "+0100" for UTC+1
Copy file name to clipboardExpand all lines: openapi.json
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,8 @@
30
30
"created_at",
31
31
"updated_at",
32
32
"starts_at",
33
-
"last_run_at"
33
+
"last_run_at",
34
+
"timezone"
34
35
],
35
36
"properties": {
36
37
"id": {
@@ -61,6 +62,9 @@
61
62
"last_run_at": {
62
63
"type": "integer",
63
64
"format": "int64"
65
+
},
66
+
"timezone": {
67
+
"type": "string"
64
68
}
65
69
}
66
70
},
@@ -5356,6 +5360,11 @@
5356
5360
"recurrence": {
5357
5361
"type": "string",
5358
5362
"description": "The recurrence rule for the assignment, in RRULE format (e.g. \"FREQ=DAILY;INTERVAL=1\" for a daily assignment)"
5363
+
},
5364
+
"timezone": {
5365
+
"type": "string",
5366
+
"nullable": true,
5367
+
"description": "The timezone for this assignment (either the timezone name or a timezone offset, e.g. \"Europe/Berlin\" or \"+0100\" for UTC+1). Defaults to the user's current timezone"
5359
5368
}
5360
5369
}
5361
5370
}
@@ -5925,6 +5934,11 @@
5925
5934
"format": "int64",
5926
5935
"nullable": true,
5927
5936
"description": "The timestamp when the assignment should start being executed"
5937
+
},
5938
+
"timezone": {
5939
+
"type": "string",
5940
+
"nullable": true,
5941
+
"description": "The timezone for this assignment, omit to leave the current value in place. the value should be either the timezone name or a timezone offset, e.g. \"Europe/Berlin\" or \"+0100\" for UTC+1"
0 commit comments