Working With Storage
Storage existence API
This API intended for checking the existence of cloud storage with a given name from GroupDocs Cloud Storage.
API Explorer
GroupDocs.Watermark Cloud API Reference lets you try out Storage existence API right away in your browser! It allows you to effortlessly interact and try out every single operation our APIs expose.
Request parameters
Parameter | Description |
---|---|
storageName | Storage name |
cURL Example
curl -X GET "https://api.groupdocs.cloud/v1.0/watermark/storage/MyStorage/exist" \
-H "accept: application/json" \
-H "authorization: Bearer [Access Token]"
{
"exists": true
}
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 Storage existence calls and lets you use GroupDocs Cloud features in a native way for your preferred language.
SDK Examples
Storage object existence API
This API intended for checking the existence of a file or folder in GroupDocs Cloud Storage.
API Explorer
GroupDocs.Watermark Cloud API Reference lets you try out Storage existence API right away in your browser! It allows you to effortlessly interact and try out every single operation our APIs expose.
Request parameters
Parameter | Description |
---|---|
path | Path of the file or folderRequired. Can be passed as a query string parameter or as part of the URL |
storageName | Name of the storage. If not set, then default storage used |
versionId | File version id |
cURL Example
curl -X GET "https://api.groupdocs.cloud/v1.0/watermark/storage/exist/watermarkdocs?storageName#MyStorage" \
-H "accept: application/json" \
-H "authorization: Bearer [Access Token]"
{
"exists": true,
"isFolder": true
}
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 Storage Object existence calls and lets you use GroupDocs Cloud features in a native way for your preferred language.
SDK Examples
Storage Space Usage API
This API intended for getting total and used space of the GroupDocs Cloud Storage
API Explorer
GroupDocs.Watermark Cloud API Reference lets you try out storage space usage API right away in your browser! It allows you to effortlessly interact and try out every single operation our APIs expose.
Request parameters
Parameter | Description |
---|---|
storageName | Name of the storage. If not set, then default storage used |
cURL Example
curl -X GET "https://api.groupdocs.cloud/v1.0/watermark/storage/disc?storageName#MyStorage" \
-H "accept: application/json" \
-H "authorization: Bearer [Access Token]"
{
"usedSize": 31032368,
"totalSize": 3221225472
}
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 storage space usage API calls and lets you use GroupDocs Cloud features in a native way for your preferred language.
SDK Examples
Storage File Versions API
This API intended for getting the list of file versions, stored in the GroupDocs Cloud Storage
API Explorer
GroupDocs.Watermark Cloud API Reference lets you try out Storage File Versions API right away in your browser! It allows you to effortlessly interact and try out every single operation our APIs expose.
Request parameters
Parameter | Description |
---|---|
path | Path of the file including file name and extension e.g. /Folder1/file.extRequired. Can be passed as a query string parameter or as part of the URL |
storageName | Name of the storage. If not set, then default storage used |
cURL Example
curl -X GET "https://api.groupdocs.cloud/v1.0/watermark/storage/version/one-page.docx?storageName#MyStorage" \
-H "accept: application/json" \
-H "authorization: Bearer [Access Token]"
{
"value": [
{
"versionId": "null",
"isLatest": true,
"name": "one-page.docx",
"isFolder": false,
"modifiedDate": "2018-08-16T19:45:05+00:00",
"size": 347612,
"path": "/one-page.docx"
}
]
}
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 Storage File Versions API calls and lets you use GroupDocs Cloud features in a native way for your preferred language.