Working With Files

Download File API

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

Download File with API Explorer

GroupDocs.Viewer Cloud API Reference lets you to 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 exposes.

Download File 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
versionIdFile version id

Download File with cURL

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

Download File 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 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.

Upload File with API Explorer

GroupDocs.Viewer 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 exposes.

Upload File Request Body 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
FileFile content

Upload File with cURL

curl -X POST "https://api.groupdocs.cloud/v2.0/viewer/storage/file/viewerdocs%2Fone-page2.docx?storageName#MyStorage" -H  "accept: application/json" -H  "authorization: Bearer [Access Token]"
{
  "Uploaded": [
    "string"
  ],
  "Errors": [
    {
      "Code": "string",
      "Message": "string",
      "Description": "string",
      "InnerError": {
        "RequestId": "string",
        "Date": "2019-02-27T06:10:08.884Z"
      }
    }
  ]
}

Upload File 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 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 specific file from GroupDocs Cloud Storage.

Delete File with API Explorer

GroupDocs.Viewer for 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 exposes.

Delete File 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
versionIdFile version id

Delete File with cURL

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

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

File Copy API

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

File Copy with API Explorer

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

File Copy Request Parameters

ParameterDescription
srcPathPath of the source 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
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

File Copy with cURL

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

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

File Move API

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

File Move with API Explorer

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

File Move Request Parameters

ParameterDescription
srcPathPath of the source 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
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

File Move with cURL

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

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