Controller: Vault Management: GetFileserverInfo
GetFileserverInfo
This API method is accessable when using either an email&password token or an accesstoken token.
Authentication Methods
- With a username and password
- With AMS username and password
- Access Token
Input Parameter | Type | Description |
---|---|---|
Token* | String | Security token |
FileserverName* | String | Use 'FileserverLabel' or 'FileserverName' (The vault NMSA) |
ExtendedInfo | Boolean | Return extended information |
Output Parameter | Type | Description |
---|---|---|
FileServer | FileServer | FileServer object containing the info about the passed fileserver |
*=required
CURL EXAMPLE
curl -v 'https://example.com/ctrller/api.php?Token=rrc1d3ntb53tt6b2vhail6rdtrsxov3v&Task=GetFileserverInfo&FileserverName=nmsa000010&ExtendedInfo=true'
RESPONSE
<Response>
<Status>1</Status>
<Message>Success</Message>
<Fileservers>
<Fileserver>
<Name>nmsa000000000002</Name>
<Label>myVault</Label>
<InstallStatus>Installed</InstallStatus>
<SendUserList>true</SendUserList>
<OwnerEmail>gm001@example.com</OwnerEmail>
<AdminEmail>gm001@example.com</AdminEmail>
<OpenEmail2Folder>true</OpenEmail2Folder>
<Email2FolderEmail>inbox@myVault.example.com</Email2FolderEmail>
<Quota>0</Quota>
<QuotaWarningLevel>0</QuotaWarningLevel>
<StorageNode>storage.example.com</StorageNode>
<StorageApiUrl>https://storage.example.com/storage/api.php</StorageApiUrl>
<WebDAVUrl>https://webdav.example.com/myVault</WebDAVUrl>
<LastUpdated>1442921650</LastUpdated>
<GuestCount>3</GuestCount>
<Created>1442921650</Created>
<Removal/>
<Removed/>
<!-- Extended Info -->
<FileserverPath>/va/data/942/38/26/nmsa689572479575/data/</FileserverPath>
<LastUpdated>1450357845</LastUpdated>
<FileLinkCount>26</FileLinkCount>
<FolderLinkCount>20</FolderLinkCount>
<WidgetCount>20</WidgetCount>
<Size>57660609</Size>
<StorageType>Filesystem</StorageType>
</Fileserver>
</Fileservers>
</Response>