Next Generation GroupDocs.Storage Cloud 18.3을 발표하게 되어 기쁩니다. 클라우드 애플리케이션/웹 사이트에서 다양한 스토리지 관련 작업을 수행하기 위한 새롭고 향상된 REST API입니다. 다음은 차세대 GroupDocs.Storage Cloud의 첫 번째 버전에서 제공되는 몇 가지 주요 기능입니다. 차세대 GroupDocs.Storage Cloud REST API에서 제공하는 기능에 대한 자세한 내용은 문서API 참조를 확인하십시오.

특정 파일 업로드

Groupdocs.Storage Cloud API를 사용하여 선호하는 클라우드 저장소에 파일을 쉽게 업로드할 수 있습니다. 그 목적은 다음 REST 명령어(Curl)와 SDK 예제를 참고하세요.

나머지 예시(cURL)

curl -v "[https://api.groupdocs.cloud/v1.0/storage/file?path=testfile.doc"](https://api.groupdocs.cloud/v1.0/storage/file?path=testfile.doc)
-X PUT \
-T C:/testfile.doc \
-H "Content-Type: multipart/form-data" \
-H "Accept: application/json" \
-H "authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx” 

.NET SDK 예제

var configuration = new Configuration { AppSid = Sid,AppKey = Key};
StorageApi apiInstance = new StorageApi(configuration);
try
{
PutCreateRequest request = new PutCreateRequest();
request.Path = "testfile.doc";
request.File = File.Open("D://testfile.doc", FileMode.Open);
request.VersionId = null;
var response = apiInstance.PutCreate(request);
Debug.Print("File Uploaded: " + response.Code.ToString());
}
catch (Exception e)
{
Debug.Print("Exception while calling PutCreate: " + e.Message);
} 

특정 파일 다운로드

GroupDocs.Storage Cloud API allows you to download specific file from your preferred cloud storage. Please note by default API works with GroupDocs Cloud Storage. If you want to use a Cloud Storage other than GroupDocs Cloud Storage, you need to configure Third Party Storage with Groupdocs for Cloud. Please follow the instructions at this page to configure your required storage. Please see the following REST command(Curl) and .NET SDK example for downloading a particular file. 나머지 예시(cURL)

curl -v "[https://api.groupdocs.cloud/v1.0/storage/file?path=signature.jpg"][6] \
-X GET \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx” 

.NET SDK 예제

var configuration = new Configuration { AppSid = Sid,AppKey = Key};
StorageApi apiInstance = new StorageApi(configuration);
try
{
GetDownloadRequest request = new GetDownloadRequest();
request.Path = "signature.jpg";
request.Storage = "MyStorage";
request.VersionId = null;
var response = apiInstance.GetDownload(request);
Debug.Print("Result as System.IO.Stream: " + response.Length.ToString());
}
catch (Exception e)
{
Debug.Print("Exception while calling GetDownload: " + e.Message);
} 

SDK

GroupDocs.Storage Cloud API는 선호하는 플랫폼에서 기능을 사용할 수 있도록 SDK를 제공하고 있습니다. 현재 .NET 및 PHP SDK가 포함되어 있습니다. 우리는 Ruby, Java, Python 등과 같은 다른 인기 있는 플랫폼을 위한 SDK를 도입하는 과정에 있습니다. SDK는 즉시 시작할 수 있도록 작업 예제와 함께 GitHub 리포지토리에서 호스팅됩니다. GroupDocs.Storage Cloud SDK에는 다음 기능이 포함되어 있습니다.

  • SDK는 API 참조와 완전히 동기화됩니다.
  • 클래스, 메서드 및 속성에는 주석이 있으며 IDE 친화적입니다.
  • 요청/응답 클래스를 사용하여 긴 매개변수 목록을 나타냅니다.
  • 소스 코드의 라이선스 부인
  • SDK는 OAuth 2.0 인증을 지원합니다.

API 탐색기

GroupDocs Cloud는 웹 API 탐색기를 제공하여 브라우저에서 바로 API를 사용해 볼 수 있습니다. GroupDocs Cloud API에 대한 Swagger 설명서 모음입니다. Web API 탐색기를 사용하면 API의 모든 리소스에 대한 정보를 얻을 수 있습니다. 또한 API 끝점 설명서에 대한 테스트 및 상호 작용을 제공합니다. GroupDocs.Storage Cloud API를 탐색하려면 여기를 클릭하십시오.

GroupDocs.Storage 클라우드 리소스

다음은 작업을 수행하는 데 필요할 수 있는 몇 가지 유용한 리소스에 대한 링크입니다.

지금 무료 평가판 시작

지금 무료 평가판을 시작하세요. GroupDocs Cloud 서비스에 등록하기만 하면 됩니다. 등록하면 GroupDocs Cloud에서 제공하는 강력한 파일 처리 기능을 사용할 준비가 된 것입니다.