Working With Files

Download File API

This API allows you to download a file from GroupDocs Cloud Storage.

API Explorer

GroupDocs.Merger Cloud API Reference lets you try out Download a File API right away in your browser! It allows you to effortlessly interact and try out every single operation our APIs expose.

Request parameters

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

cURL example


curl -X GET "https://api.groupdocs.cloud/v1.0/merger/storage/file/one-page.docx?storageName#MyStorage" -H  "accept: multipart/form-data" -H  "authorization: Bearer [Access Token]"
{
  "Code": 200,
  "Status": "OK"
}

SDK examples

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 File API calls and lets you use GroupDocs Cloud features in a native way for your preferred language.

Upload File API

This API allows you to upload files to the GroupDocs Cloud Storage.

API Explorer

GroupDocs.Merger Cloud API Reference lets you try out Upload a File API right away in your browser! It allows you to effortlessly interact and try out every single operation our APIs expose.

Request Body parameters

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

cURL example


curl -X POST "https://api.groupdocs.cloud/v1.0/merger/storage/file/conversiondocs%2Fone-page2.docx?storageName#MyStorage" -H  "accept: application/json" -H  "authorization: Bearer [Access Token]"
Http status code: 200 (Returns OK and list of errors, which is empty if success.)
{
  "Uploaded": [
    "string"
  ],
  "Errors": [
    {
      "Code": "string",
      "Message": "string",
      "Description": "string",
      "InnerError": {
        "RequestId": "string",
        "Date": "2019-02-27T06:10:08.884Z"
      }
    }
  ]
}

SDK examples

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 File API calls and lets you use GroupDocs for Cloud features in a native way for your preferred language.

Delete File API

This API allows you to delete a specific file from GroupDocs Cloud Storage.

API Explorer

GroupDocs.Merger Cloud API Reference lets you to try out Delete a File right away in your browser! It allows you to effortlessly interact and try out every single operation our APIs expose.

Request parameters

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

cURL example

curl -X DELETE "https://api.groupdocs.cloud/v1.0/merger/storage/file/conversiondocs1%2Fone-page1.docx?storageName#MyStorage" -H  "accept: application/json" -H  "authorization: Bearer [Access Token]"
{
  "Code": 200,
  "Status": "OK"
}

SDK examples

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 to make it easier to integrate with us. If you use SDK, it hides the File API calls and lets you use GroupDocs Cloud features natively for your preferred language.

File Copy API

This API allows you to copy a specific file from GroupDocs Cloud Storage.

API Explorer

GroupDocs.Merger Cloud API Reference lets you try out Copy File right away in your browser! It allows you to effortlessly interact and try out every single operation our APIs expose.

Request parameters

ParameterDescription
srcPathPath of the source file including file name and extension e.g. /Folder1/file.ext. Required. Can be passed as a query string parameter or as part of the URL
destPathPath of the destination file. Required.
srcStorageNameName of the storage of source file. If not set, then default storage used
destStorageNameName of the storage of destination file. If not set, then default storage used
versionIdSource file version id

cURL example

curl -X PUT "https://api.groupdocs.cloud/v1.0/merger/storage/file/copy/conversiondocs%2Fone-page1.docx?destPath#conversiondocs1%2Fone-page1.docx'&srcStorageName#MyStorage&destStorageName#MyStorage" -H  "accept: application/json" -H  "authorization: Bearer [Access Token]"
{
  "Code": 200,
  "Status": "OK"
}

SDK examples

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 to make it easier to integrate with us. If you use SDK, it hides the File API calls and lets you use GroupDocs Cloud features natively for your preferred language.

File Move API

This API allows you to copy a specific file from GroupDocs Cloud Storage.

API Explorer

GroupDocs.Merger Cloud API Reference lets you try out Move File right away in your browser! It allows you to effortlessly interact and try out every single operation our APIs expose.

Request parameters

ParameterDescription
srcPathPath of the source file including file name and extension e.g. /Folder1/file.ext. Required. Can be passed as a query string parameter or as part of the URL
destPathPath of the destination file. Required.
srcStorageNameName of the storage of source file. If not set, then default storage used
destStorageNameName of the storage of destination file. If not set, then default storage used
versionIdSource file version id

cURL example

curl -X PUT "https://api.groupdocs.cloud/v1.0/merger/storage/file/move/conversiondocs%2Fone-page1.docx?destPath#conversiondocs1%2Fone-page1.docx'&srcStorageName#MyStorage&destStorageName#MyStorage" -H  "accept: application/json" -H  "authorization: Bearer [Access Token]"
{
  "Code": 200,
  "Status": "OK"
}

SDK examples

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 to make it easier to integrate with us. If you use SDK, it hides the File API calls and lets you use GroupDocs for Cloud features in a native way for your preferred language.