Base URLs:
- address : http://server_ip:30889
GET /Record/Start
| 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"
}| HTTP Status Code | Meaning | Description | Data schema |
|---|---|---|---|
| 200 | OK | Success | RecordRet |
GET /Record/Stop
| 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"
}| HTTP Status Code | Meaning | Description | Data schema |
|---|---|---|---|
| 200 | OK | Success | RecordRet |
POST /Record/BatchStart or /Record/Open
Body Parameters
[
{
"sim": "string",
"channel": [
"string"
],
"protocol": 0,
"cTags": "string"
}
]| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| body | body | DeviceInfo | no | none |
Response Examples
200 Response
{
"result": 0,
"resultNote": "string",
"detail": "string"
}| HTTP Status Code | Meaning | Description | Data schema |
|---|---|---|---|
| 200 | OK | Success | RecordRet |
POST /Record/BatchStop or /Record/Close
Body Parameters
[
{
"sim": "string",
"channel": [
"string"
],
"protocol": 0
}
]| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| body | body | DeviceInfo | no | none |
Response Examples
200 Response
{
"result": 0,
"resultNote": "string",
"detail": "string"
}| HTTP Status Code | Meaning | Description | Data schema |
|---|---|---|---|
| 200 | OK | Success | RecordRet |
POST /Record/QueryVideoFiles
Body Parameters
{
"timeStart": "string",
"timeEnd": "string",
"devices": [
{
"sim": "string",
"channel": [
"string"
],
"protocol": 0
}
]
}| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| body | body | QueryDevicesVideoFiles | no | none |
Response Examples
200 Response
"string"| HTTP Status Code | Meaning | Description | Data schema |
|---|---|---|---|
| 200 | OK | Success | string |