Get Web Camera device list
1. API Description
This API is use to get Web Camera device list.
Request mode:
- V2.6.0 and above: POST [ip]/mwapi/V2.0/input/get-webcam-list
- V2.5.0 and below: POST [ip]/mwapi/get-webcam-list
Administrator Rights | Logged-in |
---|---|
No | Yes |
2. Input Parameters
None
3. Output Parameters
Name | Type | Description |
---|---|---|
status | Int | Status code |
webcams | Array of WebcamData | Web Camera device list |
WebcamData
Name | Type | Description |
---|---|---|
device-name | String | Device name |
dev-path | String | Device identifier |
4. Example
Getting Web Camera device list.
Input Example
None
Output Example
{
"status": 0,
"webcams": [
{
"dev-path": "L2Rldi92aWRlbzI=",
"dev-name": "Hamedal C10: Hamedal C10"
}
]
}
5. Error Code
No error code related to the API business logic. For other error codes, see Common Error Codes.