appwrite 16.1.0 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/appwrite/client.rb +2 -2
  3. data/lib/appwrite/models/column_boolean.rb +67 -0
  4. data/lib/appwrite/models/column_datetime.rb +72 -0
  5. data/lib/appwrite/models/column_email.rb +72 -0
  6. data/lib/appwrite/models/column_enum.rb +77 -0
  7. data/lib/appwrite/models/column_float.rb +77 -0
  8. data/lib/appwrite/models/column_index.rb +72 -0
  9. data/lib/appwrite/models/column_index_list.rb +32 -0
  10. data/lib/appwrite/models/column_integer.rb +77 -0
  11. data/lib/appwrite/models/column_ip.rb +72 -0
  12. data/lib/appwrite/models/column_list.rb +32 -0
  13. data/lib/appwrite/models/column_relationship.rb +92 -0
  14. data/lib/appwrite/models/column_string.rb +77 -0
  15. data/lib/appwrite/models/column_url.rb +72 -0
  16. data/lib/appwrite/models/database.rb +8 -3
  17. data/lib/appwrite/models/execution.rb +5 -0
  18. data/lib/appwrite/models/index.rb +18 -13
  19. data/lib/appwrite/models/row.rb +66 -0
  20. data/lib/appwrite/models/row_list.rb +36 -0
  21. data/lib/appwrite/models/table.rb +72 -0
  22. data/lib/appwrite/models/table_list.rb +32 -0
  23. data/lib/appwrite/query.rb +36 -0
  24. data/lib/appwrite/services/account.rb +15 -48
  25. data/lib/appwrite/services/avatars.rb +0 -7
  26. data/lib/appwrite/services/databases.rb +198 -120
  27. data/lib/appwrite/services/functions.rb +0 -26
  28. data/lib/appwrite/services/graphql.rb +0 -2
  29. data/lib/appwrite/services/health.rb +0 -22
  30. data/lib/appwrite/services/locale.rb +0 -8
  31. data/lib/appwrite/services/messaging.rb +0 -46
  32. data/lib/appwrite/services/sites.rb +0 -25
  33. data/lib/appwrite/services/storage.rb +0 -13
  34. data/lib/appwrite/services/tables_db.rb +2318 -0
  35. data/lib/appwrite/services/teams.rb +0 -13
  36. data/lib/appwrite/services/tokens.rb +0 -5
  37. data/lib/appwrite/services/users.rb +0 -42
  38. data/lib/appwrite.rb +18 -0
  39. metadata +20 -2
@@ -33,7 +33,6 @@ module Appwrite
33
33
  )
34
34
  end
35
35
 
36
-
37
36
  # Create a new email message.
38
37
  #
39
38
  # @param [String] message_id Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
@@ -93,7 +92,6 @@ module Appwrite
93
92
  )
94
93
  end
95
94
 
96
-
97
95
  # Update an email message by its unique ID. This endpoint only works on
98
96
  # messages that are in draft status. Messages that are already processing,
99
97
  # sent, or failed cannot be updated.
@@ -148,7 +146,6 @@ module Appwrite
148
146
  )
149
147
  end
150
148
 
151
-
152
149
  # Create a new push notification.
153
150
  #
154
151
  # @param [String] message_id Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
@@ -214,7 +211,6 @@ module Appwrite
214
211
  )
215
212
  end
216
213
 
217
-
218
214
  # Update a push notification by its unique ID. This endpoint only works on
219
215
  # messages that are in draft status. Messages that are already processing,
220
216
  # sent, or failed cannot be updated.
@@ -283,7 +279,6 @@ module Appwrite
283
279
  )
284
280
  end
285
281
 
286
-
287
282
  # Create a new SMS message.
288
283
  #
289
284
  # @param [String] message_id Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
@@ -329,7 +324,6 @@ module Appwrite
329
324
  )
330
325
  end
331
326
 
332
-
333
327
  # Update an SMS message by its unique ID. This endpoint only works on
334
328
  # messages that are in draft status. Messages that are already processing,
335
329
  # sent, or failed cannot be updated.
@@ -374,7 +368,6 @@ module Appwrite
374
368
  )
375
369
  end
376
370
 
377
-
378
371
  # Get a message by its unique ID.
379
372
  #
380
373
  #
@@ -404,7 +397,6 @@ module Appwrite
404
397
  )
405
398
  end
406
399
 
407
-
408
400
  # Delete a message. If the message is not a draft or scheduled, but has been
409
401
  # sent, this will not recall the message.
410
402
  #
@@ -434,7 +426,6 @@ module Appwrite
434
426
  )
435
427
  end
436
428
 
437
-
438
429
  # Get the message activity logs listed by its unique ID.
439
430
  #
440
431
  # @param [String] message_id Message ID.
@@ -465,7 +456,6 @@ module Appwrite
465
456
  )
466
457
  end
467
458
 
468
-
469
459
  # Get a list of the targets associated with a message.
470
460
  #
471
461
  # @param [String] message_id Message ID.
@@ -496,7 +486,6 @@ module Appwrite
496
486
  )
497
487
  end
498
488
 
499
-
500
489
  # Get a list of all providers from the current Appwrite project.
501
490
  #
502
491
  # @param [Array] queries Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled
@@ -523,7 +512,6 @@ module Appwrite
523
512
  )
524
513
  end
525
514
 
526
-
527
515
  # Create a new Apple Push Notification service provider.
528
516
  #
529
517
  # @param [String] provider_id Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
@@ -571,7 +559,6 @@ module Appwrite
571
559
  )
572
560
  end
573
561
 
574
-
575
562
  # Update a Apple Push Notification service provider by its unique ID.
576
563
  #
577
564
  # @param [String] provider_id Provider ID.
@@ -615,7 +602,6 @@ module Appwrite
615
602
  )
616
603
  end
617
604
 
618
-
619
605
  # Create a new Firebase Cloud Messaging provider.
620
606
  #
621
607
  # @param [String] provider_id Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
@@ -655,7 +641,6 @@ module Appwrite
655
641
  )
656
642
  end
657
643
 
658
-
659
644
  # Update a Firebase Cloud Messaging provider by its unique ID.
660
645
  #
661
646
  # @param [String] provider_id Provider ID.
@@ -691,7 +676,6 @@ module Appwrite
691
676
  )
692
677
  end
693
678
 
694
-
695
679
  # Create a new Mailgun provider.
696
680
  #
697
681
  # @param [String] provider_id Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
@@ -743,7 +727,6 @@ module Appwrite
743
727
  )
744
728
  end
745
729
 
746
-
747
730
  # Update a Mailgun provider by its unique ID.
748
731
  #
749
732
  # @param [String] provider_id Provider ID.
@@ -791,7 +774,6 @@ module Appwrite
791
774
  )
792
775
  end
793
776
 
794
-
795
777
  # Create a new MSG91 provider.
796
778
  #
797
779
  # @param [String] provider_id Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
@@ -835,7 +817,6 @@ module Appwrite
835
817
  )
836
818
  end
837
819
 
838
-
839
820
  # Update a MSG91 provider by its unique ID.
840
821
  #
841
822
  # @param [String] provider_id Provider ID.
@@ -875,7 +856,6 @@ module Appwrite
875
856
  )
876
857
  end
877
858
 
878
-
879
859
  # Create a new Sendgrid provider.
880
860
  #
881
861
  # @param [String] provider_id Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
@@ -923,7 +903,6 @@ module Appwrite
923
903
  )
924
904
  end
925
905
 
926
-
927
906
  # Update a Sendgrid provider by its unique ID.
928
907
  #
929
908
  # @param [String] provider_id Provider ID.
@@ -967,7 +946,6 @@ module Appwrite
967
946
  )
968
947
  end
969
948
 
970
-
971
949
  # Create a new SMTP provider.
972
950
  #
973
951
  # @param [String] provider_id Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
@@ -1031,7 +1009,6 @@ module Appwrite
1031
1009
  )
1032
1010
  end
1033
1011
 
1034
-
1035
1012
  # Update a SMTP provider by its unique ID.
1036
1013
  #
1037
1014
  # @param [String] provider_id Provider ID.
@@ -1087,7 +1064,6 @@ module Appwrite
1087
1064
  )
1088
1065
  end
1089
1066
 
1090
-
1091
1067
  # Create a new Telesign provider.
1092
1068
  #
1093
1069
  # @param [String] provider_id Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
@@ -1131,7 +1107,6 @@ module Appwrite
1131
1107
  )
1132
1108
  end
1133
1109
 
1134
-
1135
1110
  # Update a Telesign provider by its unique ID.
1136
1111
  #
1137
1112
  # @param [String] provider_id Provider ID.
@@ -1171,7 +1146,6 @@ module Appwrite
1171
1146
  )
1172
1147
  end
1173
1148
 
1174
-
1175
1149
  # Create a new Textmagic provider.
1176
1150
  #
1177
1151
  # @param [String] provider_id Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
@@ -1215,7 +1189,6 @@ module Appwrite
1215
1189
  )
1216
1190
  end
1217
1191
 
1218
-
1219
1192
  # Update a Textmagic provider by its unique ID.
1220
1193
  #
1221
1194
  # @param [String] provider_id Provider ID.
@@ -1255,7 +1228,6 @@ module Appwrite
1255
1228
  )
1256
1229
  end
1257
1230
 
1258
-
1259
1231
  # Create a new Twilio provider.
1260
1232
  #
1261
1233
  # @param [String] provider_id Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
@@ -1299,7 +1271,6 @@ module Appwrite
1299
1271
  )
1300
1272
  end
1301
1273
 
1302
-
1303
1274
  # Update a Twilio provider by its unique ID.
1304
1275
  #
1305
1276
  # @param [String] provider_id Provider ID.
@@ -1339,7 +1310,6 @@ module Appwrite
1339
1310
  )
1340
1311
  end
1341
1312
 
1342
-
1343
1313
  # Create a new Vonage provider.
1344
1314
  #
1345
1315
  # @param [String] provider_id Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
@@ -1383,7 +1353,6 @@ module Appwrite
1383
1353
  )
1384
1354
  end
1385
1355
 
1386
-
1387
1356
  # Update a Vonage provider by its unique ID.
1388
1357
  #
1389
1358
  # @param [String] provider_id Provider ID.
@@ -1423,7 +1392,6 @@ module Appwrite
1423
1392
  )
1424
1393
  end
1425
1394
 
1426
-
1427
1395
  # Get a provider by its unique ID.
1428
1396
  #
1429
1397
  #
@@ -1453,7 +1421,6 @@ module Appwrite
1453
1421
  )
1454
1422
  end
1455
1423
 
1456
-
1457
1424
  # Delete a provider by its unique ID.
1458
1425
  #
1459
1426
  # @param [String] provider_id Provider ID.
@@ -1482,7 +1449,6 @@ module Appwrite
1482
1449
  )
1483
1450
  end
1484
1451
 
1485
-
1486
1452
  # Get the provider activity logs listed by its unique ID.
1487
1453
  #
1488
1454
  # @param [String] provider_id Provider ID.
@@ -1513,7 +1479,6 @@ module Appwrite
1513
1479
  )
1514
1480
  end
1515
1481
 
1516
-
1517
1482
  # Get the subscriber activity logs listed by its unique ID.
1518
1483
  #
1519
1484
  # @param [String] subscriber_id Subscriber ID.
@@ -1544,7 +1509,6 @@ module Appwrite
1544
1509
  )
1545
1510
  end
1546
1511
 
1547
-
1548
1512
  # Get a list of all topics from the current Appwrite project.
1549
1513
  #
1550
1514
  # @param [Array] queries Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, description, emailTotal, smsTotal, pushTotal
@@ -1571,7 +1535,6 @@ module Appwrite
1571
1535
  )
1572
1536
  end
1573
1537
 
1574
-
1575
1538
  # Create a new topic.
1576
1539
  #
1577
1540
  # @param [String] topic_id Topic ID. Choose a custom Topic ID or a new Topic ID.
@@ -1609,7 +1572,6 @@ module Appwrite
1609
1572
  )
1610
1573
  end
1611
1574
 
1612
-
1613
1575
  # Get a topic by its unique ID.
1614
1576
  #
1615
1577
  #
@@ -1639,7 +1601,6 @@ module Appwrite
1639
1601
  )
1640
1602
  end
1641
1603
 
1642
-
1643
1604
  # Update a topic by its unique ID.
1644
1605
  #
1645
1606
  #
@@ -1674,7 +1635,6 @@ module Appwrite
1674
1635
  )
1675
1636
  end
1676
1637
 
1677
-
1678
1638
  # Delete a topic by its unique ID.
1679
1639
  #
1680
1640
  # @param [String] topic_id Topic ID.
@@ -1703,7 +1663,6 @@ module Appwrite
1703
1663
  )
1704
1664
  end
1705
1665
 
1706
-
1707
1666
  # Get the topic activity logs listed by its unique ID.
1708
1667
  #
1709
1668
  # @param [String] topic_id Topic ID.
@@ -1734,7 +1693,6 @@ module Appwrite
1734
1693
  )
1735
1694
  end
1736
1695
 
1737
-
1738
1696
  # Get a list of all subscribers from the current Appwrite project.
1739
1697
  #
1740
1698
  # @param [String] topic_id Topic ID. The topic ID subscribed to.
@@ -1767,7 +1725,6 @@ module Appwrite
1767
1725
  )
1768
1726
  end
1769
1727
 
1770
-
1771
1728
  # Create a new subscriber.
1772
1729
  #
1773
1730
  # @param [String] topic_id Topic ID. The topic ID to subscribe to.
@@ -1809,7 +1766,6 @@ module Appwrite
1809
1766
  )
1810
1767
  end
1811
1768
 
1812
-
1813
1769
  # Get a subscriber by its unique ID.
1814
1770
  #
1815
1771
  #
@@ -1845,7 +1801,6 @@ module Appwrite
1845
1801
  )
1846
1802
  end
1847
1803
 
1848
-
1849
1804
  # Delete a subscriber by its unique ID.
1850
1805
  #
1851
1806
  # @param [String] topic_id Topic ID. The topic ID subscribed to.
@@ -1880,6 +1835,5 @@ module Appwrite
1880
1835
  )
1881
1836
  end
1882
1837
 
1883
-
1884
1838
  end
1885
1839
  end
@@ -34,7 +34,6 @@ module Appwrite
34
34
  )
35
35
  end
36
36
 
37
-
38
37
  # Create a new site.
39
38
  #
40
39
  # @param [String] site_id Site ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
@@ -110,7 +109,6 @@ module Appwrite
110
109
  )
111
110
  end
112
111
 
113
-
114
112
  # Get a list of all frameworks that are currently available on the server
115
113
  # instance.
116
114
  #
@@ -134,7 +132,6 @@ module Appwrite
134
132
  )
135
133
  end
136
134
 
137
-
138
135
  # List allowed site specifications for this instance.
139
136
  #
140
137
  #
@@ -157,7 +154,6 @@ module Appwrite
157
154
  )
158
155
  end
159
156
 
160
-
161
157
  # Get a site by its unique ID.
162
158
  #
163
159
  # @param [String] site_id Site ID.
@@ -186,7 +182,6 @@ module Appwrite
186
182
  )
187
183
  end
188
184
 
189
-
190
185
  # Update site by its unique ID.
191
186
  #
192
187
  # @param [String] site_id Site ID.
@@ -258,7 +253,6 @@ module Appwrite
258
253
  )
259
254
  end
260
255
 
261
-
262
256
  # Delete a site by its unique ID.
263
257
  #
264
258
  # @param [String] site_id Site ID.
@@ -287,7 +281,6 @@ module Appwrite
287
281
  )
288
282
  end
289
283
 
290
-
291
284
  # Update the site active deployment. Use this endpoint to switch the code
292
285
  # deployment that should be used when visitor opens your site.
293
286
  #
@@ -324,7 +317,6 @@ module Appwrite
324
317
  )
325
318
  end
326
319
 
327
-
328
320
  # Get a list of all the site's code deployments. You can use the query params
329
321
  # to filter your results.
330
322
  #
@@ -358,7 +350,6 @@ module Appwrite
358
350
  )
359
351
  end
360
352
 
361
-
362
353
  # Create a new site code deployment. Use this endpoint to upload a new
363
354
  # version of your site code. To activate your newly uploaded code, you'll
364
355
  # need to update the function's deployment to use your new deployment ID.
@@ -413,7 +404,6 @@ module Appwrite
413
404
  )
414
405
  end
415
406
 
416
-
417
407
  # Create a new build for an existing site deployment. This endpoint allows
418
408
  # you to rebuild a deployment with the updated site configuration, including
419
409
  # its commands and output directory if they have been modified. The build
@@ -453,7 +443,6 @@ module Appwrite
453
443
  )
454
444
  end
455
445
 
456
-
457
446
  # Create a deployment based on a template.
458
447
  #
459
448
  # Use this endpoint with combination of
@@ -513,7 +502,6 @@ module Appwrite
513
502
  )
514
503
  end
515
504
 
516
-
517
505
  # Create a deployment when a site is connected to VCS.
518
506
  #
519
507
  # This endpoint lets you create deployment from a branch, commit, or a tag.
@@ -559,7 +547,6 @@ module Appwrite
559
547
  )
560
548
  end
561
549
 
562
-
563
550
  # Get a site deployment by its unique ID.
564
551
  #
565
552
  # @param [String] site_id Site ID.
@@ -594,7 +581,6 @@ module Appwrite
594
581
  )
595
582
  end
596
583
 
597
-
598
584
  # Delete a site deployment by its unique ID.
599
585
  #
600
586
  # @param [String] site_id Site ID.
@@ -629,7 +615,6 @@ module Appwrite
629
615
  )
630
616
  end
631
617
 
632
-
633
618
  # Get a site deployment content by its unique ID. The endpoint response
634
619
  # return with a 'Content-Disposition: attachment' header that tells the
635
620
  # browser to start downloading the file to user downloads directory.
@@ -667,7 +652,6 @@ module Appwrite
667
652
  )
668
653
  end
669
654
 
670
-
671
655
  # Cancel an ongoing site deployment build. If the build is already in
672
656
  # progress, it will be stopped and marked as canceled. If the build hasn't
673
657
  # started yet, it will be marked as canceled without executing. You cannot
@@ -707,7 +691,6 @@ module Appwrite
707
691
  )
708
692
  end
709
693
 
710
-
711
694
  # Get a list of all site logs. You can use the query params to filter your
712
695
  # results.
713
696
  #
@@ -739,7 +722,6 @@ module Appwrite
739
722
  )
740
723
  end
741
724
 
742
-
743
725
  # Get a site request log by its unique ID.
744
726
  #
745
727
  # @param [String] site_id Site ID.
@@ -774,7 +756,6 @@ module Appwrite
774
756
  )
775
757
  end
776
758
 
777
-
778
759
  # Delete a site log by its unique ID.
779
760
  #
780
761
  # @param [String] site_id Site ID.
@@ -809,7 +790,6 @@ module Appwrite
809
790
  )
810
791
  end
811
792
 
812
-
813
793
  # Get a list of all variables of a specific site.
814
794
  #
815
795
  # @param [String] site_id Site unique ID.
@@ -838,7 +818,6 @@ module Appwrite
838
818
  )
839
819
  end
840
820
 
841
-
842
821
  # Create a new site variable. These variables can be accessed during build
843
822
  # and runtime (server-side rendering) as environment variables.
844
823
  #
@@ -883,7 +862,6 @@ module Appwrite
883
862
  )
884
863
  end
885
864
 
886
-
887
865
  # Get a variable by its unique ID.
888
866
  #
889
867
  # @param [String] site_id Site unique ID.
@@ -918,7 +896,6 @@ module Appwrite
918
896
  )
919
897
  end
920
898
 
921
-
922
899
  # Update variable by its unique ID.
923
900
  #
924
901
  # @param [String] site_id Site unique ID.
@@ -964,7 +941,6 @@ module Appwrite
964
941
  )
965
942
  end
966
943
 
967
-
968
944
  # Delete a variable by its unique ID.
969
945
  #
970
946
  # @param [String] site_id Site unique ID.
@@ -999,6 +975,5 @@ module Appwrite
999
975
  )
1000
976
  end
1001
977
 
1002
-
1003
978
  end
1004
979
  end
@@ -34,7 +34,6 @@ module Appwrite
34
34
  )
35
35
  end
36
36
 
37
-
38
37
  # Create a new storage bucket.
39
38
  #
40
39
  # @param [String] bucket_id Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
@@ -86,7 +85,6 @@ module Appwrite
86
85
  )
87
86
  end
88
87
 
89
-
90
88
  # Get a storage bucket by its unique ID. This endpoint response returns a
91
89
  # JSON object with the storage bucket metadata.
92
90
  #
@@ -116,7 +114,6 @@ module Appwrite
116
114
  )
117
115
  end
118
116
 
119
-
120
117
  # Update a storage bucket by its unique ID.
121
118
  #
122
119
  # @param [String] bucket_id Bucket unique ID.
@@ -168,7 +165,6 @@ module Appwrite
168
165
  )
169
166
  end
170
167
 
171
-
172
168
  # Delete a storage bucket by its unique ID.
173
169
  #
174
170
  # @param [String] bucket_id Bucket unique ID.
@@ -197,7 +193,6 @@ module Appwrite
197
193
  )
198
194
  end
199
195
 
200
-
201
196
  # Get a list of all the user files. You can use the query params to filter
202
197
  # your results.
203
198
  #
@@ -231,7 +226,6 @@ module Appwrite
231
226
  )
232
227
  end
233
228
 
234
-
235
229
  # Create a new file. Before using this route, you should create a new bucket
236
230
  # resource using either a [server
237
231
  # integration](https://appwrite.io/docs/server/storage#storageCreateBucket)
@@ -297,7 +291,6 @@ module Appwrite
297
291
  )
298
292
  end
299
293
 
300
-
301
294
  # Get a file by its unique ID. This endpoint response returns a JSON object
302
295
  # with the file metadata.
303
296
  #
@@ -333,7 +326,6 @@ module Appwrite
333
326
  )
334
327
  end
335
328
 
336
-
337
329
  # Update a file by its unique ID. Only users with write permissions have
338
330
  # access to update this resource.
339
331
  #
@@ -374,7 +366,6 @@ module Appwrite
374
366
  )
375
367
  end
376
368
 
377
-
378
369
  # Delete a file by its unique ID. Only users with write permissions have
379
370
  # access to delete this resource.
380
371
  #
@@ -410,7 +401,6 @@ module Appwrite
410
401
  )
411
402
  end
412
403
 
413
-
414
404
  # Get a file content by its unique ID. The endpoint response return with a
415
405
  # 'Content-Disposition: attachment' header that tells the browser to start
416
406
  # downloading the file to user downloads directory.
@@ -448,7 +438,6 @@ module Appwrite
448
438
  )
449
439
  end
450
440
 
451
-
452
441
  # Get a file preview image. Currently, this method supports preview for image
453
442
  # files (jpg, png, and gif), other supported formats, like pdf, docs, slides,
454
443
  # and spreadsheets, will return the file icon image. You can also pass query
@@ -510,7 +499,6 @@ module Appwrite
510
499
  )
511
500
  end
512
501
 
513
-
514
502
  # Get a file content by its unique ID. This endpoint is similar to the
515
503
  # download method but returns with no 'Content-Disposition: attachment'
516
504
  # header.
@@ -548,6 +536,5 @@ module Appwrite
548
536
  )
549
537
  end
550
538
 
551
-
552
539
  end
553
540
  end