Working With Folder

List Files

This API allows you to get a list of all files of a specific folder from the specified Cloud Storage. If you do not pass storage name API will find folder in GroupDocs Cloud Storage.

List Files with API Explorer

GroupDocs.Classification Cloud API Reference lets you to try out List Files in a Folder API right away in your browser. It allows you to effortlessly interact and try out every single operation that our APIs exposes.

List Files Request Parameters

ParameterDescription
pathPath of the file including file name and extension e.g. /Folder1/file.ext Required. Can be passed as query string parameter or as part of the URL
storageNameName of the storage. If not set, then default storage used

List Files with cURL

curl -X GET "https://api.groupdocs.cloud/v1.0/classification/storage/folder/classificationdocs?storageName#MyStorage" -H  "accept: application/json" -H  "authorization: Bearer [Access Token]"
{
  "value": [
    {
      "name": "four-pages.docx",
      "isFolder": false,
      "modifiedDate": "2019-03-20T12:35:38+00:00",
      "size": 8651,
      "path": "/classificationdocs/four-pages.docx"
    },
    ...
  ]
}

List Files with SDK

Our API is completely independent of your operating system, database system or development language. You can use any language and platform that supports HTTP to interact with our API. However, manually writing client code can be difficult, error-prone and time-consuming. Therefore, we have provided and support API SDKs in many development languages in order to make it easier to integrate with us. If you use SDK, it hides the Folder API calls and lets you use GroupDocs Cloud features in a native way for your preferred language.

Create New Folder

This API allows you to create a new Folder in the specified Cloud Storage. If you do not pass storage name API will create new Folder in default Cloud Storage.

Create New Folder with API Explorer

GroupDocs.Classification Cloud API Reference lets you to try out Create Folder API right away in your browser. It allows you to effortlessly interact and try out every single operation that our APIs exposes.

Create New Folder Request Parameters

ParameterDescription
pathTarget folder’s path e.g. Folder1/Folder2/. The folders will be created recursively Required. Can be passed as query string parameter or as part of the URL
storageNameName of the storage. If not set, then default storage used

Create New Folder with cURL

curl -X POST "https://api.groupdocs.cloud/v1.0/classification/storage/folder/classificationdocs3?storageName#MyStorage" -H  "accept: application/json" -H  "authorization: Bearer [Access Token]"
{
  "code": 200,
  "status": "OK"
}

Create New Folder with SDK

Our API is completely independent of your operating system, database system or development language. You can use any language and platform that supports HTTP to interact with our API. However, manually writing client code can be difficult, error-prone and time-consuming. Therefore, we have provided and support API SDKs in many development languages in order to make it easier to integrate with us. If you use SDK, it hides the Folder API calls and lets you use GroupDocs for Cloud features in a native way for your preferred language.

Delete Folder

This API allows you to delete a particular Folder in the specified Cloud Storage. If you do not pass storage name API will create new Folder in default Cloud Storage. To remove recursively inner folder/files you need to pass true value to recursive parameter in Request. If it is set to false and folder contains data then API throws the exception.

Delete Folder with API Explorer

GroupDocs.Classification Cloud API Reference lets you to try out Delete a Particular Folder API right away in your browser. It allows you to effortlessly interact and try out every single operation that our APIs exposes.

Delete Folder Request Parameters

ParameterDescription
pathFolder path e.g. /Folder1 Required. Can be passed as query string parameter or as part of the URL
storageNameName of the storage. If not set, then default storage used

Delete Folder with cURL

curl -X DELETE "https://api.groupdocs.cloud/v1.0/classification/storage/folder/classificationdocs3?storageName#MyStorage&recursive#true" -H  "accept: application/json" -H  "authorization: Bearer [Access Token]"
{
  "code": 200,
  "status": "OK"
}

Delete Folder with SDK

Our API is completely independent of your operating system, database system or development language. You can use any language and platform that supports HTTP to interact with our API. However, manually writing client code can be difficult, error-prone and time-consuming. Therefore, we have provided and support API SDKs in many development languages in order to make it easier to integrate with us. If you use SDK, it hides the Delete Folder API calls and lets you use GroupDocs for Cloud features in a native way for your preferred language.

Copy Folder

This API allows you to copy a Folder to another location in the GroupDocs Cloud Storage. If you do not pass source and destination storage names API will copy Folder within default Cloud Storage.

Copy Folder with API Explorer

GroupDocs.Classification Cloud API Reference lets you to try out Copy Folder API right away in your browser. It allows you to effortlessly interact and try out every single operation that our APIs exposes.

Request parameters

ParameterDescription
srcPathSource folder path e.g. /Folder1 Required. Can be passed as query string parameter or as part of the URL
destPathDestination folder path. Required
srcStorageNameName of the storage of source folder. If not set, then default storage used
destStorageNameName of the storage of destination folder. If not set, then default storage used

Copy Folder with cURL

curl -X PUT "https://api.groupdocs.cloud/v1.0/classification/storage/folder/copy/classificationdocs?destPath#classificationdocs1&srcStorageName#MyStorage&destStorageName#MyStorage" -H  "accept: application/json" -H  "authorization: Bearer [Access Token]"
{
  "code": 200,
  "status": "OK"
}

Copy Folder with SDK

Our API is completely independent of your operating system, database system or development language. You can use any language and platform that supports HTTP to interact with our API. However, manually writing client code can be difficult, error-prone and time-consuming. Therefore, we have provided and support API SDKs in many development languages in order to make it easier to integrate with us. If you use SDK, it hides the Copy Folder API calls and lets you use GroupDocs Cloud features in a native way for your preferred language.

Move Folder

This API allows you to move a Folder to another location in the GroupDocs Cloud Storage. If you do not pass source and destination storage names API will move Folder within default Cloud Storage.

Move Folder with API Explorer

GroupDocs.Classification Cloud API Reference lets you to try out Move a Folder API right away in your browser. It allows you to effortlessly interact and try out every single operation that our APIs exposes.

Move Folder Request Parameters

ParameterDescription
srcPathSource folder path e.g. /Folder1 Required. Can be passed as query string parameter or as part of the URL
destPathDestination folder path. Required
srcStorageNameName of the storage of source folder. If not set, then default storage used
destStorageNameName of the storage of destination folder. If not set, then default storage used

Move Folder with cURL

curl -X PUT "https://api.groupdocs.cloud/v1.0/classification/storage/folder/move/classificationdocs?destPath#classificationdocs1&srcStorageName#MyStorage&destStorageName#MyStorage" -H  "accept: application/json" -H  "authorization: Bearer [Access Token]"
{
  "code": 200,
  "status": "OK"
}

Move Folder with SDK

Our API is completely independent of your operating system, database system or development language. You can use any language and platform that supports HTTP to interact with our API. However, manually writing client code can be difficult, error-prone and time-consuming. Therefore, we have provided and support API SDKs in many development languages in order to make it easier to integrate with us. If you use SDK, it hides the Move Folder API calls and lets you use GroupDocs Cloud features in a native way for your preferred language.