Skip to content

Commit 57b5f74

Browse files
authored
Update swagger.yaml
1 parent 3f093b2 commit 57b5f74

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

swagger.yaml

Lines changed: 18 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: "5.6.4.0"
8+
version: "5.7.9.0"
99
termsOfService: "https://www.ispyconnect.com/terms.aspx"
1010
license:
1111
name: "Apache 2.0"
@@ -2276,6 +2276,23 @@ paths:
22762276
description: Get a JSON list of configured RTMP servers (with status). This provides an ident field you use in subsequent requests.
22772277
tags:
22782278
- Queries
2279+
/q/getGraph:
2280+
get:
2281+
summary: "Get a JSON description of the file with a motion graph array and tag information (including timestamps)"
2282+
operationId: /q/getGraph
2283+
parameters:
2284+
- description: Filename (from getEvents call)
2285+
in: query
2286+
name: fn
2287+
required: true
2288+
type: string
2289+
produces:
2290+
- application/json
2291+
responses:
2292+
"200":
2293+
description: Return json array
2294+
tags:
2295+
- Query
22792296
/q/getEvents:
22802297
get:
22812298
summary: "Get a JSON list of recordings for the server or specific device. If you receive 400 events you will need to make another call to getevents passing in enddate=x where x is the last received timestamp in the array to retrieve the next 400. Pass in tag=x to filter the results to recordings tagged with x"

0 commit comments

Comments
 (0)