Skip to content

Commit

Permalink
docs: Add missing lastKnownState to scheduler docs
Browse files Browse the repository at this point in the history
Fixes #332.
  • Loading branch information
mountaindude committed Dec 28, 2021
1 parent faaa361 commit 37baf36
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/api/scheduler.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,12 @@ const apiPUTSchedulesStart = {
description: 'Can be used to categorise schedules.',
example: '["tag 1", "tag 2"]',
},
lastKnownState: {
type: 'string',
description: 'Last known state (started/stopped) for the schedule.',
enum: ['started', 'stopped'],
example: 'started',
},
},
},
400: {
Expand Down Expand Up @@ -432,6 +438,12 @@ const apiPUTSchedulesStop = {
description: 'Can be used to categorise schedules.',
example: '["tag 1", "tag 2"]',
},
lastKnownState: {
type: 'string',
description: 'Last known state (started/stopped) for the schedule.',
enum: ['started', 'stopped'],
example: 'started',
},
},
},
400: {
Expand Down

0 comments on commit 37baf36

Please sign in to comment.