Working With Files

Download File API

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

API Explorer

GroupDocs.Translation 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

Request

curl -X GET "https://api.groupdocs.cloud/v1.0/translation/storage/file/one-page.docx?storageName#MyStorage" -H  "accept: multipart/form-data" -H  "authorization: Bearer [Access Token]"
    

Response

{
  "Code": 200,
  "Status": "OK"
}

SDKs

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.

SDK Examples

C#

Python

Java

Upload File API

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

API Explorer

GroupDocs.Translation 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

Request

curl -X POST "https://api.groupdocs.cloud/v1.0/translation/storage/file/editordocs%2Fone-page2.docx?storageName#MyStorage" -H  "accept: application/json" -H  "authorization: Bearer [Access Token]"

Response

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"
      }
    }
  ]
}

SDKs

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.

SDK Examples

C#

Python

Java

Delete File API

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

API Explorer

GroupDocs.Translation Cloud API Reference lets you 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

Request

curl -X DELETE "https://api.groupdocs.cloud/v1.0/translation/storage/file/editordocs1%2Fone-page1.docx?storageName#MyStorage" -H  "accept: application/json" -H  "authorization: Bearer [Access Token]"

Response

{
  "Code": 200,
  "Status": "OK"
}

SDKs

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.

SDK Examples

C#

Python

Java

File Copy API

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

API Explorer

GroupDocs.Translation for 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

Request

curl -X PUT "https://api.groupdocs.cloud/v1.0/translation/storage/file/copy/editordocs%2Fone-page1.docx?destPath#editordocs1%2Fone-page1.docx'&srcStorageName#MyStorage&destStorageName#MyStorage" -H  "accept: application/json" -H  "authorization: Bearer [Access Token]"

Response

{
  "Code": 200,
  "Status": "OK"
}

SDKs

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.

SDK Examples

C#

Python

Java

File Move API

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

API Explorer

GroupDocs.Translation for 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

Request

curl -X PUT "https://api.groupdocs.cloud/v1.0/translation/storage/file/move/editordocs%2Fone-page1.docx?destPath#editordocs1%2Fone-page1.docx'&srcStorageName#MyStorage&destStorageName#MyStorage" -H  "accept: application/json" -H  "authorization: Bearer [Access Token]"

Response

{
  "Code": 200,
  "Status": "OK"
}

SDKs

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.

SDK Examples

C#

Python

Java