Aspose is glad to share with you that Aspose.Storage Cloud API features are now more simplified. Files and folders storage and their manipulation are no more dependent on the separate Aspose.Storage Cloud API, however, these features have been integrated within every Aspose Cloud API. To be very precise, “Aspose.Storage Cloud has been discontinued as a separate product”.
What existing users can do about Aspose.Storage?
Aspose.Storage Cloud API and following SDKs will remain available on the public repositories like GitHub, NuGet, etc for the existing customers until 31.12.2020:
- SDK for .NET
- SDK for Java
- SDK for PHP
- SDK for Python
- SDK for Ruby
Therefore, we recommend updating your applications to the latest versions of SDKs / Endpoints as soon as possible.
Aspose.Storage Cloud will neither be available for purchase separately nor as a part of Aspose.Total Cloud Product Family any more. However, the technical support welcomes you for any further queries about the migration to the latest versions.
How to work with new APIs?
The below sample shows how you were using the API to upload the file to Cloud Storage:
// cURL example to upload file to Cloud Storage
curl -v "https://api.aspose.cloud/v1.1/storage/file?path=sample.docx" \
-X PUT \
-T sample.docx \
-H "Content-Type: multipart/form-data" \
-H "Accept: application/json" \
-H "Authorization: Bearer <jwt token>"
Now you can achieve this using any of the Aspose Cloud APIs. Below sample shows Aspose.Words Cloud API to upload the file to Cloud Storage:
// cURL example to upload file to Cloud Storage
curl -v "https://api.aspose.cloud/v4.0/words/storage/file/sample.docx" \
-X PUT \
-T sample.docx \
-H "Content-Type: multipart/form-data" \
-H "Accept: application/json" \
-H "Authorization: Bearer <jwt token>"
The most notable change is the Base URL of the API.