aspose_diagram_cloud 18.10.1 → 18.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +7 -0
- data/README.md +126 -0
- data/Rakefile +8 -0
- data/aspose_diagram_cloud-18.10.1.gem +0 -0
- data/aspose_diagram_cloud-18.10.gem +0 -0
- data/aspose_diagram_cloud.gemspec +46 -0
- data/docs/AccessTokenResponse.md +15 -0
- data/docs/DiagramFileApi.md +228 -0
- data/docs/DiagramModel.md +9 -0
- data/docs/DiagramResponse.md +10 -0
- data/docs/FileFormatRequest.md +8 -0
- data/docs/Link.md +11 -0
- data/docs/OAuthApi.md +60 -0
- data/docs/PageModel.md +9 -0
- data/docs/SaaSposeResponse.md +9 -0
- data/docs/SaveResponse.md +10 -0
- data/docs/SaveResult.md +10 -0
- data/docs/SharpModel.md +8 -0
- data/git_push.sh +55 -0
- data/lib/aspose_diagram_cloud.rb +51 -0
- data/lib/aspose_diagram_cloud/api/diagram_file_api.rb +284 -0
- data/lib/aspose_diagram_cloud/api/o_auth_api.rb +93 -0
- data/lib/aspose_diagram_cloud/api_client.rb +389 -0
- data/lib/aspose_diagram_cloud/api_error.rb +38 -0
- data/lib/aspose_diagram_cloud/configuration.rb +223 -0
- data/lib/aspose_diagram_cloud/models/access_token_response.rb +251 -0
- data/lib/aspose_diagram_cloud/models/diagram_model.rb +199 -0
- data/lib/aspose_diagram_cloud/models/diagram_response.rb +211 -0
- data/lib/aspose_diagram_cloud/models/file_format_request.rb +188 -0
- data/lib/aspose_diagram_cloud/models/link.rb +215 -0
- data/lib/aspose_diagram_cloud/models/page_model.rb +199 -0
- data/lib/aspose_diagram_cloud/models/saa_spose_response.rb +202 -0
- data/lib/aspose_diagram_cloud/models/save_response.rb +211 -0
- data/lib/aspose_diagram_cloud/models/save_result.rb +208 -0
- data/lib/aspose_diagram_cloud/models/sharp_model.rb +188 -0
- data/lib/aspose_diagram_cloud/version.rb +15 -0
- data/spec/api/diagram_file_api_spec.rb +126 -0
- data/spec/api/o_auth_api_spec.rb +56 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/access_token_response_spec.rb +84 -0
- data/spec/models/diagram_model_spec.rb +48 -0
- data/spec/models/diagram_response_spec.rb +54 -0
- data/spec/models/file_format_request_spec.rb +42 -0
- data/spec/models/link_spec.rb +60 -0
- data/spec/models/page_model_spec.rb +48 -0
- data/spec/models/saa_spose_response_spec.rb +48 -0
- data/spec/models/save_response_spec.rb +54 -0
- data/spec/models/save_result_spec.rb +54 -0
- data/spec/models/sharp_model_spec.rb +42 -0
- data/spec/spec_helper.rb +116 -0
- metadata +108 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d4047a65e6f952baef8b7fdede53b42182ac07d2
|
4
|
+
data.tar.gz: d8c5202cbac13142589c0a131614f39a32c4d04e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2fb1866df9d334941aabf97443ddc98105af3ad799fbb4a6bcfa45aa84510439247039b72190c3fb7c925010be5645ecff6e87cd410ae42868f927ab2268626
|
7
|
+
data.tar.gz: 016b31185e5d23dfdb97d17d2cd47db7ed6e4125124e117431a17ccadde018095097e85adbf54d07f7f0fe8c0715469d2552fa2169f6395203ce9fff786af148
|
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,126 @@
|
|
1
|
+
# AsposeDiagramCloud
|
2
|
+
|
3
|
+
AsposeDiagramCloud - the Ruby gem for the Web API Swagger specification
|
4
|
+
|
5
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
6
|
+
|
7
|
+
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
|
+
|
9
|
+
- API version: 1.0
|
10
|
+
- Package version: 18.10
|
11
|
+
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
|
+
|
13
|
+
## Installation
|
14
|
+
|
15
|
+
### Build a gem
|
16
|
+
|
17
|
+
To build the Ruby code into a gem:
|
18
|
+
|
19
|
+
```shell
|
20
|
+
gem build AsposeDiagramCloud.gemspec
|
21
|
+
```
|
22
|
+
|
23
|
+
Then either install the gem locally:
|
24
|
+
|
25
|
+
```shell
|
26
|
+
gem install ./AsposeDiagramCloud-18.10.gem
|
27
|
+
```
|
28
|
+
(for development, run `gem install --dev ./AsposeDiagramCloud-18.10.gem` to install the development dependencies)
|
29
|
+
|
30
|
+
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
|
+
|
32
|
+
Finally add this to the Gemfile:
|
33
|
+
|
34
|
+
gem 'AsposeDiagramCloud', '~> 18.10'
|
35
|
+
|
36
|
+
### Install from Git
|
37
|
+
|
38
|
+
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
|
39
|
+
|
40
|
+
gem 'AsposeDiagramCloud', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
41
|
+
|
42
|
+
### Include the Ruby code directly
|
43
|
+
|
44
|
+
Include the Ruby code directly using `-I` as follows:
|
45
|
+
|
46
|
+
```shell
|
47
|
+
ruby -Ilib script.rb
|
48
|
+
```
|
49
|
+
|
50
|
+
## Getting Started
|
51
|
+
|
52
|
+
Please follow the [installation](#installation) procedure and then run the following code:
|
53
|
+
```ruby
|
54
|
+
# Load the gem
|
55
|
+
require 'aspose_diagram_cloud'
|
56
|
+
|
57
|
+
api_instance = AsposeDiagramCloud::DiagramFileApi.new
|
58
|
+
|
59
|
+
name = "name_example" # String | The document name.
|
60
|
+
|
61
|
+
opts = {
|
62
|
+
format: "format_example", # String | The exported file format.
|
63
|
+
folder: "folder_example", # String | The document folder.
|
64
|
+
storage: "storage_example" # String | storage name.
|
65
|
+
}
|
66
|
+
|
67
|
+
begin
|
68
|
+
#Read document info or export.
|
69
|
+
result = api_instance.diagram_file_get_diagram(name, opts)
|
70
|
+
p result
|
71
|
+
rescue AsposeDiagramCloud::ApiError => e
|
72
|
+
puts "Exception when calling DiagramFileApi->diagram_file_get_diagram: #{e}"
|
73
|
+
end
|
74
|
+
|
75
|
+
```
|
76
|
+
|
77
|
+
## Documentation for API Endpoints
|
78
|
+
|
79
|
+
All URIs are relative to *https://api.aspose.cloud/v1.1/*
|
80
|
+
|
81
|
+
Class | Method | HTTP request | Description
|
82
|
+
------------ | ------------- | ------------- | -------------
|
83
|
+
*AsposeDiagramCloud::DiagramFileApi* | [**diagram_file_get_diagram**](docs/DiagramFileApi.md#diagram_file_get_diagram) | **GET** /diagram/{name} | Read document info or export.
|
84
|
+
*AsposeDiagramCloud::DiagramFileApi* | [**diagram_file_post_save_as**](docs/DiagramFileApi.md#diagram_file_post_save_as) | **POST** /diagram/{name}/SaveAs | Convert document and save result to storage.
|
85
|
+
*AsposeDiagramCloud::DiagramFileApi* | [**diagram_file_put_create**](docs/DiagramFileApi.md#diagram_file_put_create) | **PUT** /diagram/{name} | Create new diagram and save result to storage.
|
86
|
+
*AsposeDiagramCloud::DiagramFileApi* | [**diagram_file_put_upload**](docs/DiagramFileApi.md#diagram_file_put_upload) | **PUT** /diagram/{name}/upload | Upload file and save result to storage.
|
87
|
+
*AsposeDiagramCloud::OAuthApi* | [**o_auth_post**](docs/OAuthApi.md#o_auth_post) | **POST** /oauth2/token | Get Access token
|
88
|
+
|
89
|
+
|
90
|
+
## Documentation for Models
|
91
|
+
|
92
|
+
- [AsposeDiagramCloud::AccessTokenResponse](docs/AccessTokenResponse.md)
|
93
|
+
- [AsposeDiagramCloud::DiagramModel](docs/DiagramModel.md)
|
94
|
+
- [AsposeDiagramCloud::FileFormatRequest](docs/FileFormatRequest.md)
|
95
|
+
- [AsposeDiagramCloud::Link](docs/Link.md)
|
96
|
+
- [AsposeDiagramCloud::PageModel](docs/PageModel.md)
|
97
|
+
- [AsposeDiagramCloud::SaaSposeResponse](docs/SaaSposeResponse.md)
|
98
|
+
- [AsposeDiagramCloud::SaveResult](docs/SaveResult.md)
|
99
|
+
- [AsposeDiagramCloud::SharpModel](docs/SharpModel.md)
|
100
|
+
- [AsposeDiagramCloud::DiagramResponse](docs/DiagramResponse.md)
|
101
|
+
- [AsposeDiagramCloud::SaveResponse](docs/SaveResponse.md)
|
102
|
+
|
103
|
+
|
104
|
+
## Documentation for Authorization
|
105
|
+
|
106
|
+
|
107
|
+
### appsid
|
108
|
+
|
109
|
+
- **Type**: API key
|
110
|
+
- **API key parameter name**: appsid
|
111
|
+
- **Location**: URL query string
|
112
|
+
|
113
|
+
### oauth
|
114
|
+
|
115
|
+
- **Type**: OAuth
|
116
|
+
- **Flow**: implicit
|
117
|
+
- **Authorization URL**:
|
118
|
+
- **Scopes**:
|
119
|
+
- write:pets: modify pets in your account
|
120
|
+
|
121
|
+
### signature
|
122
|
+
|
123
|
+
- **Type**: API key
|
124
|
+
- **API key parameter name**: signature
|
125
|
+
- **Location**: URL query string
|
126
|
+
|
data/Rakefile
ADDED
Binary file
|
Binary file
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
#
|
3
|
+
=begin
|
4
|
+
#Web API Swagger specification
|
5
|
+
|
6
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
7
|
+
|
8
|
+
OpenAPI spec version: 1.0
|
9
|
+
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
+
Swagger Codegen version: 2.3.0-SNAPSHOT
|
12
|
+
|
13
|
+
=end
|
14
|
+
|
15
|
+
$:.push File.expand_path("../lib", __FILE__)
|
16
|
+
require "aspose_diagram_cloud/version"
|
17
|
+
|
18
|
+
Gem::Specification.new do |s|
|
19
|
+
s.name = "aspose_diagram_cloud"
|
20
|
+
s.version = AsposeDiagramCloud::VERSION
|
21
|
+
s.platform = Gem::Platform::RUBY
|
22
|
+
s.authors = ["Aspose Diagram Cloud"]
|
23
|
+
s.email = [""]
|
24
|
+
s.homepage = "https://github.com/aspose-diagram-cloud/aspose-diagram-cloud-ruby"
|
25
|
+
s.summary = "Aspose.Diagram Cloud API"
|
26
|
+
s.description = "Ruby library for communicating with the Aspose.Diagram Cloud API"
|
27
|
+
# TODO uncommnet and update below with a proper license
|
28
|
+
s.license = "MIT"
|
29
|
+
s.required_ruby_version = ">= 1.9"
|
30
|
+
|
31
|
+
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
32
|
+
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
33
|
+
|
34
|
+
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
35
|
+
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
|
36
|
+
s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
|
37
|
+
s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
|
38
|
+
s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
|
39
|
+
s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
|
40
|
+
s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
|
41
|
+
|
42
|
+
s.files = `find *`.split("\n").uniq.sort.select{|f| !f.empty? }
|
43
|
+
s.test_files = `find spec/*`.split("\n")
|
44
|
+
s.executables = []
|
45
|
+
s.require_paths = ["lib"]
|
46
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# AsposeDiagramCloud::AccessTokenResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**_expires** | **String** | | [optional]
|
7
|
+
**access_token** | **String** | | [optional]
|
8
|
+
**_issued** | **String** | | [optional]
|
9
|
+
**client_refresh_token_life_time_in_minutes** | **String** | | [optional]
|
10
|
+
**expires_in** | **Integer** | | [optional]
|
11
|
+
**token_type** | **String** | | [optional]
|
12
|
+
**client_id** | **String** | | [optional]
|
13
|
+
**refresh_token** | **String** | | [optional]
|
14
|
+
|
15
|
+
|
@@ -0,0 +1,228 @@
|
|
1
|
+
# AsposeDiagramCloud::DiagramFileApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.aspose.cloud/v1.1/*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**diagram_file_get_diagram**](DiagramFileApi.md#diagram_file_get_diagram) | **GET** /diagram/{name} | Read document info or export.
|
8
|
+
[**diagram_file_post_save_as**](DiagramFileApi.md#diagram_file_post_save_as) | **POST** /diagram/{name}/SaveAs | Convert document and save result to storage.
|
9
|
+
[**diagram_file_put_create**](DiagramFileApi.md#diagram_file_put_create) | **PUT** /diagram/{name} | Create new diagram and save result to storage.
|
10
|
+
[**diagram_file_put_upload**](DiagramFileApi.md#diagram_file_put_upload) | **PUT** /diagram/{name}/upload | Upload file and save result to storage.
|
11
|
+
|
12
|
+
|
13
|
+
# **diagram_file_get_diagram**
|
14
|
+
> File diagram_file_get_diagram(name, opts)
|
15
|
+
|
16
|
+
Read document info or export.
|
17
|
+
|
18
|
+
### Example
|
19
|
+
```ruby
|
20
|
+
# load the gem
|
21
|
+
require 'aspose_diagram_cloud'
|
22
|
+
|
23
|
+
api_instance = AsposeDiagramCloud::DiagramFileApi.new
|
24
|
+
|
25
|
+
name = "name_example" # String | The document name.
|
26
|
+
|
27
|
+
opts = {
|
28
|
+
format: "format_example", # String | The exported file format.
|
29
|
+
folder: "folder_example", # String | The document folder.
|
30
|
+
storage: "storage_example" # String | storage name.
|
31
|
+
}
|
32
|
+
|
33
|
+
begin
|
34
|
+
#Read document info or export.
|
35
|
+
result = api_instance.diagram_file_get_diagram(name, opts)
|
36
|
+
p result
|
37
|
+
rescue AsposeDiagramCloud::ApiError => e
|
38
|
+
puts "Exception when calling DiagramFileApi->diagram_file_get_diagram: #{e}"
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
### Parameters
|
43
|
+
|
44
|
+
Name | Type | Description | Notes
|
45
|
+
------------- | ------------- | ------------- | -------------
|
46
|
+
**name** | **String**| The document name. |
|
47
|
+
**format** | **String**| The exported file format. | [optional]
|
48
|
+
**folder** | **String**| The document folder. | [optional]
|
49
|
+
**storage** | **String**| storage name. | [optional]
|
50
|
+
|
51
|
+
### Return type
|
52
|
+
|
53
|
+
**File**
|
54
|
+
|
55
|
+
### Authorization
|
56
|
+
|
57
|
+
No authorization required
|
58
|
+
|
59
|
+
### HTTP request headers
|
60
|
+
|
61
|
+
- **Content-Type**: application/json
|
62
|
+
- **Accept**: application/json
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
# **diagram_file_post_save_as**
|
67
|
+
> SaveResponse diagram_file_post_save_as(name, opts)
|
68
|
+
|
69
|
+
Convert document and save result to storage.
|
70
|
+
|
71
|
+
### Example
|
72
|
+
```ruby
|
73
|
+
# load the gem
|
74
|
+
require 'aspose_diagram_cloud'
|
75
|
+
|
76
|
+
api_instance = AsposeDiagramCloud::DiagramFileApi.new
|
77
|
+
|
78
|
+
name = "name_example" # String | The document name.
|
79
|
+
|
80
|
+
opts = {
|
81
|
+
format: AsposeDiagramCloud::FileFormatRequest.new, # FileFormatRequest | Save format.
|
82
|
+
newfilename: "newfilename_example", # String | The new file name.
|
83
|
+
folder: "folder_example", # String | The document folder.
|
84
|
+
is_overwrite: false, # BOOLEAN | If true overwrite the same name file.The default value is false.
|
85
|
+
storage: "storage_example" # String | storage name.
|
86
|
+
}
|
87
|
+
|
88
|
+
begin
|
89
|
+
#Convert document and save result to storage.
|
90
|
+
result = api_instance.diagram_file_post_save_as(name, opts)
|
91
|
+
p result
|
92
|
+
rescue AsposeDiagramCloud::ApiError => e
|
93
|
+
puts "Exception when calling DiagramFileApi->diagram_file_post_save_as: #{e}"
|
94
|
+
end
|
95
|
+
```
|
96
|
+
|
97
|
+
### Parameters
|
98
|
+
|
99
|
+
Name | Type | Description | Notes
|
100
|
+
------------- | ------------- | ------------- | -------------
|
101
|
+
**name** | **String**| The document name. |
|
102
|
+
**format** | [**FileFormatRequest**](FileFormatRequest.md)| Save format. | [optional]
|
103
|
+
**newfilename** | **String**| The new file name. | [optional]
|
104
|
+
**folder** | **String**| The document folder. | [optional]
|
105
|
+
**is_overwrite** | **BOOLEAN**| If true overwrite the same name file.The default value is false. | [optional] [default to false]
|
106
|
+
**storage** | **String**| storage name. | [optional]
|
107
|
+
|
108
|
+
### Return type
|
109
|
+
|
110
|
+
[**SaveResponse**](SaveResponse.md)
|
111
|
+
|
112
|
+
### Authorization
|
113
|
+
|
114
|
+
No authorization required
|
115
|
+
|
116
|
+
### HTTP request headers
|
117
|
+
|
118
|
+
- **Content-Type**: application/json
|
119
|
+
- **Accept**: application/json
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
# **diagram_file_put_create**
|
124
|
+
> SaaSposeResponse diagram_file_put_create(name, opts)
|
125
|
+
|
126
|
+
Create new diagram and save result to storage.
|
127
|
+
|
128
|
+
### Example
|
129
|
+
```ruby
|
130
|
+
# load the gem
|
131
|
+
require 'aspose_diagram_cloud'
|
132
|
+
|
133
|
+
api_instance = AsposeDiagramCloud::DiagramFileApi.new
|
134
|
+
|
135
|
+
name = "name_example" # String | The new document name.
|
136
|
+
|
137
|
+
opts = {
|
138
|
+
folder: "folder_example", # String | The new document folder.
|
139
|
+
is_overwrite: false, # BOOLEAN | If true overwrite the same name file.The default value is false.
|
140
|
+
storage: "storage_example" # String | storage name.
|
141
|
+
}
|
142
|
+
|
143
|
+
begin
|
144
|
+
#Create new diagram and save result to storage.
|
145
|
+
result = api_instance.diagram_file_put_create(name, opts)
|
146
|
+
p result
|
147
|
+
rescue AsposeDiagramCloud::ApiError => e
|
148
|
+
puts "Exception when calling DiagramFileApi->diagram_file_put_create: #{e}"
|
149
|
+
end
|
150
|
+
```
|
151
|
+
|
152
|
+
### Parameters
|
153
|
+
|
154
|
+
Name | Type | Description | Notes
|
155
|
+
------------- | ------------- | ------------- | -------------
|
156
|
+
**name** | **String**| The new document name. |
|
157
|
+
**folder** | **String**| The new document folder. | [optional]
|
158
|
+
**is_overwrite** | **BOOLEAN**| If true overwrite the same name file.The default value is false. | [optional] [default to false]
|
159
|
+
**storage** | **String**| storage name. | [optional]
|
160
|
+
|
161
|
+
### Return type
|
162
|
+
|
163
|
+
[**SaaSposeResponse**](SaaSposeResponse.md)
|
164
|
+
|
165
|
+
### Authorization
|
166
|
+
|
167
|
+
No authorization required
|
168
|
+
|
169
|
+
### HTTP request headers
|
170
|
+
|
171
|
+
- **Content-Type**: application/json
|
172
|
+
- **Accept**: application/json
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
# **diagram_file_put_upload**
|
177
|
+
> SaaSposeResponse diagram_file_put_upload(name, opts)
|
178
|
+
|
179
|
+
Upload file and save result to storage.
|
180
|
+
|
181
|
+
### Example
|
182
|
+
```ruby
|
183
|
+
# load the gem
|
184
|
+
require 'aspose_diagram_cloud'
|
185
|
+
|
186
|
+
api_instance = AsposeDiagramCloud::DiagramFileApi.new
|
187
|
+
|
188
|
+
name = "name_example" # String | The document name.
|
189
|
+
|
190
|
+
opts = {
|
191
|
+
folder: "folder_example", # String | The document folder.
|
192
|
+
is_overwrite: false, # BOOLEAN | If true overwrite the same name file.The default value is false.
|
193
|
+
storage: "storage_example" # String | storage name.
|
194
|
+
}
|
195
|
+
|
196
|
+
begin
|
197
|
+
#Upload file and save result to storage.
|
198
|
+
result = api_instance.diagram_file_put_upload(name, opts)
|
199
|
+
p result
|
200
|
+
rescue AsposeDiagramCloud::ApiError => e
|
201
|
+
puts "Exception when calling DiagramFileApi->diagram_file_put_upload: #{e}"
|
202
|
+
end
|
203
|
+
```
|
204
|
+
|
205
|
+
### Parameters
|
206
|
+
|
207
|
+
Name | Type | Description | Notes
|
208
|
+
------------- | ------------- | ------------- | -------------
|
209
|
+
**name** | **String**| The document name. |
|
210
|
+
**folder** | **String**| The document folder. | [optional]
|
211
|
+
**is_overwrite** | **BOOLEAN**| If true overwrite the same name file.The default value is false. | [optional] [default to false]
|
212
|
+
**storage** | **String**| storage name. | [optional]
|
213
|
+
|
214
|
+
### Return type
|
215
|
+
|
216
|
+
[**SaaSposeResponse**](SaaSposeResponse.md)
|
217
|
+
|
218
|
+
### Authorization
|
219
|
+
|
220
|
+
No authorization required
|
221
|
+
|
222
|
+
### HTTP request headers
|
223
|
+
|
224
|
+
- **Content-Type**: application/json
|
225
|
+
- **Accept**: application/json
|
226
|
+
|
227
|
+
|
228
|
+
|