groupdocs 1.5.3 → 1.5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. data/.travis.yml +0 -1
  2. data/README.md +2 -0
  3. data/examples/api-samples/public/docs/annotation-sample.html +167 -57
  4. data/examples/api-samples/public/docs/docco.css +459 -151
  5. data/examples/api-samples/public/docs/envelope-sample.html +373 -131
  6. data/examples/api-samples/public/docs/sample1.html +126 -26
  7. data/examples/api-samples/public/docs/sample10.html +213 -50
  8. data/examples/api-samples/public/docs/sample11.html +319 -87
  9. data/examples/api-samples/public/docs/sample12.html +165 -40
  10. data/examples/api-samples/public/docs/sample13.html +166 -41
  11. data/examples/api-samples/public/docs/sample14.html +142 -30
  12. data/examples/api-samples/public/docs/sample15.html +127 -27
  13. data/examples/api-samples/public/docs/sample16.html +125 -25
  14. data/examples/api-samples/public/docs/sample17.html +188 -37
  15. data/examples/api-samples/public/docs/sample18.html +614 -157
  16. data/examples/api-samples/public/docs/sample19.html +221 -59
  17. data/examples/api-samples/public/docs/sample2.html +142 -30
  18. data/examples/api-samples/public/docs/sample20.html +176 -51
  19. data/examples/api-samples/public/docs/sample21.html +287 -66
  20. data/examples/api-samples/public/docs/sample22.html +224 -53
  21. data/examples/api-samples/public/docs/sample23.html +256 -0
  22. data/examples/api-samples/public/docs/sample24.html +143 -0
  23. data/examples/api-samples/public/docs/sample25.html +429 -0
  24. data/examples/api-samples/public/docs/sample26.html +113 -0
  25. data/examples/api-samples/public/docs/sample27.html +433 -0
  26. data/examples/api-samples/public/docs/sample28.html +185 -0
  27. data/examples/api-samples/public/docs/sample29.html +175 -0
  28. data/examples/api-samples/public/docs/sample3.html +172 -34
  29. data/examples/api-samples/public/docs/sample30.html +144 -0
  30. data/examples/api-samples/public/docs/sample31.html +734 -0
  31. data/examples/api-samples/public/docs/sample4.html +204 -52
  32. data/examples/api-samples/public/docs/sample5.html +241 -63
  33. data/examples/api-samples/public/docs/sample6.html +209 -48
  34. data/examples/api-samples/public/docs/sample7.html +155 -43
  35. data/examples/api-samples/public/docs/sample8.html +235 -62
  36. data/examples/api-samples/public/docs/sample9.html +200 -49
  37. data/examples/api-samples/public/templates/merge_field1_doc.docx +0 -0
  38. data/examples/api-samples/public/templates/merge_field2_doc.docx +0 -0
  39. data/examples/api-samples/samples/sample23.rb +54 -0
  40. data/examples/api-samples/samples/sample24.rb +30 -0
  41. data/examples/api-samples/samples/sample25.rb +4 -4
  42. data/examples/api-samples/samples/sample26.rb +25 -0
  43. data/examples/api-samples/samples/sample27.rb +100 -0
  44. data/examples/api-samples/samples/sample28.rb +47 -0
  45. data/examples/api-samples/samples/sample29.rb +52 -0
  46. data/examples/api-samples/samples/sample30.rb +39 -0
  47. data/examples/api-samples/samples/sample31.rb +204 -0
  48. data/examples/api-samples/samples/sample5.rb +5 -3
  49. data/examples/api-samples/samples/sample6.rb +2 -0
  50. data/examples/api-samples/views/_others_samples.haml +12 -0
  51. data/examples/api-samples/views/index.haml +12 -0
  52. data/examples/api-samples/views/layout.haml +1 -0
  53. data/examples/api-samples/views/sample1.haml +3 -2
  54. data/examples/api-samples/views/sample10.haml +3 -2
  55. data/examples/api-samples/views/sample11.haml +4 -0
  56. data/examples/api-samples/views/sample12.haml +4 -0
  57. data/examples/api-samples/views/sample13.haml +4 -0
  58. data/examples/api-samples/views/sample14.haml +4 -0
  59. data/examples/api-samples/views/sample15.haml +4 -0
  60. data/examples/api-samples/views/sample16.haml +4 -0
  61. data/examples/api-samples/views/sample17.haml +4 -0
  62. data/examples/api-samples/views/sample19.haml +4 -0
  63. data/examples/api-samples/views/sample2.haml +3 -2
  64. data/examples/api-samples/views/sample20.haml +4 -0
  65. data/examples/api-samples/views/sample21.haml +4 -0
  66. data/examples/api-samples/views/sample22.haml +4 -0
  67. data/examples/api-samples/views/sample23.haml +87 -0
  68. data/examples/api-samples/views/sample24.haml +44 -0
  69. data/examples/api-samples/views/sample26.haml +54 -0
  70. data/examples/api-samples/views/sample27.haml +122 -0
  71. data/examples/api-samples/views/sample28.haml +47 -0
  72. data/examples/api-samples/views/sample29.haml +70 -0
  73. data/examples/api-samples/views/sample3.haml +3 -2
  74. data/examples/api-samples/views/sample30.haml +46 -0
  75. data/examples/api-samples/views/sample31.haml +114 -0
  76. data/examples/api-samples/views/sample4.haml +3 -2
  77. data/examples/api-samples/views/sample5.haml +3 -2
  78. data/examples/api-samples/views/sample6.haml +3 -2
  79. data/examples/api-samples/views/sample7.haml +3 -2
  80. data/examples/api-samples/views/sample8.haml +3 -2
  81. data/examples/api-samples/views/sample9.haml +3 -2
  82. data/examples/viewer/Gemfile +1 -1
  83. data/groupdocs.gemspec +3 -3
  84. data/lib/groupdocs/datasource.rb +22 -0
  85. data/lib/groupdocs/document.rb +493 -43
  86. data/lib/groupdocs/document/annotation.rb +73 -0
  87. data/lib/groupdocs/job.rb +82 -1
  88. data/lib/groupdocs/post.rb +83 -0
  89. data/lib/groupdocs/questionnaire.rb +41 -0
  90. data/lib/groupdocs/signature.rb +342 -0
  91. data/lib/groupdocs/signature/envelope.rb +56 -0
  92. data/lib/groupdocs/signature/form.rb +47 -5
  93. data/lib/groupdocs/signature/shared/field_methods.rb +37 -0
  94. data/lib/groupdocs/storage/file.rb +83 -0
  95. data/lib/groupdocs/subscription.rb +218 -0
  96. data/lib/groupdocs/user.rb +422 -1
  97. data/lib/groupdocs/version.rb +1 -1
  98. data/spec/groupdocs/job_spec.rb +4 -5
  99. data/spec/groupdocs/user_spec.rb +157 -0
  100. data/spec/support/json/annotation_resize.json +11 -0
  101. data/spec/support/json/annotation_text_color.json +10 -0
  102. data/spec/support/json/annotation_text_info.json +11 -0
  103. data/spec/support/json/document_content_get.json +8 -0
  104. data/spec/support/json/document_edit_lock_get.json +10 -0
  105. data/spec/support/json/document_editlock_remove.json +8 -0
  106. data/spec/support/json/document_page_html_urls_get.json +14 -0
  107. data/spec/support/json/document_password_set.json +19 -0
  108. data/spec/support/json/document_representations.json +25 -0
  109. data/spec/support/json/document_shared_documents_get.json +32 -0
  110. data/spec/support/json/document_tags_get.json +9 -0
  111. data/spec/support/json/document_tags_remove.json +8 -0
  112. data/spec/support/json/document_tags_set.json +8 -0
  113. data/spec/support/json/document_user_status_set.json +12 -0
  114. data/spec/support/json/job_documents.json +103 -35
  115. data/spec/support/json/job_xml_get.json +30 -0
  116. data/spec/support/json/jobs_documents.json +40 -0
  117. data/spec/support/json/user_get_profile.json +73 -0
  118. metadata +49 -177
@@ -1,3 +1,3 @@
1
1
  module GroupDocs
2
- VERSION = '1.5.3'
2
+ VERSION = '1.5.4'
3
3
  end # GroupDocs
@@ -71,7 +71,6 @@ describe GroupDocs::Job do
71
71
 
72
72
  it 'converts array of out formats to string' do
73
73
  formats = %w(pdf txt)
74
- formats.should_receive(:join).with(?;)
75
74
  described_class.create!(:actions => actions, :out_formats => formats)
76
75
  end
77
76
 
@@ -146,10 +145,10 @@ describe GroupDocs::Job do
146
145
  end.should_not raise_error(ArgumentError)
147
146
  end
148
147
 
149
- it 'updates job status' do
150
- subject.documents!
151
- subject.status.should == :archived
152
- end
148
+ #it 'updates job status' do
149
+ # subject.documents!
150
+ # subject.status.should == :archived
151
+ #end
153
152
 
154
153
  it 'returns hash' do
155
154
  subject.documents!.should be_a(Hash)
@@ -254,4 +254,161 @@ describe GroupDocs::User do
254
254
  end
255
255
  end
256
256
 
257
+ describe '.update_password!' do
258
+ before(:each) do
259
+ mock_api_server('{ "result": { "user_guid": "s8dfts8" }, "status": "Ok" }')
260
+ end
261
+
262
+ it 'accepts access credentials hash' do
263
+ lambda do
264
+ subject.update_password!(:client_id => 'client_id', :private_key => 'private_key')
265
+ end.should_not raise_error(ArgumentError)
266
+ end
267
+
268
+ it 'works without access credentials hash' do
269
+ lambda do
270
+ described_class.update_password!('doe@john.com', 'password')
271
+ end.should_not raise_error(ArgumentError)
272
+ end
273
+ end
274
+
275
+ describe '.reset_token!' do
276
+ before(:each) do
277
+ mock_api_server('{ "result": { "user": "s8dfts8" }, "status": "Ok" }')
278
+ end
279
+
280
+ it 'accepts access credentials hash' do
281
+ lambda do
282
+ subject.reset_token!(:client_id => 'client_id', :private_key => 'private_key')
283
+ end.should_not raise_error(ArgumentError)
284
+ end
285
+
286
+ it 'accepts options credentials hash' do
287
+ lambda do
288
+ subject.reset_token!(:token => 'test')
289
+ end.should_not raise_error(ArgumentError)
290
+ end
291
+ end
292
+
293
+ describe '.verif_token!' do
294
+ before(:each) do
295
+ mock_api_server('{ "result": { "user": "s8dfts8" }, "status": "Ok" }')
296
+ end
297
+
298
+ it 'accepts access credentials hash' do
299
+ lambda do
300
+ subject.verif_token!(:client_id => 'client_id', :private_key => 'private_key')
301
+ end.should_not raise_error(ArgumentError)
302
+ end
303
+
304
+ it 'accepts options credentials hash' do
305
+ lambda do
306
+ subject.verif_token!(:token => 'test')
307
+ end.should_not raise_error(ArgumentError)
308
+ end
309
+ end
310
+
311
+ describe '.claimed_token!' do
312
+ before(:each) do
313
+ mock_api_server('{ "result": { "user": "s8dfts8" }, "status": "Ok" }')
314
+ end
315
+
316
+ it 'accepts access credentials hash' do
317
+ lambda do
318
+ subject.claimed_token!(:client_id => 'client_id', :private_key => 'private_key')
319
+ end.should_not raise_error(ArgumentError)
320
+ end
321
+
322
+ it 'accepts options credentials hash' do
323
+ lambda do
324
+ subject.claimed_token!(:token => 'test')
325
+ end.should_not raise_error(ArgumentError)
326
+ end
327
+ end
328
+
329
+ describe '.get_profile!' do
330
+ before(:each) do
331
+ mock_api_server(load_json('user_get_profile'))
332
+ end
333
+
334
+ it 'accepts access credentials hash' do
335
+ lambda do
336
+ subject.get_profile!(:client_id => 'client_id', :private_key => 'private_key')
337
+ end.should_not raise_error(ArgumentError)
338
+ end
339
+
340
+ end
341
+
342
+ describe '#update_profile!' do
343
+ before(:each) do
344
+ mock_api_server(load_json('user_get_profile'))
345
+ end
346
+
347
+ it 'accepts access credentials hash' do
348
+ lambda do
349
+ subject.update_profile!(:client_id => 'client_id', :private_key => 'private_key')
350
+ end.should_not raise_error(ArgumentError)
351
+ end
352
+ end
353
+
354
+ describe '#create_user!' do
355
+ before(:each) do
356
+ mock_api_server(load_json('user_get_profile'))
357
+ end
358
+
359
+ it 'accepts access credentials hash' do
360
+ lambda do
361
+ subject.users!(:client_id => 'client_id', :private_key => 'private_key')
362
+ end.should_not raise_error(ArgumentError)
363
+ end
364
+ end
365
+
366
+ describe '.create_login!' do
367
+ before(:each) do
368
+ mock_api_server(load_json('user_get_profile'))
369
+ end
370
+
371
+ it 'accepts access credentials hash' do
372
+ lambda do
373
+ subject.users!(:client_id => 'client_id', :private_key => 'private_key')
374
+ end.should_not raise_error(ArgumentError)
375
+ end
376
+ end
377
+
378
+ describe '.update_alien_password!' do
379
+ before(:each) do
380
+ mock_api_server('{ "result": { "user_guid": "s8dfts8" }, "status": "Ok" }')
381
+ end
382
+
383
+ it 'accepts access credentials hash' do
384
+ lambda do
385
+ subject.update_alien_password!(:client_id => 'client_id', :private_key => 'private_key')
386
+ end.should_not raise_error(ArgumentError)
387
+ end
388
+ end
389
+
390
+ describe '.reset_alien_password!' do
391
+ before(:each) do
392
+ mock_api_server('{ "result": { "user_name": "s8dfts8" }, "status": "Ok" }')
393
+ end
394
+
395
+ it 'accepts access credentials hash' do
396
+ lambda do
397
+ subject.update_alien_password!(:client_id => 'client_id', :private_key => 'private_key')
398
+ end.should_not raise_error(ArgumentError)
399
+ end
400
+ end
401
+
402
+ describe '#update_provider!' do
403
+ before(:each) do
404
+ mock_api_server('{ "result": { "user_name": "s8dfts8" }, "status": "Ok" }')
405
+ end
406
+
407
+ it 'accepts access credentials hash' do
408
+ lambda do
409
+ subject.update_alien_password!(:client_id => 'client_id', :private_key => 'private_key')
410
+ end.should_not raise_error(ArgumentError)
411
+ end
412
+ end
413
+
257
414
  end
@@ -0,0 +1,11 @@
1
+ {
2
+ "result": {
3
+
4
+ "width": "500",
5
+ "height": "600"
6
+
7
+ },
8
+ "status": "Ok",
9
+ "error_message": null,
10
+ "composedOn": 1380187729272
11
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "result": {
3
+
4
+ "fontColor": "500"
5
+
6
+ },
7
+ "status": "Ok",
8
+ "error_message": null,
9
+ "composedOn": 1380187729272
10
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "result": {
3
+
4
+ "fieldText": "test",
5
+ "fontFamily": "serif",
6
+ "fontSize": "14"
7
+ },
8
+ "status": "Ok",
9
+ "error_message": null,
10
+ "composedOn": 1380187729272
11
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "result": {
3
+ "content": "test"
4
+ },
5
+ "status": "Ok",
6
+ "error_message": null,
7
+ "composedOn": 1380180718328
8
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "result": {
3
+ "doc_guid": null,
4
+ "file_id": null,
5
+ "edit_url": null
6
+ },
7
+ "status": "Failed",
8
+ "error_message": "Google Drive integration is not completed.",
9
+ "composedOn": 1380117251956
10
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "result": {
3
+ "doc_version": 0
4
+ },
5
+ "status": "Failed",
6
+ "error_message": "Google Drive integration is not completed.",
7
+ "composedOn": 1380177212042
8
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "result":
3
+ {
4
+ "url":
5
+ [
6
+ "https://api.groupdocs.com/v2.0/doc/b912b34d1621a895/files/fbc533350e533b27b4ab4571be3a157cad90bfd30d01ad9027b6426d16b2ad70/pages/0/htmlRepresentations?expires=1380116923494.24&signature=0TbockLSnFAYtO855MGSwFG1x2c",
7
+ "https://api.groupdocs.com/v2.0/doc/b912b34d1621a895/files/fbc533350e533b27b4ab4571be3a157cad90bfd30d01ad9027b6426d16b2ad70/pages/1/htmlRepresentations?expires=1380116923494.24&signature=9%2BBidbiaHbFMZXPqfDqTJCqnoi8",
8
+ "https://api.groupdocs.com/v2.0/doc/b912b34d1621a895/files/fbc533350e533b27b4ab4571be3a157cad90bfd30d01ad9027b6426d16b2ad70/pages/2/htmlRepresentations?expires=1380116923494.24&signature=x4pq2ISFwZg%2BE1HLwWzb1VQnBqw",
9
+ "https://api.groupdocs.com/v2.0/doc/b912b34d1621a895/files/fbc533350e533b27b4ab4571be3a157cad90bfd30d01ad9027b6426d16b2ad70/pages/3/htmlRepresentations?expires=1380116923494.24&signature=%2FW2E1uTuMDLkJrcbuNpq6bN6gxk"
10
+ ]
11
+ },
12
+ "status": "Ok",
13
+ "error_message": null
14
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "result": {
3
+ "name": null,
4
+ "version": null,
5
+ "size": 0,
6
+ "type": "Cells",
7
+ "type_str": "Cells",
8
+ "file_type_str": "Doc",
9
+ "document_path": null,
10
+ "access": "Private",
11
+ "url": null,
12
+ "file_type": "Doc",
13
+ "id": 257768,
14
+ "guid": null
15
+ },
16
+ "status": "Ok",
17
+ "error_message": null,
18
+ "composedOn": 1380091834802
19
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "result":{
3
+ "name": "test.doc",
4
+ "version": 10,
5
+ "page_count": 1,
6
+ "page_size": {
7
+ "Width": 0,
8
+ "Height": 0
9
+ },
10
+ "url": "https://api.groupdocs.com/v2.0/123",
11
+ "doc_type": "Words",
12
+ "image_urls": [
13
+ "https://api.groupdocs.com/v2.0/123"
14
+ ],
15
+ "token": "2e953f",
16
+ "pageHtml": "test",
17
+ "pageCss": "div { position: absolute; }\r\nspan { position: absolute; white-space: nowrap; color: #000000; font-size: 12pt; }\r\nimg { position: absolute; }\r\n.page { position: relative;border: solid 1pt black;margin: 10pt auto 10pt auto; overflow: hidden; }\r\n.text1 { font-family: Times New Roman;font-style: normal;font-weight: bold; }\r\n.text2 { font-family: Times New Roman;font-style: normal;font-weight: normal; }",
18
+ "password": null,
19
+ "id": 23250,
20
+ "guid": "022b7dffecbccbda7e81227f95a415f57253e606f5090f4c60b0d6b12c0d824c"
21
+ },
22
+ "status": "Ok",
23
+ "error_message": null,
24
+ "composedOn": 1361789232972
25
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "result":
3
+ {
4
+ "count": "123",
5
+ "documents":
6
+ [
7
+ {
8
+ "document":
9
+ {
10
+ "url": "http://groupdocs.com",
11
+ "name": "test.pdf",
12
+ "id": 1,
13
+ "guid": null
14
+ },
15
+ "short_url": "http://groupdocs.com",
16
+ "viewed_on": 1330178915757
17
+ },
18
+ {
19
+ "document":
20
+ {
21
+ "url": "http://groupdocs.com",
22
+ "name": "test.doc",
23
+ "id": 2,
24
+ "guid": null
25
+ },
26
+ "short_url": "http://groupdocs.com",
27
+ "viewed_on": 1331022248680
28
+ }
29
+ ]
30
+ },
31
+ "status": "Ok",
32
+ "error_message": null
@@ -0,0 +1,9 @@
1
+ {
2
+ "result": {
3
+ "document_id": 257768,
4
+ "tags": []
5
+ },
6
+ "status": "Ok",
7
+ "error_message": null,
8
+ "composedOn": 1380178803947
9
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "result": {
3
+ "document_id": 257768
4
+ },
5
+ "status": "Ok",
6
+ "error_message": null,
7
+ "composedOn": 1380178803947
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "result": {
3
+ "document_id": 257768
4
+ },
5
+ "status": "Ok",
6
+ "error_message": null,
7
+ "composedOn": 1380178803947
8
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "result": {
3
+ "doc_info": "DocumentInfo",
4
+ "owner_id": null,
5
+ "user_id": 0,
6
+ "user_status": "Cells"
7
+
8
+ },
9
+ "status": "Ok",
10
+ "error_message": null,
11
+ "composedOn": 1380091834802
12
+ }
@@ -1,40 +1,108 @@
1
1
  {
2
- "result":
3
- {
4
- "job_status": "Archived",
5
- "inputs":
6
- [
7
- {
8
- "status": "InProgress",
9
- "output_formats": "pdf",
10
- "outputs":
11
- [
2
+ "result": {
3
+ "count": 604,
4
+ "entries": [
12
5
  {
13
- "ftype": 19,
14
- "error": null,
15
- "url": "http://groupdocs.com",
16
- "name": "Test.pdf"
17
- }
18
- ],
19
- "id": 123
20
- },
21
- {
22
- "status": "Scheduled",
23
- "output_formats": "tiff",
24
- "outputs":
25
- [
6
+ "inputs": [
7
+ {
8
+ "status": "Processed",
9
+ "proc_date": 1364978283767,
10
+ "output_formats": "jpg",
11
+ "outputs": [
12
+ {
13
+ "error": null,
14
+ "name": null,
15
+ "version": null,
16
+ "size": 0,
17
+ "type": "Cells",
18
+ "type_str": "Cells",
19
+ "file_type_str": "Jpg",
20
+ "document_path": null,
21
+ "access": "Private",
22
+ "url": null,
23
+ "file_type": "Jpg",
24
+ "id": 0,
25
+ "guid": null
26
+ }
27
+ ],
28
+ "job_errors": [
29
+ {
30
+ "job_id": 17205,
31
+ "original_document_id": 60804,
32
+ "error_code": -1,
33
+ "expected_format": "xml"
34
+ }
35
+ ],
36
+ "actions": "View",
37
+ "supported_output_file_types": null,
38
+ "name": "GroupDocs_Signature_Demo.pdf",
39
+ "version": 9,
40
+ "size": 1132663,
41
+ "type": "Pdf",
42
+ "type_str": "Pdf",
43
+ "file_type_str": "Pdf",
44
+ "document_path": "samples/signature\\GroupDocs_Signature_Demo.pdf",
45
+ "access": "Private",
46
+ "url": "https://api.groupdocs.com/v2.0/shared/files/7bddf6878cde223426abf285c7d7d320bbcb476d3fcc9778049daea044322038",
47
+ "file_type": "Pdf",
48
+ "id": 60804,
49
+ "guid": "7bddf6878cde223426abf285c7d7d320bbcb476d3fcc9778049daea044322038"
50
+ }
51
+ ],
52
+ "outputs": null
53
+ },
26
54
  {
27
- "ftype": 15,
28
- "error": null,
29
- "url": "http://groupdocs.com",
30
- "name": "CV.doc"
55
+ "inputs": [
56
+ {
57
+ "status": "Processed",
58
+ "proc_date": 1364994080143,
59
+ "output_formats": "jpg",
60
+ "outputs": [
61
+ {
62
+ "error": null,
63
+ "name": null,
64
+ "version": null,
65
+ "size": 0,
66
+ "type": "Cells",
67
+ "type_str": "Cells",
68
+ "file_type_str": "Jpg",
69
+ "document_path": null,
70
+ "access": "Private",
71
+ "url": null,
72
+ "file_type": "Jpg",
73
+ "id": 0,
74
+ "guid": null
75
+ }
76
+ ],
77
+ "job_errors": [
78
+ {
79
+ "job_id": 17266,
80
+ "original_document_id": 60804,
81
+ "error_code": -1,
82
+ "expected_format": "xml"
83
+ }
84
+ ],
85
+ "actions": "View",
86
+ "supported_output_file_types": null,
87
+ "name": "GroupDocs_Signature_Demo.pdf",
88
+ "version": 9,
89
+ "size": 1132663,
90
+ "type": "Pdf",
91
+ "type_str": "Pdf",
92
+ "file_type_str": "Pdf",
93
+ "document_path": "samples/signature\\GroupDocs_Signature_Demo.pdf",
94
+ "access": "Private",
95
+ "url": "https://api.groupdocs.com/v2.0/shared/files/7bddf6878cde223426abf285c7d7d320bbcb476d3fcc9778049daea044322038",
96
+ "file_type": "Pdf",
97
+ "id": 60804,
98
+ "guid": "7bddf6878cde223426abf285c7d7d320bbcb476d3fcc9778049daea044322038"
99
+ }
100
+ ],
101
+ "outputs": null
31
102
  }
32
- ],
33
- "id": 345
34
- }
35
- ],
36
- "outputs": null
103
+ ]
37
104
  },
38
- "status": "Ok",
39
- "error_message": null
40
- }
105
+ "status": "Ok",
106
+ "error_message": null,
107
+ "composedOn": 1380265154451
108
+ }