set-nas

Use this interface to modify the NAS server.

HTTP Request

GET http://ip/usapi?method=set-nas&id=xxx&proto=xxx&addr=xxx&mount=xxx&...
Parameter Description
method set-nas
id Server ID which can be obtained via get-settings.
proto NAS protocol.
0: NFS
1: CIFS
addr Server address.
mount Server mount point.
CIFS parameters
user Username
passwd Password

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.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""