Main Product API
Main Product API
curl -i -X GET \
'https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/thumbnails?filterIds={id}%2C{id}%2C{id}&filterThumbnailSize=small' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
[ { "fileId": "be26af2278974fddb5fcf67d83c10de3", "thumbnailArray": [ … ] }, { "fileId": "e4e60c6333cc46b68ba4e740ee7d637f", "thumbnailArray": [ … ] } ]
Expiry URLs are used when sending download links in notifications or emails. An Expiry URL can be used to download a Fileset for a limited time (eg. 30 days). The owner of the Fileset can change the expiry date of the Expiry URL after the fact to reduce or extend the time the Fileset can be downloaded.
If the TonicDM back end is sending the notifications or emails, you do not need to use this endpoint. The TonicDM back end will automatically generate the Expiry URL and include it in the notification or email.
If you want to send a notification or email from your own system, you can use this endpoint to generate an Expiry URL for the Fileset.
There are no Request parameters for this endpoint. To associate the Expiry URL with a Fileset, you must include the Expiry ID in the request that creates the Workflow Item for which the Fileset is attached.
curl -i -X GET \
https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/expiry-url \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "expiry_id": "dea11ac43c5b4f35aacbd641d268670f", "expiry_url": "https://app.tonicdm.com/w/dea11ac43c5b4f35aacbd641d268670f" }