Controller: Link Management: GetLinks
GetLinks
Returns the links of the requested fileserver(s).
Authentication Methods
- With a username and password
Input Parameter | Type | Description |
---|---|---|
Token* | String | Security token |
FileserverName | String | Array of FileserverNames |
Output Parameter | Type | Description |
---|---|---|
Links | Links[] | Array of Links filtered by the given parameters |
EXAMPLES
curl -g 'https://secure.nomadesk.com/ctrller/api.php?&Token=foph4le40d78j6cg7s9ge7tu40&Task=GetLinks&FileserverNames[]=nmsa000000000812&Offset=0&Limit=25&Sort=-creationdate&FilterBy=&FilterValue='
RESPONSE
<Response>
<Status>1</Status>
<Message>Success</Message>
<TotalCount>41</TotalCount>
<Links>
<Link>
<LinkId>55acb519-a8a7-9a8d-c167-6551e04bbd5e</LinkId>
<Type>FolderLink</Type>
<AccessType>ReadWrite</AccessType>
<Path>/TestPath1/</Path>
<CreationDate>1442835985</CreationDate>
<Enabled>true</Enabled>
<Downloads>1</Downloads>
<ExpiryDate>1443440795</ExpiryDate>
<Emails>
<Email>user1@example.com</Email>
</Emails>
<Subject></Subject>
<Message></Message>
</Link>
<Link>
<LinkId>4f7f476e-eb62-31ff-1e87-b93361d42b5e</LinkId>
<Type>WidgetLink</Type>
<AccessType>ReadWrite</AccessType>
<Path>/WidgetPath1/</Path>
<CreationDate>1442835552</CreationDate>
<Enabled>true</Enabled>
<Downloads>11</Downloads>
</Link>
<Link>
<LinkId>40dd42a3-b0b0-4aa3-d537-971dc0ff6f17</LinkId>
<Type>FileLink</Type>
<AccessType>ReadOnly</AccessType>
<Path>/Convocation.pdf</Path>
<CreationDate>1442835261</CreationDate>
<Enabled>true</Enabled>
<Downloads>4</Downloads>
<ExpiryDate>1443440070</ExpiryDate>
<Emails>
</Emails>
<Subject></Subject>
<Message></Message>
</Link>
<Link>
<LinkId>1beabaf4-721e-cace-c60f-c0973aa961cc</LinkId>
<Type>FolderLink</Type>
<AccessType>ReadOnly</AccessType>
<Path>/TestPath2</Path>
<CreationDate>1442835174</CreationDate>
<Enabled>true</Enabled>
<Downloads>1</Downloads>
<ExpiryDate>1443439983</ExpiryDate>
<Emails>
</Emails>
<Subject></Subject>
<Message></Message>
</Link>
<Link>
<LinkId>8a5332f2-a19f-0766-cb06-86d19a8f0f82</LinkId>
<Type>FolderLink</Type>
<AccessType>ReadOnly</AccessType>
<Path>/TestPath3</Path>
<CreationDate>1442835093</CreationDate>
<Enabled>true</Enabled>
<Downloads>0</Downloads>
<ExpiryDate>1443439902</ExpiryDate>
<Emails>
</Emails>
<Subject></Subject>
<Message></Message>
</Link>
<Link>
<LinkId>29b69b07-f4b4-99e7-e45c-aede88dbc113</LinkId>
<Type>FolderLink</Type>
<AccessType>ReadWrite</AccessType>
<Path>/TestPath4/</Path>
<CreationDate>1442831049</CreationDate>
<Enabled>true</Enabled>
<Downloads>2</Downloads>
<ExpiryDate>1443435858</ExpiryDate>
<Emails>
<Email>user2@example.com</Email>
</Emails>
<Subject></Subject>
<Message>FolderLink Message here</Message>
</Link>
<Link>
<LinkId>90b688c6-0ba7-7ef4-46dc-74b8b8dfceeb</LinkId>
<Type>FileLink</Type>
<AccessType>ReadOnly</AccessType>
<Path>/Logs.zip</Path>
<CreationDate>1442232176</CreationDate>
<Enabled>false</Enabled>
<Downloads>0</Downloads>
<ExpiryDate>1442836976</ExpiryDate>
<Emails>
<Email>user3@example.com</Email>
</Emails>
<Subject></Subject>
<Message>FileLink for logs</Message>
</Link>
<Link>
<LinkId>2e5c0aa3-1825-2fe1-328e-211a1c529560</LinkId>
<Type>FileLink</Type>
<AccessType>ReadOnly</AccessType>
<Path>/Convocation.pdf</Path>
<CreationDate>1441034831</CreationDate>
<Enabled>false</Enabled>
<Downloads>1</Downloads>
<ExpiryDate>1441639631</ExpiryDate>
<Emails>
<Email>user3@example.com</Email>
</Emails>
<Subject>I would like to share « Convocation.pdf » with you</Subject>
<Message>Please send feedback before friday</Message>
</Link>
<Link>
<LinkId>a2f15ce0-1472-cf84-ac6d-8e8db3b4881f</LinkId>
<Type>FileLink</Type>
<AccessType>ReadOnly</AccessType>
<Path>/Convocation.pdf</Path>
<CreationDate>1441034555</CreationDate>
<Enabled>false</Enabled>
<Downloads>0</Downloads>
<ExpiryDate>1441639355</ExpiryDate>
<Emails>
</Emails>
<Subject></Subject>
<Message></Message>
</Link>
<Link>
<LinkId>fdc8ccd1-c83c-6b6a-fc67-b3a45b3918a5</LinkId>
<Type>FileLink</Type>
<AccessType>ReadOnly</AccessType>
<Path>/Convocation.pdf</Path>
<CreationDate>1441034539</CreationDate>
<Enabled>false</Enabled>
<Downloads>0</Downloads>
<ExpiryDate>1441639339</ExpiryDate>
<Emails>
</Emails>
<Subject></Subject>
<Message></Message>
</Link>
<Link>
<LinkId>30b04d98-14f8-3e01-b80d-0846c82cb0a7</LinkId>
<Type>FileLink</Type>
<AccessType>ReadOnly</AccessType>
<Path>/Convocation.pdf</Path>
<CreationDate>1441023525</CreationDate>
<Enabled>false</Enabled>
<Downloads>2</Downloads>
<ExpiryDate>1441628325</ExpiryDate>
<Emails>
<Email>user4@example.com</Email>
</Emails>
<Subject>I would like to share Convocation.pdf with you</Subject>
<Message>Send feedback</Message>
</Link>
<Link>
<LinkId>15109f68-11e9-1d53-24ea-3dfa3828eaf7</LinkId>
<Type>WidgetLink</Type>
<AccessType>ReadWrite</AccessType>
<Path>/TestPath10/</Path>
<CreationDate>1441023479</CreationDate>
<Enabled>true</Enabled>
<Downloads>0</Downloads>
</Link>
<Link>
<LinkId>b778734b-a986-0440-0e97-2d1c3af367dd</LinkId>
<Type>FileLink</Type>
<AccessType>ReadOnly</AccessType>
<Path>/Convocation.pdf</Path>
<CreationDate>1439884830</CreationDate>
<Enabled>false</Enabled>
<Downloads>4</Downloads>
<ExpiryDate>1440489630</ExpiryDate>
<Emails>
<Email>user10@example.com</Email>
<Email>user11@example.com</Email>
<Email>user12@example.com</Email>
<Email>user13@example.com</Email>
</Emails>
<Subject>Convocation.pdf</Subject>
<Message>Up to date file</Message>
</Link>
<Link>
<LinkId>7156b49e-a308-bbc5-c0e4-361c50a28b53</LinkId>
<Type>FileLink</Type>
<AccessType>PreviewOnly</AccessType>
<Path>/budget.xlsx</Path>
<CreationDate>1439815967</CreationDate>
<Enabled>false</Enabled>
<Downloads>1</Downloads>
<ExpiryDate>1440420767</ExpiryDate>
<Emails>
<Email>admin1@example.com</Email>
</Emails>
<Subject>Budget file for first quarter</Subject>
<Message>The budget for this first quarter of 2000</Message>
</Link>
<Link>
<LinkId>1de115a7-e0d9-ebfa-e4e6-3ad6965efc5a</LinkId>
<Type>FolderLink</Type>
<AccessType>ReadOnly</AccessType>
<Path>/Pathtest/</Path>
<CreationDate>1439812654</CreationDate>
<Enabled>false</Enabled>
<Downloads>9</Downloads>
<ExpiryDate>1440418480</ExpiryDate>
<Emails>
<Email>user3@example.com</Email>
</Emails>
<Subject>Folder: Pathtest</Subject>
<Message></Message>
</Link>
<Link>
<LinkId>43820da0-94a2-ffc2-4e3a-6734acf0c120</LinkId>
<Type>FolderLink</Type>
<AccessType>ReadWrite</AccessType>
<Path>/TestPath11/</Path>
<CreationDate>1439276705</CreationDate>
<Enabled>false</Enabled>
<Downloads>2</Downloads>
<ExpiryDate>1439881505</ExpiryDate>
<Emails>
<Email>user22@example</Email>
</Emails>
<Subject>Folder : TestPath11</Subject>
<Message></Message>
</Link>
<Link>
<LinkId>0ff8529c-5798-e9a9-0aa3-d2c38a717bc0</LinkId>
<Type>FolderLink</Type>
<AccessType>ReadWrite</AccessType>
<Path>/チキン/</Path>
<CreationDate>1439200352</CreationDate>
<Enabled>false</Enabled>
<Downloads>2</Downloads>
<ExpiryDate>1439805152</ExpiryDate>
<Emails>
<Email>user2@example.com</Email>
</Emails>
<Subject>Folder: チキン</Subject>
<Message></Message>
</Link>
<Link>
<LinkId>caa161b0-c56b-9f92-ef6d-bdbdbe01adf9</LinkId>
<Type>FileLink</Type>
<AccessType>ReadOnly</AccessType>
<Path>/Images/arrow_down.gif</Path>
<CreationDate>1439198934</CreationDate>
<Enabled>false</Enabled>
<Downloads>1</Downloads>
<ExpiryDate>1439803733</ExpiryDate>
<Emails>
<Email>animator1@example.com</Email>
</Emails>
<Subject>Arrow</Subject>
<Message></Message>
</Link>
<Link>
<LinkId>8f292ddd-774b-6060-6b1f-adf245d39259</LinkId>
<Type>FolderLink</Type>
<AccessType>ReadOnly</AccessType>
<Path>/Example/</Path>
<CreationDate>1438958782</CreationDate>
<Enabled>false</Enabled>
<Downloads>0</Downloads>
<ExpiryDate>1439563582</ExpiryDate>
<Emails>
<Email>user10@example.com</Email>
</Emails>
<Subject>FolderLink for project example</Subject>
<Message></Message>
</Link>
<Link>
<LinkId>cecb128f-8d3c-6922-9086-34dabf9111b4</LinkId>
<Type>FileLink</Type>
<AccessType>ReadOnly</AccessType>
<Path>/Phone.xlsx</Path>
<CreationDate>1438958225</CreationDate>
<Enabled>false</Enabled>
<Downloads>0</Downloads>
<ExpiryDate>1439563025</ExpiryDate>
<Emails>
<Email>user22@example.com</Email>
</Emails>
<Subject>Phone number list</Subject>
<Message></Message>
</Link>
<Link>
<LinkId>b79c52b2-7fff-66ae-2044-fabf802bf738</LinkId>
<Type>WidgetLink</Type>
<AccessType>ReadWrite</AccessType>
<Path>/WidgetFolder1/</Path>
<CreationDate>1436782720</CreationDate>
<Enabled>false</Enabled>
<Downloads>1</Downloads>
</Link>
<Link>
<LinkId>144678b7-fa90-39cc-ab03-01df54a12c39</LinkId>
<Type>WidgetLink</Type>
<AccessType>ReadWrite</AccessType>
<Path>/WidgetFolder12/</Path>
<CreationDate>1436782629</CreationDate>
<Enabled>true</Enabled>
<Downloads>1</Downloads>
</Link>
<Link>
<LinkId>bc939e6f-48e2-9091-4a86-ad39dc38b772</LinkId>
<Type>WidgetLink</Type>
<AccessType>ReadWrite</AccessType>
<Path>/WidgetFolder13/</Path>
<CreationDate>1436782592</CreationDate>
<Enabled>true</Enabled>
<Downloads>1</Downloads>
</Link>
</Links>
</Response>