Repository navigation
Commit a262190
Show the occupancy events in the 2.14 and 2.15 activity log examples
In 2.14 and 2.15, add an admin_occupancy_state_change and an
admin_occupancy_setting_change entry to the GET /admins/activity_logs
response example, so it shows previous_state, new_state,
threshold_minutes, last_activity_at, auto, setting_type and changes.
The state change is recorded by the system, so its performed_by ip is
`unknown`.
The before and after values in activity_log_metadata.changes get an
example each, and their descriptions say they take the setting's own
type. They keep no `type`, because the value can be an integer, a
boolean, a string or a list depending on the setting.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent 98a259b commit a262190
2 files changed
Lines changed: 78 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
259 | 290 | | |
260 | 291 | | |
261 | 292 | | |
| |||
15557 | 15588 | | |
15558 | 15589 | | |
15559 | 15590 | | |
15560 | | - | |
| 15591 | + | |
| 15592 | + | |
| 15593 | + | |
| 15594 | + | |
15561 | 15595 | | |
15562 | | - | |
| 15596 | + | |
| 15597 | + | |
| 15598 | + | |
| 15599 | + | |
15563 | 15600 | | |
15564 | 15601 | | |
15565 | 15602 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
259 | 290 | | |
260 | 291 | | |
261 | 292 | | |
| |||
16181 | 16212 | | |
16182 | 16213 | | |
16183 | 16214 | | |
16184 | | - | |
| 16215 | + | |
| 16216 | + | |
| 16217 | + | |
| 16218 | + | |
16185 | 16219 | | |
16186 | | - | |
| 16220 | + | |
| 16221 | + | |
| 16222 | + | |
| 16223 | + | |
16187 | 16224 | | |
16188 | 16225 | | |
16189 | 16226 | | |
| |||
0 commit comments