GetLinkInfo

Authentication Methods


  • With a username and password
Input Parameter Type Description
Token* String Security token
LinkID[] String Optional Array of FileserverNames

Output Parameter | Type | Description
LinksInfo | LinkInfo | Information about the link, output depends on the link type

EXAMPLES

curl 'https://secure.nomadesk.com/ctrller/api.php?Token=rrc1d3ntb53tt6b2vhail6rdtrsxov3v&Task=GetLinkInfo&LinkID=49fe57c9-f467-0995-78eb-20444c8c6931'

RESPONSE

WidgetLink

<?xml version="1.0" encoding="utf-8" ?>
<Response>
    <Status>1</Status>
    <Message>Success</Message>
    <Link>
        <LinkId>deca77cb-5a54-4893-0d29-cc86c4ee5880</LinkId>
        <Type>WidgetLink</Type>
        <Path>/xdfdf/</Path>
        <CreationDate>2010-06-03 10:38:30</CreationDate>
        <Enabled>true</Enabled>
        <ExpiryDate></ExpiryDate>
        <Subject>title</Subject>
        <AccessType>ReadWrite</AccessType>
        <ShowSubDirectories>true</ShowSubDirectories>
        <Website>website</Website>
        <DefaultView>Thumbnail</DefaultView>
        <Width>250</Width>
        <Height>350</Height>
        <ShowDate>true</ShowDate>
        <ShowSize>true</ShowSize>
        <EnableSlideShow>true</EnableSlideShow>
    </Link>
</Response>

FileLink

<?xml version="1.0" encoding="utf-8" ?>
<Response>
    <Status>1</Status>
    <Message>Success</Message>
    <Link>
        <LinkId>77bec2ad-349e-1d18-ff82-8c23b41acf6e</LinkId>
        <Type>FileLink</Type>
        <AccessType>ReadOnly</AccessType>
        <Path>/LCP_partner_integration_manual_v2.2.0.pdf</Path>
        <CreationDate>1439194124</CreationDate>
        <Enabled>true</Enabled>
        <ExpiryDate>1439798924</ExpiryDate>
        <Subject>Test User would like you to view the file LCP_partner_integration_manual_v2.2.0.pdf</Subject>
        <Size></Size>
        <Message>sadfas</Message>
        <PasswordProtected>false</PasswordProtected>
        <Emails>
            <Email>test@nomadesk.com</Email>
            <Email>random@nomadesk.com</Email>
        </Emails>
        <MaxDownloads>-1</MaxDownloads>
        <Downloads>4</Downloads>
        <Notify>false</Notify>
        <AccessInfo>
            <IP>91.183.40.125</IP>
            <CreationDate>2015-08-10 12:09:00</CreationDate>
            <AccessedBy>test@nomadesk.com</AccessedBy>
            <IP>91.183.40.125</IP>
            <CreationDate>2015-08-10 12:10:17</CreationDate>
            <AccessedBy>test@nomadesk.com</AccessedBy>
            <IP>91.183.40.125</IP>
            <CreationDate>2015-08-10 12:10:31</CreationDate>
            <AccessedBy>test@nomadesk.com</AccessedBy>
            <IP>91.183.40.125</IP>
            <CreationDate>2015-08-10 12:10:36</CreationDate>
            <AccessedBy>test@nomadesk.com</AccessedBy>
        </AccessInfo>
    </Link>
</Response>

FolderLink

<?xml version="1.0" encoding="utf-8" ?>
<Response>
    <Status>1</Status>
    <Message>Success</Message>
    <Link>
        <LinkId>43820da0-94a2-ffc2-4e3a-6734acf0c120</LinkId>
        <Type>FolderLink</Type>
        <AccessType>ReadWrite</AccessType>
        <Path>/WoopdieDoo</Path>
        <CreationDate>1439269505</CreationDate>
        <Enabled>true</Enabled>
        <ExpiryDate>1439874305</ExpiryDate>
        <Subject>test user would like you to view the folder &apos;WoopdieDoo&apos;</Subject>
        <Size>229093</Size>
        <Message></Message>
        <PasswordProtected>false</PasswordProtected>
        <Emails>
            <Email>test.user@nomadesk.com</Email>
        </Emails>
        <MaxDownloads>-1</MaxDownloads>
        <Downloads>2</Downloads>
        <Notify>false</Notify>
        <AccessInfo>
            <IP>91.183.40.125</IP>
            <CreationDate>2015-08-11 09:09:32</CreationDate>
            <AccessedBy>test.user@nomadesk.com</AccessedBy>
            <IP>91.183.40.125</IP>
            <CreationDate>2015-08-11 09:10:16</CreationDate>
            <AccessedBy>test.user@nomadesk.com</AccessedBy>
        </AccessInfo>
        <ShowSubDirectories>true</ShowSubDirectories>
    </Link>
</Response>