TonicDM Product API (0.0.5)
Main Product API
https://developers-internal.tonicdm.com/_mock/tonicdm-product/
https://us-api.tonicdm.com/
https://de-api.tonicdm.com/
https://ie-api.tonicdm.com/
Request
Retreive the children associated with a cloud file system path. This endpoint is used sucessively to navigate the file system.
This endpoint can accept:
- just a platform, in which case the children of the root of the file system will be listed.
- an ID of the folder to list
- a Project ID, and if that project in TonicDM is configured with a root folder for the given platform, that folder will be listed. If no project-specific root folder is configured, the root for the platform will be listed.
- a Project ID and Workflow name, and if that workflow in TonicDM is configured with a root folder for the given platform and project, that folder will be listed. If no workflow-specific root folder is configured, the root for the project will be used. And if no project-specific root folder is configured, the root for the platform will be listed.
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.
- Mock server
https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/cloudfilesystem-children
- Server located in the USA
https://us-api.tonicdm.com/fileset/cloudfilesystem-children
- Server located in Germany
https://de-api.tonicdm.com/fileset/cloudfilesystem-children
- Server located in Ireland
https://ie-api.tonicdm.com/fileset/cloudfilesystem-children
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/cloudfilesystem-children?platform=egnyte&folderId=string&projectId=string&workflow=string&searchQuery={%22example%22}&sortDirection=asc' \
-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" } ]
- Mock server
https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/cloudfilesystem-children
- Server located in the USA
https://us-api.tonicdm.com/fileset/cloudfilesystem-children
- Server located in Germany
https://de-api.tonicdm.com/fileset/cloudfilesystem-children
- Server located in Ireland
https://ie-api.tonicdm.com/fileset/cloudfilesystem-children
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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" }
- Mock server
https://developers-internal.tonicdm.com/_mock/tonicdm-product/fileset/cloudfilesystem-children
- Server located in the USA
https://us-api.tonicdm.com/fileset/cloudfilesystem-children
- Server located in Germany
https://de-api.tonicdm.com/fileset/cloudfilesystem-children
- Server located in Ireland
https://ie-api.tonicdm.com/fileset/cloudfilesystem-children
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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"
}'