Reboot
Use the interface to reboot specified devices.
Only available for users with administrative rights.
Prototype
Protocol |
HTTP/HTTPS GET |
URL |
ip[:port]/path?method=reboot&sc-client-id=A302190930002 |
Data Format |
Response: Content-Type: application/json |
Product Family |
Value |
Ultra Stream |
socket/usapi |
Ultra Encode |
socket/usapi |
Pro Convert Encoder |
socket/mwapi |
Pro Convert Decoder |
socket/mwapi |
- Parameter of request URL is as follows.
Parameter |
Description |
method |
reboot |
sc-client-id |
Specify serial number of reboot device. |
Request Cookies
Parameter |
Description |
mwcloud-sid |
A string value that is used to uniquely identify user logged-in. |
mwcloud-uid |
Current logged-in username. |
Request Example
Rebooting methods vary from product families.
- For Ultra Stream, and Ultra Encode, request example is as follows.
GET /socket/usapi?method=reboot&sc-client-id=A302190930002 HTTP/1.1
Accept: application/json, text/plain, */*
Cookie: mwcloud-sid=OCXWUMGEYPGIAWWOETYXPNMVHDZIAZJP; mwcloud-uid=Admin
- For Pro Convert Encoder and Decoder, request example is as follows.
GET /socket/mwapi?method=reboot&sc-client-id=B401190213050 HTTP/1.1
Accept: application/json, text/plain, */*
Cookie: mwcloud-sid=OCXWUMGEYPGIAWWOETYXPNMVHDZIAZJP; mwcloud-uid=Admin
Response Parameters
Parameter |
Description |
Content-Type |
Value: 'application/json |
Response Body
Parameter |
Description |
result |
Result code. The options are as follows:- 0: success.
- 1: repeat operations.
- Other values. For details about the result codes, please refer to API Status.
|
status |
Result code. The options are as follows:- 0: success.
- 1: repeat operations.
- Other values. For details about the result codes, please refer to API Status.
|
Response Example
Response examples vary from product families.
For Ultra Stream and Ultra Encode, response example is as follows.
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": 0
}
For Pro Convert Encoder and Decoder, response example is as follows.
HTTP/1.1 200 OK
Content-Type: application/json
{
"status": 0
}