Main Product API
Main Product API
Retreive the children associated with a cloud file system path. This endpoint is used sucessively to navigate the file system.
This endpoint can accept:
Defines the cloud platform to use.
The name of the relevant Workflow. If no parentId is provided, and a projectId is provided, and a path to that project's folder for this workflow can be determined, then its children will be returned.
A JSON-encoded string containing the query options.
curl -i -X GET \
'https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/cloudfilesystem-children?folderId=string&platform=egnyte&projectId=string&searchQuery={%22example%22}&sortDirection=asc&workflow=string' \
-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": "string", "datetimeCreated": "2019-08-24T14:15:22Z", "datetimeUpdated": "2019-08-24T14:15:22Z", "status": "Active", "isFolder": true, "path": "string", "name": "string", "size": 0, "fileCategory": "3d" } ]
curl -i -X POST \
https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/cloudfilesystem-children \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"fileCategory": "3d"
}'
{ "id": "string", "datetimeCreated": "2019-08-24T14:15:22Z", "datetimeUpdated": "2019-08-24T14:15:22Z", "status": "Active", "isFolder": true, "path": "string", "name": "string", "size": 0, "fileCategory": "3d" }
curl -i -X PATCH \
https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/cloudfilesystem-children \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"fileCategory": "3d"
}'