Skip to content

Latest commit

 

History

History
198 lines (141 loc) · 3.03 KB

cdvr.md

File metadata and controls

198 lines (141 loc) · 3.03 KB

CDVR

Base URLs:

  • address : http://server_ip:30889

Record

GET /Record/Start

GET /Record/Start

Params

Name Location Type Required Description
Sim query string yes none
Channel query string yes none
Protocol query integer no 0 808-2013 1 808-2019 2 GB28181
CTags query string no none

Response Examples

200 Response

{
  "result": 0,
  "resultNote": "string",
  "detail": "string"
}

Responses

HTTP Status Code Meaning Description Data schema
200 OK Success RecordRet

GET /Record/Stop

GET /Record/Stop

Params

Name Location Type Required Description
Sim query string yes none
Channel query string yes none
Protocol query integer no 0 808-2013 1 808-2019 2 GB28181

Response Examples

200 Response

{
  "result": 0,
  "resultNote": "string",
  "detail": "string"
}

Responses

HTTP Status Code Meaning Description Data schema
200 OK Success RecordRet

POST /Record/BatchStart

POST /Record/BatchStart or /Record/Open

Body Parameters

[
  {
    "sim": "string",
    "channel": [
      "string"
    ],
    "protocol": 0,
    "cTags": "string"
  }
]

Params

Name Location Type Required Description
body body DeviceInfo no none

Response Examples

200 Response

{
  "result": 0,
  "resultNote": "string",
  "detail": "string"
}

Responses

HTTP Status Code Meaning Description Data schema
200 OK Success RecordRet

POST /Record/BatchStop

POST /Record/BatchStop or /Record/Close

Body Parameters

[
  {
    "sim": "string",
    "channel": [
      "string"
    ],
    "protocol": 0
  }
]

Params

Name Location Type Required Description
body body DeviceInfo no none

Response Examples

200 Response

{
  "result": 0,
  "resultNote": "string",
  "detail": "string"
}

Responses

HTTP Status Code Meaning Description Data schema
200 OK Success RecordRet

POST /Record/QueryVideoFiles

POST /Record/QueryVideoFiles

Body Parameters

{
  "timeStart": "string",
  "timeEnd": "string",
  "devices": [
    {
      "sim": "string",
      "channel": [
        "string"
      ],
      "protocol": 0
    }
  ]
}

Params

Name Location Type Required Description
body body QueryDevicesVideoFiles no none

Response Examples

200 Response

"string"

Responses

HTTP Status Code Meaning Description Data schema
200 OK Success string