Main Product API
Main Product API
This endpoint is used to check the status of a Fileset, eg. whether it is in a temporary or finalized state, and whether more files can be added to it. If files in a Fileset have been deleted or replaced, the previous versions will be shown in the Response.
More than one ID can be passed in the filterIds parameter to reduce the number of calls required if the caller needs to check the status of multiple Filesets and to assist with client-side caching.
filterIds accepts one or more FileSet IDs. At least one must be supplied.
curl -i -X GET \
'https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/filesets?filterIds={id}%2C{id}%2C{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
[ { "id": "be26af2278974fddb5fcf67d83c10de3" } ]
curl -i -X GET \
'https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/files?filterFilesetIds={id}%2C{id}%2C{id}&filterIds={id}%2C{id}%2C{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Successfully read the resource you requested. One or more records are returned in the form of an array.
The status of the File, with Inactive
meaning it has been superceded (ie. another file with the same name was subsequently uploaded to the Fileset) removed from the Fileset.
A list of functional categories for grouping files.
[ { "id": "be26af2278974fddb5fcf67d83c10de3" } ]
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": [ … ] } ]