Skip to content

Commit bf715fe

Browse files
authored
Update swagger.yaml
1 parent 1c9eb99 commit bf715fe

1 file changed

Lines changed: 36 additions & 1 deletion

File tree

swagger.yaml

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ info:
55
\ AgentDVR at [https://www.ispyconnect.com](https://www.ispyconnect.com)\
66
\ This interface uses the default API endpoint of http://localhost:8090. You will need Agent DVR installed and running to use it. Many of the commands below take an Object ID and an Object Type ID. The Object ID is displayed in Agent's UI when you edit the device at the top left. For example if it says 1: Home Cam then your Object ID is 1. The Object Type ID is 1 for Microphones and 2 for cameras. You can also provide a group parameter instead of object id and type id - this will then apply the command to all devices that are in that group (on the General tab when you edit the device). Some commands can be called with neither id or group and will then apply to every device on the system."
77
title: 'Agent DVR'
8-
version: "6.5.1.0"
8+
version: "6.5.5.0"
99
termsOfService: "https://www.ispyconnect.com/terms.aspx"
1010
license:
1111
name: "Apache 2.0"
@@ -1114,6 +1114,41 @@ paths:
11141114
description: Set the AI model for the device.
11151115
tags:
11161116
- Commands
1117+
/command/setInterval:
1118+
get:
1119+
summary: "Set the interval for the specified field"
1120+
operationId: /command/setInterval
1121+
parameters:
1122+
- description: Object ID
1123+
in: query
1124+
name: oid
1125+
required: true
1126+
type: integer
1127+
- description: Object TypeID
1128+
enum:
1129+
- 1
1130+
- 2
1131+
in: query
1132+
name: ot
1133+
required: true
1134+
type: integer
1135+
- description: Setting to modify. Options are: Cameras: alerts, scenedetect, detector, face, ftp, objectdetect, askai, photos. Microphones: detector, alerts
1136+
in: query
1137+
name: type
1138+
required: true
1139+
type: string
1140+
- description: New value
1141+
in: query
1142+
name: value
1143+
required: true
1144+
type: integer
1145+
produces:
1146+
- application/json
1147+
responses:
1148+
"200":
1149+
description: Set the specified interval on the device.
1150+
tags:
1151+
- Commands
11171152
/command/setSensitivity:
11181153
get:
11191154
summary: Set the motion detector sensitivity on the selected device

0 commit comments

Comments
 (0)