Basic Api are instance methods, which mainly involve basic operations such as logging in and out, obtaining API lists, etc
Connect to Synology server
Returns
true
: connected successfully 、
false
: failed to connect
Disconnect from Synology server
Returns
true
: disconnected successfully 、
false
: failed to disconnect
Get all supported APIs
Returns
Check if the API is supported
Parameters
Name | Type | Description |
---|---|---|
apiName | string | API name |
Returns
true
: supported、
false
: not supported