groupdocs 1.5.8 → 1.5.9
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +9 -0
- data/examples/api-samples/public/docs/sample01.html +34 -15
- data/examples/api-samples/public/docs/sample02.html +36 -15
- data/examples/api-samples/public/docs/sample03.html +55 -34
- data/examples/api-samples/public/docs/sample04.html +33 -14
- data/examples/api-samples/public/docs/sample05.html +51 -33
- data/examples/api-samples/public/docs/sample06.html +86 -40
- data/examples/api-samples/public/docs/sample07.html +32 -13
- data/examples/api-samples/public/docs/sample08.html +39 -20
- data/examples/api-samples/public/docs/sample09.html +93 -39
- data/examples/api-samples/public/docs/sample10.html +39 -21
- data/examples/api-samples/public/docs/sample11.html +133 -88
- data/examples/api-samples/public/docs/sample12.html +33 -14
- data/examples/api-samples/public/docs/sample13.html +14 -7
- data/examples/api-samples/public/docs/sample14.html +37 -18
- data/examples/api-samples/public/docs/sample15.html +29 -10
- data/examples/api-samples/public/docs/sample16.html +58 -25
- data/examples/api-samples/public/docs/sample17.html +71 -38
- data/examples/api-samples/public/docs/sample18.html +98 -71
- data/examples/api-samples/public/docs/sample19.html +74 -42
- data/examples/api-samples/public/docs/sample20.html +39 -21
- data/examples/api-samples/public/docs/sample21.html +113 -69
- data/examples/api-samples/public/docs/sample22.html +89 -43
- data/examples/api-samples/public/docs/sample23.html +50 -32
- data/examples/api-samples/public/docs/sample24.html +64 -31
- data/examples/api-samples/public/docs/sample25.html +107 -60
- data/examples/api-samples/public/docs/sample26.html +29 -10
- data/examples/api-samples/public/docs/sample27.html +107 -61
- data/examples/api-samples/public/docs/sample28.html +158 -9
- data/examples/api-samples/public/docs/sample29.html +13 -8
- data/examples/api-samples/public/docs/sample30.html +34 -15
- data/examples/api-samples/public/docs/sample31.html +107 -76
- data/examples/api-samples/public/docs/sample32.html +104 -40
- data/examples/api-samples/public/docs/sample33.html +85 -36
- data/examples/api-samples/public/docs/sample34.html +30 -11
- data/examples/api-samples/public/docs/sample35.html +90 -27
- data/examples/api-samples/public/docs/sample36.html +36 -16
- data/examples/api-samples/public/docs/sample37.html +144 -265
- data/examples/api-samples/public/docs/sample38.html +113 -64
- data/examples/api-samples/public/docs/sample39.html +118 -45
- data/examples/api-samples/public/docs/sample40.html +81 -46
- data/examples/api-samples/public/docs/sample41.html +562 -90
- data/examples/api-samples/public/docs/sample42.html +94 -39
- data/examples/api-samples/public/docs/sample43.html +669 -0
- data/examples/api-samples/samples/sample01.rb +17 -10
- data/examples/api-samples/samples/sample02.rb +21 -12
- data/examples/api-samples/samples/sample03.rb +35 -29
- data/examples/api-samples/samples/sample04.rb +19 -12
- data/examples/api-samples/samples/sample05.rb +24 -17
- data/examples/api-samples/samples/sample06.rb +38 -32
- data/examples/api-samples/samples/sample07.rb +19 -12
- data/examples/api-samples/samples/sample08.rb +22 -15
- data/examples/api-samples/samples/sample09.rb +31 -29
- data/examples/api-samples/samples/sample10.rb +22 -15
- data/examples/api-samples/samples/sample11.rb +78 -81
- data/examples/api-samples/samples/sample12.rb +19 -21
- data/examples/api-samples/samples/sample13.rb +19 -21
- data/examples/api-samples/samples/sample14.rb +18 -12
- data/examples/api-samples/samples/sample15.rb +17 -10
- data/examples/api-samples/samples/sample16.rb +25 -17
- data/examples/api-samples/samples/sample17.rb +31 -23
- data/examples/api-samples/samples/sample18.rb +60 -55
- data/examples/api-samples/samples/sample19.rb +48 -42
- data/examples/api-samples/samples/sample20.rb +20 -13
- data/examples/api-samples/samples/sample21.rb +62 -54
- data/examples/api-samples/samples/sample22.rb +37 -31
- data/examples/api-samples/samples/sample23.rb +24 -17
- data/examples/api-samples/samples/sample24.rb +29 -22
- data/examples/api-samples/samples/sample25.rb +47 -40
- data/examples/api-samples/samples/sample26.rb +16 -9
- data/examples/api-samples/samples/sample27.rb +46 -39
- data/examples/api-samples/samples/sample28.rb +42 -11
- data/examples/api-samples/samples/sample29.rb +13 -8
- data/examples/api-samples/samples/sample30.rb +19 -12
- data/examples/api-samples/samples/sample31.rb +63 -58
- data/examples/api-samples/samples/sample32.rb +45 -42
- data/examples/api-samples/samples/sample33.rb +36 -25
- data/examples/api-samples/samples/sample34.rb +16 -9
- data/examples/api-samples/samples/sample35.rb +66 -53
- data/examples/api-samples/samples/sample36.rb +19 -15
- data/examples/api-samples/samples/sample37.rb +61 -99
- data/examples/api-samples/samples/sample38.rb +51 -43
- data/examples/api-samples/samples/sample39.rb +78 -62
- data/examples/api-samples/samples/sample40.rb +48 -38
- data/examples/api-samples/samples/sample41.rb +189 -67
- data/examples/api-samples/samples/sample42.rb +37 -29
- data/examples/api-samples/samples/sample43.rb +127 -0
- data/examples/api-samples/views/_others_samples.haml +4 -2
- data/examples/api-samples/views/index.haml +4 -2
- data/examples/api-samples/views/sample11.haml +1 -1
- data/examples/api-samples/views/sample28.haml +8 -0
- data/examples/api-samples/views/sample31.haml +1 -6
- data/examples/api-samples/views/sample39.haml +7 -2
- data/examples/api-samples/views/sample41.haml +78 -33
- data/examples/api-samples/views/sample42.haml +0 -1
- data/examples/api-samples/views/sample43.haml +91 -0
- data/lib/groupdocs/api/helpers/access_rights_helper.rb +6 -5
- data/lib/groupdocs/api/helpers/url_helper.rb +2 -1
- data/lib/groupdocs/document.rb +3 -3
- data/lib/groupdocs/version.rb +1 -1
- metadata +5 -2
@@ -89,9 +89,7 @@
|
|
89
89
|
|
90
90
|
</div>
|
91
91
|
|
92
|
-
<div class="content"><div class='highlight'><pre> raise <span class="string">'Please enter all required parameters'</span> <span class="keyword">if</span> settings.client_id.empty? <span class="keyword">or</span> settings.private_key.empty? <span class="keyword">or</span> settings.email.empty? <span class="keyword">or</span> settings.first_name.empty? <span class="keyword">or</span> settings.last_name.empty
|
93
|
-
|
94
|
-
<span class="keyword">if</span> settings.base_path.empty? <span class="keyword">then</span> settings.base_path = <span class="string">'https://api.groupdocs.com'</span> <span class="keyword">end</span></pre></div></div>
|
92
|
+
<div class="content"><div class='highlight'><pre> raise <span class="string">'Please enter all required parameters'</span> <span class="keyword">if</span> settings.client_id.empty? <span class="keyword">or</span> settings.private_key.empty? <span class="keyword">or</span> settings.email.empty? <span class="keyword">or</span> settings.first_name.empty? <span class="keyword">or</span> settings.last_name.empty?</pre></div></div>
|
95
93
|
|
96
94
|
</li>
|
97
95
|
|
@@ -102,6 +100,27 @@
|
|
102
100
|
<div class="pilwrap ">
|
103
101
|
<a class="pilcrow" href="#section-5">¶</a>
|
104
102
|
</div>
|
103
|
+
<p>Prepare base path</p>
|
104
|
+
|
105
|
+
</div>
|
106
|
+
|
107
|
+
<div class="content"><div class='highlight'><pre> <span class="keyword">if</span> settings.base_path.empty?
|
108
|
+
base_path = <span class="string">'https://api.groupdocs.com'</span>
|
109
|
+
<span class="keyword">elsif</span> settings.base_path.match(<span class="string">'/v2.0'</span>)
|
110
|
+
base_path = settings.base_path.split(<span class="string">'/v2.0'</span>)[<span class="number">0</span>]
|
111
|
+
<span class="keyword">else</span>
|
112
|
+
base_path = settings.base_path
|
113
|
+
<span class="keyword">end</span></pre></div></div>
|
114
|
+
|
115
|
+
</li>
|
116
|
+
|
117
|
+
|
118
|
+
<li id="section-6">
|
119
|
+
<div class="annotation">
|
120
|
+
|
121
|
+
<div class="pilwrap ">
|
122
|
+
<a class="pilcrow" href="#section-6">¶</a>
|
123
|
+
</div>
|
105
124
|
<p>Configure your access to API server</p>
|
106
125
|
|
107
126
|
</div>
|
@@ -113,30 +132,30 @@
|
|
113
132
|
</li>
|
114
133
|
|
115
134
|
|
116
|
-
<li id="section-
|
135
|
+
<li id="section-7">
|
117
136
|
<div class="annotation">
|
118
137
|
|
119
138
|
<div class="pilwrap ">
|
120
|
-
<a class="pilcrow" href="#section-
|
139
|
+
<a class="pilcrow" href="#section-7">¶</a>
|
121
140
|
</div>
|
122
141
|
<p>Optionally specify API server and version</p>
|
123
142
|
|
124
143
|
</div>
|
125
144
|
|
126
|
-
<div class="content"><div class='highlight'><pre> groupdocs.api_server =
|
145
|
+
<div class="content"><div class='highlight'><pre> groupdocs.api_server = base_path <span class="comment"># default is 'https://api.groupdocs.com'</span>
|
127
146
|
<span class="keyword">end</span>
|
128
147
|
file = <span class="keyword">nil</span></pre></div></div>
|
129
148
|
|
130
149
|
</li>
|
131
150
|
|
132
151
|
|
133
|
-
<li id="section-
|
152
|
+
<li id="section-8">
|
134
153
|
<div class="annotation">
|
135
154
|
|
136
155
|
<div class="pilwrap ">
|
137
|
-
<a class="pilcrow" href="#section-
|
156
|
+
<a class="pilcrow" href="#section-8">¶</a>
|
138
157
|
</div>
|
139
|
-
<p>
|
158
|
+
<p>Get document by file GUID</p>
|
140
159
|
|
141
160
|
</div>
|
142
161
|
|
@@ -146,11 +165,11 @@
|
|
146
165
|
</li>
|
147
166
|
|
148
167
|
|
149
|
-
<li id="section-
|
168
|
+
<li id="section-9">
|
150
169
|
<div class="annotation">
|
151
170
|
|
152
171
|
<div class="pilwrap ">
|
153
|
-
<a class="pilcrow" href="#section-
|
172
|
+
<a class="pilcrow" href="#section-9">¶</a>
|
154
173
|
</div>
|
155
174
|
<p>Create instance of File</p>
|
156
175
|
|
@@ -163,11 +182,11 @@
|
|
163
182
|
</li>
|
164
183
|
|
165
184
|
|
166
|
-
<li id="section-
|
185
|
+
<li id="section-10">
|
167
186
|
<div class="annotation">
|
168
187
|
|
169
188
|
<div class="pilwrap ">
|
170
|
-
<a class="pilcrow" href="#section-
|
189
|
+
<a class="pilcrow" href="#section-10">¶</a>
|
171
190
|
</div>
|
172
191
|
<p>Open file</p>
|
173
192
|
|
@@ -178,11 +197,11 @@
|
|
178
197
|
</li>
|
179
198
|
|
180
199
|
|
181
|
-
<li id="section-
|
200
|
+
<li id="section-11">
|
182
201
|
<div class="annotation">
|
183
202
|
|
184
203
|
<div class="pilwrap ">
|
185
|
-
<a class="pilcrow" href="#section-
|
204
|
+
<a class="pilcrow" href="#section-11">¶</a>
|
186
205
|
</div>
|
187
206
|
<p>Make a request to API using client_id and private_key</p>
|
188
207
|
|
@@ -194,11 +213,11 @@
|
|
194
213
|
</li>
|
195
214
|
|
196
215
|
|
197
|
-
<li id="section-
|
216
|
+
<li id="section-12">
|
198
217
|
<div class="annotation">
|
199
218
|
|
200
219
|
<div class="pilwrap ">
|
201
|
-
<a class="pilcrow" href="#section-
|
220
|
+
<a class="pilcrow" href="#section-12">¶</a>
|
202
221
|
</div>
|
203
222
|
<p>Upload file from defined url</p>
|
204
223
|
|
@@ -215,11 +234,11 @@
|
|
215
234
|
</li>
|
216
235
|
|
217
236
|
|
218
|
-
<li id="section-
|
237
|
+
<li id="section-13">
|
219
238
|
<div class="annotation">
|
220
239
|
|
221
240
|
<div class="pilwrap ">
|
222
|
-
<a class="pilcrow" href="#section-
|
241
|
+
<a class="pilcrow" href="#section-13">¶</a>
|
223
242
|
</div>
|
224
243
|
<p>Create new user</p>
|
225
244
|
|
@@ -237,11 +256,11 @@
|
|
237
256
|
</li>
|
238
257
|
|
239
258
|
|
240
|
-
<li id="section-
|
259
|
+
<li id="section-14">
|
241
260
|
<div class="annotation">
|
242
261
|
|
243
262
|
<div class="pilwrap ">
|
244
|
-
<a class="pilcrow" href="#section-
|
263
|
+
<a class="pilcrow" href="#section-14">¶</a>
|
245
264
|
</div>
|
246
265
|
<p>Update account</p>
|
247
266
|
|
@@ -252,11 +271,11 @@
|
|
252
271
|
</li>
|
253
272
|
|
254
273
|
|
255
|
-
<li id="section-
|
274
|
+
<li id="section-15">
|
256
275
|
<div class="annotation">
|
257
276
|
|
258
277
|
<div class="pilwrap ">
|
259
|
-
<a class="pilcrow" href="#section-
|
278
|
+
<a class="pilcrow" href="#section-15">¶</a>
|
260
279
|
</div>
|
261
280
|
<p>Set new collaboration</p>
|
262
281
|
|
@@ -267,11 +286,11 @@
|
|
267
286
|
</li>
|
268
287
|
|
269
288
|
|
270
|
-
<li id="section-
|
289
|
+
<li id="section-16">
|
271
290
|
<div class="annotation">
|
272
291
|
|
273
292
|
<div class="pilwrap ">
|
274
|
-
<a class="pilcrow" href="#section-
|
293
|
+
<a class="pilcrow" href="#section-16">¶</a>
|
275
294
|
</div>
|
276
295
|
<p>Get all collaborations</p>
|
277
296
|
|
@@ -282,11 +301,11 @@
|
|
282
301
|
</li>
|
283
302
|
|
284
303
|
|
285
|
-
<li id="section-
|
304
|
+
<li id="section-17">
|
286
305
|
<div class="annotation">
|
287
306
|
|
288
307
|
<div class="pilwrap ">
|
289
|
-
<a class="pilcrow" href="#section-
|
308
|
+
<a class="pilcrow" href="#section-17">¶</a>
|
290
309
|
</div>
|
291
310
|
<p>Set document reviewers</p>
|
292
311
|
|
@@ -297,42 +316,69 @@
|
|
297
316
|
</li>
|
298
317
|
|
299
318
|
|
300
|
-
<li id="section-
|
319
|
+
<li id="section-18">
|
301
320
|
<div class="annotation">
|
302
321
|
|
303
322
|
<div class="pilwrap ">
|
304
|
-
<a class="pilcrow" href="#section-
|
323
|
+
<a class="pilcrow" href="#section-18">¶</a>
|
305
324
|
</div>
|
306
|
-
<p>
|
325
|
+
<p>Prepare to sign url</p>
|
307
326
|
|
308
327
|
</div>
|
309
328
|
|
310
|
-
<div class="content"><div class='highlight'><pre> <span class="
|
329
|
+
<div class="content"><div class='highlight'><pre> iframe = <span class="string">"/document-annotation2/embed/<span class="subst">#{file.file.guid}</span>?uid = <span class="subst">#{new_user.guid}</span>&download=true"</span></pre></div></div>
|
330
|
+
|
331
|
+
</li>
|
332
|
+
|
333
|
+
|
334
|
+
<li id="section-19">
|
335
|
+
<div class="annotation">
|
336
|
+
|
337
|
+
<div class="pilwrap ">
|
338
|
+
<a class="pilcrow" href="#section-19">¶</a>
|
339
|
+
</div>
|
340
|
+
<p>Construct result string</p>
|
341
|
+
|
342
|
+
</div>
|
343
|
+
|
344
|
+
<div class="content"><div class='highlight'><pre> url = <span class="constant">GroupDocs::Api::Request</span>.new(<span class="symbol">:path</span> => iframe).prepare_and_sign_url</pre></div></div>
|
345
|
+
|
346
|
+
</li>
|
347
|
+
|
348
|
+
|
349
|
+
<li id="section-20">
|
350
|
+
<div class="annotation">
|
351
|
+
|
352
|
+
<div class="pilwrap ">
|
353
|
+
<a class="pilcrow" href="#section-20">¶</a>
|
354
|
+
</div>
|
355
|
+
<p>Generate iframe URL</p>
|
311
356
|
|
357
|
+
</div>
|
358
|
+
|
359
|
+
<div class="content"><div class='highlight'><pre> <span class="keyword">case</span> base_path
|
312
360
|
<span class="keyword">when</span> <span class="string">'https://stage-api-groupdocs.dynabic.com'</span>
|
313
|
-
|
361
|
+
iframe = <span class="string">"https://stage-api-groupdocs.dynabic.com<span class="subst">#{url}</span>"</span>
|
314
362
|
<span class="keyword">when</span> <span class="string">'https://dev-api-groupdocs.dynabic.com'</span>
|
315
|
-
|
363
|
+
iframe = <span class="string">"https://dev-apps.groupdocs.com<span class="subst">#{url}</span>"</span>
|
316
364
|
<span class="keyword">else</span>
|
317
|
-
|
365
|
+
iframe = <span class="string">"https://apps.groupdocs.com<span class="subst">#{url}</span>"</span>
|
318
366
|
<span class="keyword">end</span></pre></div></div>
|
319
367
|
|
320
368
|
</li>
|
321
369
|
|
322
370
|
|
323
|
-
<li id="section-
|
371
|
+
<li id="section-21">
|
324
372
|
<div class="annotation">
|
325
373
|
|
326
374
|
<div class="pilwrap ">
|
327
|
-
<a class="pilcrow" href="#section-
|
375
|
+
<a class="pilcrow" href="#section-21">¶</a>
|
328
376
|
</div>
|
329
|
-
<p>
|
377
|
+
<p>Make iframe</p>
|
330
378
|
|
331
379
|
</div>
|
332
380
|
|
333
|
-
<div class="content"><div class='highlight'><pre> iframe = <span class="
|
334
|
-
|
335
|
-
iframe = <span class="string">"<iframe src='<span class="subst">#{iframe}</span>' frameborder='0' width='720' height='600'></iframe>"</span>
|
381
|
+
<div class="content"><div class='highlight'><pre> iframe = <span class="string">"<iframe id='downloadframe' src='<span class="subst">#{iframe}</span>' width='800' height='1000'></iframe>"</span>
|
336
382
|
|
337
383
|
<span class="keyword">rescue</span> <span class="constant">Exception</span> => e
|
338
384
|
err = e.message
|
@@ -341,13 +387,13 @@
|
|
341
387
|
</li>
|
342
388
|
|
343
389
|
|
344
|
-
<li id="section-
|
390
|
+
<li id="section-22">
|
345
391
|
<div class="annotation">
|
346
392
|
|
347
393
|
<div class="pilwrap ">
|
348
|
-
<a class="pilcrow" href="#section-
|
394
|
+
<a class="pilcrow" href="#section-22">¶</a>
|
349
395
|
</div>
|
350
|
-
<p>
|
396
|
+
<p>Set variables for template</p>
|
351
397
|
|
352
398
|
</div>
|
353
399
|
|
@@ -59,12 +59,11 @@
|
|
59
59
|
<div class="pilwrap ">
|
60
60
|
<a class="pilcrow" href="#section-3">¶</a>
|
61
61
|
</div>
|
62
|
-
<p>
|
62
|
+
<p>Set variables</p>
|
63
63
|
|
64
64
|
</div>
|
65
65
|
|
66
|
-
<div class="content"><div class='highlight'><pre>
|
67
|
-
set <span class="symbol">:client_id</span>, params[<span class="symbol">:clientId</span>]
|
66
|
+
<div class="content"><div class='highlight'><pre> set <span class="symbol">:client_id</span>, params[<span class="symbol">:clientId</span>]
|
68
67
|
set <span class="symbol">:private_key</span>, params[<span class="symbol">:privateKey</span>]
|
69
68
|
set <span class="symbol">:source</span>, params[<span class="symbol">:source</span>]
|
70
69
|
set <span class="symbol">:file_id</span>, params[<span class="symbol">:fileId</span>]
|
@@ -82,13 +81,11 @@
|
|
82
81
|
<div class="pilwrap ">
|
83
82
|
<a class="pilcrow" href="#section-4">¶</a>
|
84
83
|
</div>
|
85
|
-
<p>
|
84
|
+
<p>Check required variables</p>
|
86
85
|
|
87
86
|
</div>
|
88
87
|
|
89
|
-
<div class="content"><div class='highlight'><pre> raise <span class="string">'Please enter all required parameters'</span> <span class="keyword">if</span> settings.client_id.empty? <span class="keyword">or</span> settings.private_key.empty
|
90
|
-
|
91
|
-
<span class="keyword">if</span> settings.base_path.empty? <span class="keyword">then</span> settings.base_path = <span class="string">'https://api.groupdocs.com'</span> <span class="keyword">end</span></pre></div></div>
|
88
|
+
<div class="content"><div class='highlight'><pre> raise <span class="string">'Please enter all required parameters'</span> <span class="keyword">if</span> settings.client_id.empty? <span class="keyword">or</span> settings.private_key.empty?</pre></div></div>
|
92
89
|
|
93
90
|
</li>
|
94
91
|
|
@@ -99,6 +96,27 @@
|
|
99
96
|
<div class="pilwrap ">
|
100
97
|
<a class="pilcrow" href="#section-5">¶</a>
|
101
98
|
</div>
|
99
|
+
<p>Prepare base path</p>
|
100
|
+
|
101
|
+
</div>
|
102
|
+
|
103
|
+
<div class="content"><div class='highlight'><pre> <span class="keyword">if</span> settings.base_path.empty?
|
104
|
+
base_path = <span class="string">'https://api.groupdocs.com'</span>
|
105
|
+
<span class="keyword">elsif</span> settings.base_path.match(<span class="string">'/v2.0'</span>)
|
106
|
+
base_path = settings.base_path.split(<span class="string">'/v2.0'</span>)[<span class="number">0</span>]
|
107
|
+
<span class="keyword">else</span>
|
108
|
+
base_path = settings.base_path
|
109
|
+
<span class="keyword">end</span></pre></div></div>
|
110
|
+
|
111
|
+
</li>
|
112
|
+
|
113
|
+
|
114
|
+
<li id="section-6">
|
115
|
+
<div class="annotation">
|
116
|
+
|
117
|
+
<div class="pilwrap ">
|
118
|
+
<a class="pilcrow" href="#section-6">¶</a>
|
119
|
+
</div>
|
102
120
|
<p>Configure your access to API server</p>
|
103
121
|
|
104
122
|
</div>
|
@@ -110,29 +128,29 @@
|
|
110
128
|
</li>
|
111
129
|
|
112
130
|
|
113
|
-
<li id="section-
|
131
|
+
<li id="section-7">
|
114
132
|
<div class="annotation">
|
115
133
|
|
116
134
|
<div class="pilwrap ">
|
117
|
-
<a class="pilcrow" href="#section-
|
135
|
+
<a class="pilcrow" href="#section-7">¶</a>
|
118
136
|
</div>
|
119
137
|
<p>Optionally specify API server and version</p>
|
120
138
|
|
121
139
|
</div>
|
122
140
|
|
123
|
-
<div class="content"><div class='highlight'><pre> groupdocs.api_server =
|
141
|
+
<div class="content"><div class='highlight'><pre> groupdocs.api_server = base_path <span class="comment"># default is 'https://api.groupdocs.com'</span>
|
124
142
|
<span class="keyword">end</span></pre></div></div>
|
125
143
|
|
126
144
|
</li>
|
127
145
|
|
128
146
|
|
129
|
-
<li id="section-
|
147
|
+
<li id="section-8">
|
130
148
|
<div class="annotation">
|
131
149
|
|
132
150
|
<div class="pilwrap ">
|
133
|
-
<a class="pilcrow" href="#section-
|
151
|
+
<a class="pilcrow" href="#section-8">¶</a>
|
134
152
|
</div>
|
135
|
-
<p>
|
153
|
+
<p>Get document by file GUID</p>
|
136
154
|
|
137
155
|
</div>
|
138
156
|
|
@@ -142,11 +160,11 @@
|
|
142
160
|
</li>
|
143
161
|
|
144
162
|
|
145
|
-
<li id="section-
|
163
|
+
<li id="section-9">
|
146
164
|
<div class="annotation">
|
147
165
|
|
148
166
|
<div class="pilwrap ">
|
149
|
-
<a class="pilcrow" href="#section-
|
167
|
+
<a class="pilcrow" href="#section-9">¶</a>
|
150
168
|
</div>
|
151
169
|
<p>Create instance of File</p>
|
152
170
|
|
@@ -158,11 +176,11 @@
|
|
158
176
|
</li>
|
159
177
|
|
160
178
|
|
161
|
-
<li id="section-
|
179
|
+
<li id="section-10">
|
162
180
|
<div class="annotation">
|
163
181
|
|
164
182
|
<div class="pilwrap ">
|
165
|
-
<a class="pilcrow" href="#section-
|
183
|
+
<a class="pilcrow" href="#section-10">¶</a>
|
166
184
|
</div>
|
167
185
|
<p>Construct path</p>
|
168
186
|
|
@@ -173,11 +191,11 @@
|
|
173
191
|
</li>
|
174
192
|
|
175
193
|
|
176
|
-
<li id="section-
|
194
|
+
<li id="section-11">
|
177
195
|
<div class="annotation">
|
178
196
|
|
179
197
|
<div class="pilwrap ">
|
180
|
-
<a class="pilcrow" href="#section-
|
198
|
+
<a class="pilcrow" href="#section-11">¶</a>
|
181
199
|
</div>
|
182
200
|
<p>Open file</p>
|
183
201
|
|
@@ -188,11 +206,11 @@
|
|
188
206
|
</li>
|
189
207
|
|
190
208
|
|
191
|
-
<li id="section-
|
209
|
+
<li id="section-12">
|
192
210
|
<div class="annotation">
|
193
211
|
|
194
212
|
<div class="pilwrap ">
|
195
|
-
<a class="pilcrow" href="#section-
|
213
|
+
<a class="pilcrow" href="#section-12">¶</a>
|
196
214
|
</div>
|
197
215
|
<p>Make a request to API using client_id and private_key</p>
|
198
216
|
|
@@ -204,11 +222,11 @@
|
|
204
222
|
</li>
|
205
223
|
|
206
224
|
|
207
|
-
<li id="section-
|
225
|
+
<li id="section-13">
|
208
226
|
<div class="annotation">
|
209
227
|
|
210
228
|
<div class="pilwrap ">
|
211
|
-
<a class="pilcrow" href="#section-
|
229
|
+
<a class="pilcrow" href="#section-13">¶</a>
|
212
230
|
</div>
|
213
231
|
<p>Upload file from defined url</p>
|
214
232
|
|
@@ -222,11 +240,11 @@
|
|
222
240
|
</li>
|
223
241
|
|
224
242
|
|
225
|
-
<li id="section-
|
243
|
+
<li id="section-14">
|
226
244
|
<div class="annotation">
|
227
245
|
|
228
246
|
<div class="pilwrap ">
|
229
|
-
<a class="pilcrow" href="#section-
|
247
|
+
<a class="pilcrow" href="#section-14">¶</a>
|
230
248
|
</div>
|
231
249
|
<p>Raise exception if something went wrong</p>
|
232
250
|
|
@@ -237,11 +255,11 @@
|
|
237
255
|
</li>
|
238
256
|
|
239
257
|
|
240
|
-
<li id="section-
|
258
|
+
<li id="section-15">
|
241
259
|
<div class="annotation">
|
242
260
|
|
243
261
|
<div class="pilwrap ">
|
244
|
-
<a class="pilcrow" href="#section-
|
262
|
+
<a class="pilcrow" href="#section-15">¶</a>
|
245
263
|
</div>
|
246
264
|
<p>Make GroupDocs::Storage::Document instance</p>
|
247
265
|
|
@@ -252,11 +270,11 @@
|
|
252
270
|
</li>
|
253
271
|
|
254
272
|
|
255
|
-
<li id="section-
|
273
|
+
<li id="section-16">
|
256
274
|
<div class="annotation">
|
257
275
|
|
258
276
|
<div class="pilwrap ">
|
259
|
-
<a class="pilcrow" href="#section-
|
277
|
+
<a class="pilcrow" href="#section-16">¶</a>
|
260
278
|
</div>
|
261
279
|
<p>Create new page</p>
|
262
280
|
|
@@ -271,13 +289,13 @@
|
|
271
289
|
</li>
|
272
290
|
|
273
291
|
|
274
|
-
<li id="section-
|
292
|
+
<li id="section-17">
|
275
293
|
<div class="annotation">
|
276
294
|
|
277
295
|
<div class="pilwrap ">
|
278
|
-
<a class="pilcrow" href="#section-
|
296
|
+
<a class="pilcrow" href="#section-17">¶</a>
|
279
297
|
</div>
|
280
|
-
<p>
|
298
|
+
<p>Set variables for template</p>
|
281
299
|
|
282
300
|
</div>
|
283
301
|
|