send-file-enable-server
Added at V2.3
Use the interface to enable a server. The first added server is enabled by default. And at one time, only one server is supported to be uploaded to.
HTTP Request
GET http://ip/usapi?method=send-file-enable-server&id=1&is-use=1
| Parameter | Description |
|---|---|
| method | send-file-enable-server |
| id | Server ID |
| is-use | Enable status of the server for uploading. 0: Disabled 1: Enabled |
Response Body
{
"result": 0
}
| Item | Description |
|---|---|
| result | Returned status. 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |