Skip to content

Commit 634c4e4

Browse files
authored
Update swagger.yaml
1 parent df3bb1e commit 634c4e4

1 file changed

Lines changed: 60 additions & 0 deletions

File tree

swagger.yaml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -929,6 +929,66 @@ paths:
929929
description: ping
930930
tags:
931931
- Commands
932+
/command/ptzscheduleon:
933+
get:
934+
summary: enable the ptz scheduler or enable a specific ptz schedule entry (5.9.4.0+)
935+
operationId: /command/ptzscheduleon
936+
parameters:
937+
- description: Object ID
938+
in: query
939+
name: oid
940+
required: true
941+
type: integer
942+
- description: Object TypeID
943+
enum:
944+
- 1
945+
- 2
946+
in: query
947+
name: ot
948+
required: true
949+
type: integer
950+
- description: Identifier of the PTZ Schedule entry (from the copy button on the PTZ Schedule list in the UI)
951+
in: query
952+
name: ident
953+
required: false
954+
type: string
955+
produces:
956+
- application/json
957+
responses:
958+
"200":
959+
description: Enables the PTZ Scheduler or a specific entry
960+
tags:
961+
- Commands
962+
/command/ptzscheduleoff:
963+
get:
964+
summary: disable the ptz scheduler or disable a specific ptz schedule entry (5.9.4.0+)
965+
operationId: /command/ptzscheduleoff
966+
parameters:
967+
- description: Object ID
968+
in: query
969+
name: oid
970+
required: true
971+
type: integer
972+
- description: Object TypeID
973+
enum:
974+
- 1
975+
- 2
976+
in: query
977+
name: ot
978+
required: true
979+
type: integer
980+
- description: Identifier of the PTZ Schedule entry (from the copy button on the PTZ Schedule list in the UI)
981+
in: query
982+
name: ident
983+
required: false
984+
type: string
985+
produces:
986+
- application/json
987+
responses:
988+
"200":
989+
description: Disables the PTZ Scheduler or a specific entry
990+
tags:
991+
- Commands
932992
/command/record:
933993
get:
934994
summary: Start recording for the device.

0 commit comments

Comments
 (0)