Smartling / api-sdk-net

.Net SDK for integrating with the Smartling API. The Smartling API allows developers to upload language specific resource files and download the translations of those files for easy integration within their application. http://docs.smartling.com
Apache License 2.0
1 stars 6 forks source link

Extend File API to allow to upload content as string or stream #3

Closed dimitrystd closed 8 years ago

dimitrystd commented 8 years ago

Current implementation of FileApiClient.UploadFile() forces us to use real files as payload. But in most cases i have content as string or as stream. No sense to force developer to use temporary files.

DoD: New api version allows to upload content without creating a tmp file. Following types must be supported:

dimitrystd commented 8 years ago

I think it's good time to make breaking changes (new major SDK version)

dotnetrocks commented 8 years ago

Done, published to Nuget as 2.0.6