---
# System prepended metadata

title: iSDV API

---

# iSDV API

> KT to : Viya Huang
> Date: 15-09-2022
> [Git iSDV-API URL](https://gitlab.ieiworld.com/isdv/api)

iSDV API is design and develop to get/set iSDV Device information using blueriver API as middleware.

API design and developed by me are, all log-management API, isdv-device api, setting-management API, design and developed models

#### Log Management (/log-management):
All application logs API comes usnder **/log-management** section
| Type | API URL | Req body |Other |
| -------- | -------- | -------- |-------- |
| GET     | /log-management/log     | -     |Get list of logs|
| POST     | /log-management/log/addLog     | { </BR>"messageType": "Info/Error",</BR> "description": "Description", </BR> "type" : "TYPE" </BR>}     |Add logs|

#### iSDV-device API
All device relates settings and update comes usnder **/isdv-device** section


| Type | API URL | Req body |Other |
| -------- | -------- | -------- |-------- |
| POST     | /isdv-device/updatehardwareSetting     | -     |Update hardware setting (not is use)|
| POST     | /isdv-device/updateRS232Setting     |{</BR>"deviceId": Device ID,</BR>"status" : true/false,</BR>	"port" :[PORT],</BR>"baud" : [baud],</BR>"databit" : [databit],</BR>"stopbit" : [stopbit],</BR>"parity" : parity</BR>}  |Update RS-232 setting|
| POST     | /isdv-device/updateNetworkSetting     | -     |Update network setting (not is use)|
| POST     | /isdv-device/updateUsb     | {</BR>deviceId: '',</BR> role: '' // [DISABLED, LOCAL, REMOTE]</BR>}      |Update USB setting|
| POST     | /isdv-device/updateFirmware     |{</BR> 'up_file':Upload file,</BR> 'devicelist': [{"deviceId":"DEVICE_ID", "status":true/flase}]</BR>}     |Update device firmware (Request body if Form data)|
| POST     | /isdv-device/updateClaimSetting     | -     |Claim/release device|
| POST     | /isdv-device/updateMcuFirmware     | -     |Update MCU firmware|
| POST     | /isdv-device/reboot     | { </BR>deviceType: '',//ALL/ ALL_TX / ALL_RX </BR>}     |Reboot device|
| POST     | /isdv-device/factoryReset    | { </BR>deviceType: '',//ALL/ ALL_TX / ALL_RX </BR>}     |Factory reset device|
| POST     | /isdv-device/joinSubscription     |  { </BR>"op" : "join",</BR> "source_device" : sourceDeviceId, </BR>"stream_type" : HDMI_AUDIO",</BR>  "stream_index" : 0,</BR> "subscription_index" : 0</BR>}    |Join subscription|
