appwrite 11.0.2 → 13.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.
Potentially problematic release.
This version of appwrite might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/appwrite/client.rb +54 -76
- data/lib/appwrite/enums/image_format.rb +1 -0
- data/lib/appwrite/enums/name.rb +1 -2
- data/lib/appwrite/enums/runtime.rb +4 -0
- data/lib/appwrite/models/attribute_boolean.rb +10 -0
- data/lib/appwrite/models/attribute_datetime.rb +10 -0
- data/lib/appwrite/models/attribute_email.rb +10 -0
- data/lib/appwrite/models/attribute_enum.rb +10 -0
- data/lib/appwrite/models/attribute_float.rb +10 -0
- data/lib/appwrite/models/attribute_integer.rb +10 -0
- data/lib/appwrite/models/attribute_ip.rb +10 -0
- data/lib/appwrite/models/attribute_relationship.rb +10 -0
- data/lib/appwrite/models/attribute_string.rb +10 -0
- data/lib/appwrite/models/attribute_url.rb +10 -0
- data/lib/appwrite/models/build.rb +67 -0
- data/lib/appwrite/models/deployment.rb +5 -0
- data/lib/appwrite/models/document.rb +4 -9
- data/lib/appwrite/models/document_list.rb +1 -2
- data/lib/appwrite/models/execution.rb +8 -3
- data/lib/appwrite/models/function.rb +13 -3
- data/lib/appwrite/models/index.rb +13 -3
- data/lib/appwrite/models/preferences.rb +4 -9
- data/lib/appwrite/models/runtime.rb +5 -0
- data/lib/appwrite/models/specification.rb +42 -0
- data/lib/appwrite/models/specification_list.rb +32 -0
- data/lib/appwrite/multipart.rb +127 -0
- data/lib/appwrite/payload.rb +94 -0
- data/lib/appwrite/services/account.rb +52 -58
- data/lib/appwrite/services/avatars.rb +23 -21
- data/lib/appwrite/services/databases.rb +136 -114
- data/lib/appwrite/services/functions.rb +174 -72
- data/lib/appwrite/services/graphql.rb +2 -2
- data/lib/appwrite/services/health.rb +15 -15
- data/lib/appwrite/services/messaging.rb +225 -225
- data/lib/appwrite/services/storage.rb +40 -40
- data/lib/appwrite/services/teams.rb +19 -19
- data/lib/appwrite/services/users.rb +104 -68
- data/lib/appwrite.rb +5 -1
- metadata +7 -3
- data/lib/appwrite/input_file.rb +0 -33
@@ -18,8 +18,8 @@ module Appwrite
|
|
18
18
|
api_path = '/databases'
|
19
19
|
|
20
20
|
api_params = {
|
21
|
-
|
22
|
-
|
21
|
+
queries: queries,
|
22
|
+
search: search,
|
23
23
|
}
|
24
24
|
|
25
25
|
api_headers = {
|
@@ -56,9 +56,9 @@ module Appwrite
|
|
56
56
|
end
|
57
57
|
|
58
58
|
api_params = {
|
59
|
-
|
60
|
-
|
61
|
-
|
59
|
+
databaseId: database_id,
|
60
|
+
name: name,
|
61
|
+
enabled: enabled,
|
62
62
|
}
|
63
63
|
|
64
64
|
api_headers = {
|
@@ -126,8 +126,8 @@ module Appwrite
|
|
126
126
|
end
|
127
127
|
|
128
128
|
api_params = {
|
129
|
-
|
130
|
-
|
129
|
+
name: name,
|
130
|
+
enabled: enabled,
|
131
131
|
}
|
132
132
|
|
133
133
|
api_headers = {
|
@@ -191,8 +191,8 @@ module Appwrite
|
|
191
191
|
end
|
192
192
|
|
193
193
|
api_params = {
|
194
|
-
|
195
|
-
|
194
|
+
queries: queries,
|
195
|
+
search: search,
|
196
196
|
}
|
197
197
|
|
198
198
|
api_headers = {
|
@@ -239,11 +239,11 @@ module Appwrite
|
|
239
239
|
end
|
240
240
|
|
241
241
|
api_params = {
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
242
|
+
collectionId: collection_id,
|
243
|
+
name: name,
|
244
|
+
permissions: permissions,
|
245
|
+
documentSecurity: document_security,
|
246
|
+
enabled: enabled,
|
247
247
|
}
|
248
248
|
|
249
249
|
api_headers = {
|
@@ -325,10 +325,10 @@ module Appwrite
|
|
325
325
|
end
|
326
326
|
|
327
327
|
api_params = {
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
328
|
+
name: name,
|
329
|
+
permissions: permissions,
|
330
|
+
documentSecurity: document_security,
|
331
|
+
enabled: enabled,
|
332
332
|
}
|
333
333
|
|
334
334
|
api_headers = {
|
@@ -402,7 +402,7 @@ module Appwrite
|
|
402
402
|
end
|
403
403
|
|
404
404
|
api_params = {
|
405
|
-
|
405
|
+
queries: queries,
|
406
406
|
}
|
407
407
|
|
408
408
|
api_headers = {
|
@@ -452,10 +452,10 @@ module Appwrite
|
|
452
452
|
end
|
453
453
|
|
454
454
|
api_params = {
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
455
|
+
key: key,
|
456
|
+
required: required,
|
457
|
+
default: default,
|
458
|
+
array: array,
|
459
459
|
}
|
460
460
|
|
461
461
|
api_headers = {
|
@@ -480,9 +480,10 @@ module Appwrite
|
|
480
480
|
# @param [String] key Attribute Key.
|
481
481
|
# @param [] required Is attribute required?
|
482
482
|
# @param [] default Default value for attribute when not provided. Cannot be set when attribute is required.
|
483
|
+
# @param [String] new_key New attribute key.
|
483
484
|
#
|
484
485
|
# @return [AttributeBoolean]
|
485
|
-
def update_boolean_attribute(database_id:, collection_id:, key:, required:, default:)
|
486
|
+
def update_boolean_attribute(database_id:, collection_id:, key:, required:, default:, new_key: nil)
|
486
487
|
api_path = '/databases/{databaseId}/collections/{collectionId}/attributes/boolean/{key}'
|
487
488
|
.gsub('{databaseId}', database_id)
|
488
489
|
.gsub('{collectionId}', collection_id)
|
@@ -509,8 +510,9 @@ module Appwrite
|
|
509
510
|
end
|
510
511
|
|
511
512
|
api_params = {
|
512
|
-
|
513
|
-
|
513
|
+
required: required,
|
514
|
+
default: default,
|
515
|
+
newKey: new_key,
|
514
516
|
}
|
515
517
|
|
516
518
|
api_headers = {
|
@@ -559,10 +561,10 @@ module Appwrite
|
|
559
561
|
end
|
560
562
|
|
561
563
|
api_params = {
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
564
|
+
key: key,
|
565
|
+
required: required,
|
566
|
+
default: default,
|
567
|
+
array: array,
|
566
568
|
}
|
567
569
|
|
568
570
|
api_headers = {
|
@@ -587,9 +589,10 @@ module Appwrite
|
|
587
589
|
# @param [String] key Attribute Key.
|
588
590
|
# @param [] required Is attribute required?
|
589
591
|
# @param [String] default Default value for attribute when not provided. Cannot be set when attribute is required.
|
592
|
+
# @param [String] new_key New attribute key.
|
590
593
|
#
|
591
594
|
# @return [AttributeDatetime]
|
592
|
-
def update_datetime_attribute(database_id:, collection_id:, key:, required:, default:)
|
595
|
+
def update_datetime_attribute(database_id:, collection_id:, key:, required:, default:, new_key: nil)
|
593
596
|
api_path = '/databases/{databaseId}/collections/{collectionId}/attributes/datetime/{key}'
|
594
597
|
.gsub('{databaseId}', database_id)
|
595
598
|
.gsub('{collectionId}', collection_id)
|
@@ -616,8 +619,9 @@ module Appwrite
|
|
616
619
|
end
|
617
620
|
|
618
621
|
api_params = {
|
619
|
-
|
620
|
-
|
622
|
+
required: required,
|
623
|
+
default: default,
|
624
|
+
newKey: new_key,
|
621
625
|
}
|
622
626
|
|
623
627
|
api_headers = {
|
@@ -667,10 +671,10 @@ module Appwrite
|
|
667
671
|
end
|
668
672
|
|
669
673
|
api_params = {
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
+
key: key,
|
675
|
+
required: required,
|
676
|
+
default: default,
|
677
|
+
array: array,
|
674
678
|
}
|
675
679
|
|
676
680
|
api_headers = {
|
@@ -696,9 +700,10 @@ module Appwrite
|
|
696
700
|
# @param [String] key Attribute Key.
|
697
701
|
# @param [] required Is attribute required?
|
698
702
|
# @param [String] default Default value for attribute when not provided. Cannot be set when attribute is required.
|
703
|
+
# @param [String] new_key New attribute key.
|
699
704
|
#
|
700
705
|
# @return [AttributeEmail]
|
701
|
-
def update_email_attribute(database_id:, collection_id:, key:, required:, default:)
|
706
|
+
def update_email_attribute(database_id:, collection_id:, key:, required:, default:, new_key: nil)
|
702
707
|
api_path = '/databases/{databaseId}/collections/{collectionId}/attributes/email/{key}'
|
703
708
|
.gsub('{databaseId}', database_id)
|
704
709
|
.gsub('{collectionId}', collection_id)
|
@@ -725,8 +730,9 @@ module Appwrite
|
|
725
730
|
end
|
726
731
|
|
727
732
|
api_params = {
|
728
|
-
|
729
|
-
|
733
|
+
required: required,
|
734
|
+
default: default,
|
735
|
+
newKey: new_key,
|
730
736
|
}
|
731
737
|
|
732
738
|
api_headers = {
|
@@ -782,11 +788,11 @@ module Appwrite
|
|
782
788
|
end
|
783
789
|
|
784
790
|
api_params = {
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
791
|
+
key: key,
|
792
|
+
elements: elements,
|
793
|
+
required: required,
|
794
|
+
default: default,
|
795
|
+
array: array,
|
790
796
|
}
|
791
797
|
|
792
798
|
api_headers = {
|
@@ -813,9 +819,10 @@ module Appwrite
|
|
813
819
|
# @param [Array] elements Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.
|
814
820
|
# @param [] required Is attribute required?
|
815
821
|
# @param [String] default Default value for attribute when not provided. Cannot be set when attribute is required.
|
822
|
+
# @param [String] new_key New attribute key.
|
816
823
|
#
|
817
824
|
# @return [AttributeEnum]
|
818
|
-
def update_enum_attribute(database_id:, collection_id:, key:, elements:, required:, default:)
|
825
|
+
def update_enum_attribute(database_id:, collection_id:, key:, elements:, required:, default:, new_key: nil)
|
819
826
|
api_path = '/databases/{databaseId}/collections/{collectionId}/attributes/enum/{key}'
|
820
827
|
.gsub('{databaseId}', database_id)
|
821
828
|
.gsub('{collectionId}', collection_id)
|
@@ -846,9 +853,10 @@ module Appwrite
|
|
846
853
|
end
|
847
854
|
|
848
855
|
api_params = {
|
849
|
-
|
850
|
-
|
851
|
-
|
856
|
+
elements: elements,
|
857
|
+
required: required,
|
858
|
+
default: default,
|
859
|
+
newKey: new_key,
|
852
860
|
}
|
853
861
|
|
854
862
|
api_headers = {
|
@@ -901,12 +909,12 @@ module Appwrite
|
|
901
909
|
end
|
902
910
|
|
903
911
|
api_params = {
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
912
|
+
key: key,
|
913
|
+
required: required,
|
914
|
+
min: min,
|
915
|
+
max: max,
|
916
|
+
default: default,
|
917
|
+
array: array,
|
910
918
|
}
|
911
919
|
|
912
920
|
api_headers = {
|
@@ -934,9 +942,10 @@ module Appwrite
|
|
934
942
|
# @param [Float] min Minimum value to enforce on new documents
|
935
943
|
# @param [Float] max Maximum value to enforce on new documents
|
936
944
|
# @param [Float] default Default value for attribute when not provided. Cannot be set when attribute is required.
|
945
|
+
# @param [String] new_key New attribute key.
|
937
946
|
#
|
938
947
|
# @return [AttributeFloat]
|
939
|
-
def update_float_attribute(database_id:, collection_id:, key:, required:, min:, max:, default:)
|
948
|
+
def update_float_attribute(database_id:, collection_id:, key:, required:, min:, max:, default:, new_key: nil)
|
940
949
|
api_path = '/databases/{databaseId}/collections/{collectionId}/attributes/float/{key}'
|
941
950
|
.gsub('{databaseId}', database_id)
|
942
951
|
.gsub('{collectionId}', collection_id)
|
@@ -971,10 +980,11 @@ module Appwrite
|
|
971
980
|
end
|
972
981
|
|
973
982
|
api_params = {
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
983
|
+
required: required,
|
984
|
+
min: min,
|
985
|
+
max: max,
|
986
|
+
default: default,
|
987
|
+
newKey: new_key,
|
978
988
|
}
|
979
989
|
|
980
990
|
api_headers = {
|
@@ -1027,12 +1037,12 @@ module Appwrite
|
|
1027
1037
|
end
|
1028
1038
|
|
1029
1039
|
api_params = {
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1040
|
+
key: key,
|
1041
|
+
required: required,
|
1042
|
+
min: min,
|
1043
|
+
max: max,
|
1044
|
+
default: default,
|
1045
|
+
array: array,
|
1036
1046
|
}
|
1037
1047
|
|
1038
1048
|
api_headers = {
|
@@ -1060,9 +1070,10 @@ module Appwrite
|
|
1060
1070
|
# @param [Integer] min Minimum value to enforce on new documents
|
1061
1071
|
# @param [Integer] max Maximum value to enforce on new documents
|
1062
1072
|
# @param [Integer] default Default value for attribute when not provided. Cannot be set when attribute is required.
|
1073
|
+
# @param [String] new_key New attribute key.
|
1063
1074
|
#
|
1064
1075
|
# @return [AttributeInteger]
|
1065
|
-
def update_integer_attribute(database_id:, collection_id:, key:, required:, min:, max:, default:)
|
1076
|
+
def update_integer_attribute(database_id:, collection_id:, key:, required:, min:, max:, default:, new_key: nil)
|
1066
1077
|
api_path = '/databases/{databaseId}/collections/{collectionId}/attributes/integer/{key}'
|
1067
1078
|
.gsub('{databaseId}', database_id)
|
1068
1079
|
.gsub('{collectionId}', collection_id)
|
@@ -1097,10 +1108,11 @@ module Appwrite
|
|
1097
1108
|
end
|
1098
1109
|
|
1099
1110
|
api_params = {
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1111
|
+
required: required,
|
1112
|
+
min: min,
|
1113
|
+
max: max,
|
1114
|
+
default: default,
|
1115
|
+
newKey: new_key,
|
1104
1116
|
}
|
1105
1117
|
|
1106
1118
|
api_headers = {
|
@@ -1150,10 +1162,10 @@ module Appwrite
|
|
1150
1162
|
end
|
1151
1163
|
|
1152
1164
|
api_params = {
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1165
|
+
key: key,
|
1166
|
+
required: required,
|
1167
|
+
default: default,
|
1168
|
+
array: array,
|
1157
1169
|
}
|
1158
1170
|
|
1159
1171
|
api_headers = {
|
@@ -1179,9 +1191,10 @@ module Appwrite
|
|
1179
1191
|
# @param [String] key Attribute Key.
|
1180
1192
|
# @param [] required Is attribute required?
|
1181
1193
|
# @param [String] default Default value for attribute when not provided. Cannot be set when attribute is required.
|
1194
|
+
# @param [String] new_key New attribute key.
|
1182
1195
|
#
|
1183
1196
|
# @return [AttributeIp]
|
1184
|
-
def update_ip_attribute(database_id:, collection_id:, key:, required:, default:)
|
1197
|
+
def update_ip_attribute(database_id:, collection_id:, key:, required:, default:, new_key: nil)
|
1185
1198
|
api_path = '/databases/{databaseId}/collections/{collectionId}/attributes/ip/{key}'
|
1186
1199
|
.gsub('{databaseId}', database_id)
|
1187
1200
|
.gsub('{collectionId}', collection_id)
|
@@ -1208,8 +1221,9 @@ module Appwrite
|
|
1208
1221
|
end
|
1209
1222
|
|
1210
1223
|
api_params = {
|
1211
|
-
|
1212
|
-
|
1224
|
+
required: required,
|
1225
|
+
default: default,
|
1226
|
+
newKey: new_key,
|
1213
1227
|
}
|
1214
1228
|
|
1215
1229
|
api_headers = {
|
@@ -1262,12 +1276,12 @@ module Appwrite
|
|
1262
1276
|
end
|
1263
1277
|
|
1264
1278
|
api_params = {
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1279
|
+
relatedCollectionId: related_collection_id,
|
1280
|
+
type: type,
|
1281
|
+
twoWay: two_way,
|
1282
|
+
key: key,
|
1283
|
+
twoWayKey: two_way_key,
|
1284
|
+
onDelete: on_delete,
|
1271
1285
|
}
|
1272
1286
|
|
1273
1287
|
api_headers = {
|
@@ -1323,12 +1337,12 @@ module Appwrite
|
|
1323
1337
|
end
|
1324
1338
|
|
1325
1339
|
api_params = {
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1340
|
+
key: key,
|
1341
|
+
size: size,
|
1342
|
+
required: required,
|
1343
|
+
default: default,
|
1344
|
+
array: array,
|
1345
|
+
encrypt: encrypt,
|
1332
1346
|
}
|
1333
1347
|
|
1334
1348
|
api_headers = {
|
@@ -1354,9 +1368,11 @@ module Appwrite
|
|
1354
1368
|
# @param [String] key Attribute Key.
|
1355
1369
|
# @param [] required Is attribute required?
|
1356
1370
|
# @param [String] default Default value for attribute when not provided. Cannot be set when attribute is required.
|
1371
|
+
# @param [Integer] size Maximum size of the string attribute.
|
1372
|
+
# @param [String] new_key New attribute key.
|
1357
1373
|
#
|
1358
1374
|
# @return [AttributeString]
|
1359
|
-
def update_string_attribute(database_id:, collection_id:, key:, required:, default:)
|
1375
|
+
def update_string_attribute(database_id:, collection_id:, key:, required:, default:, size: nil, new_key: nil)
|
1360
1376
|
api_path = '/databases/{databaseId}/collections/{collectionId}/attributes/string/{key}'
|
1361
1377
|
.gsub('{databaseId}', database_id)
|
1362
1378
|
.gsub('{collectionId}', collection_id)
|
@@ -1383,8 +1399,10 @@ module Appwrite
|
|
1383
1399
|
end
|
1384
1400
|
|
1385
1401
|
api_params = {
|
1386
|
-
|
1387
|
-
|
1402
|
+
required: required,
|
1403
|
+
default: default,
|
1404
|
+
size: size,
|
1405
|
+
newKey: new_key,
|
1388
1406
|
}
|
1389
1407
|
|
1390
1408
|
api_headers = {
|
@@ -1434,10 +1452,10 @@ module Appwrite
|
|
1434
1452
|
end
|
1435
1453
|
|
1436
1454
|
api_params = {
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1455
|
+
key: key,
|
1456
|
+
required: required,
|
1457
|
+
default: default,
|
1458
|
+
array: array,
|
1441
1459
|
}
|
1442
1460
|
|
1443
1461
|
api_headers = {
|
@@ -1463,9 +1481,10 @@ module Appwrite
|
|
1463
1481
|
# @param [String] key Attribute Key.
|
1464
1482
|
# @param [] required Is attribute required?
|
1465
1483
|
# @param [String] default Default value for attribute when not provided. Cannot be set when attribute is required.
|
1484
|
+
# @param [String] new_key New attribute key.
|
1466
1485
|
#
|
1467
1486
|
# @return [AttributeUrl]
|
1468
|
-
def update_url_attribute(database_id:, collection_id:, key:, required:, default:)
|
1487
|
+
def update_url_attribute(database_id:, collection_id:, key:, required:, default:, new_key: nil)
|
1469
1488
|
api_path = '/databases/{databaseId}/collections/{collectionId}/attributes/url/{key}'
|
1470
1489
|
.gsub('{databaseId}', database_id)
|
1471
1490
|
.gsub('{collectionId}', collection_id)
|
@@ -1492,8 +1511,9 @@ module Appwrite
|
|
1492
1511
|
end
|
1493
1512
|
|
1494
1513
|
api_params = {
|
1495
|
-
|
1496
|
-
|
1514
|
+
required: required,
|
1515
|
+
default: default,
|
1516
|
+
newKey: new_key,
|
1497
1517
|
}
|
1498
1518
|
|
1499
1519
|
api_headers = {
|
@@ -1600,9 +1620,10 @@ module Appwrite
|
|
1600
1620
|
# @param [String] collection_id Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).
|
1601
1621
|
# @param [String] key Attribute Key.
|
1602
1622
|
# @param [RelationMutate] on_delete Constraints option
|
1623
|
+
# @param [String] new_key New attribute key.
|
1603
1624
|
#
|
1604
1625
|
# @return [AttributeRelationship]
|
1605
|
-
def update_relationship_attribute(database_id:, collection_id:, key:, on_delete: nil)
|
1626
|
+
def update_relationship_attribute(database_id:, collection_id:, key:, on_delete: nil, new_key: nil)
|
1606
1627
|
api_path = '/databases/{databaseId}/collections/{collectionId}/attributes/{key}/relationship'
|
1607
1628
|
.gsub('{databaseId}', database_id)
|
1608
1629
|
.gsub('{collectionId}', collection_id)
|
@@ -1621,7 +1642,8 @@ module Appwrite
|
|
1621
1642
|
end
|
1622
1643
|
|
1623
1644
|
api_params = {
|
1624
|
-
|
1645
|
+
onDelete: on_delete,
|
1646
|
+
newKey: new_key,
|
1625
1647
|
}
|
1626
1648
|
|
1627
1649
|
api_headers = {
|
@@ -1660,7 +1682,7 @@ module Appwrite
|
|
1660
1682
|
end
|
1661
1683
|
|
1662
1684
|
api_params = {
|
1663
|
-
|
1685
|
+
queries: queries,
|
1664
1686
|
}
|
1665
1687
|
|
1666
1688
|
api_headers = {
|
@@ -1711,9 +1733,9 @@ module Appwrite
|
|
1711
1733
|
end
|
1712
1734
|
|
1713
1735
|
api_params = {
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1736
|
+
documentId: document_id,
|
1737
|
+
data: data,
|
1738
|
+
permissions: permissions,
|
1717
1739
|
}
|
1718
1740
|
|
1719
1741
|
api_headers = {
|
@@ -1758,7 +1780,7 @@ module Appwrite
|
|
1758
1780
|
end
|
1759
1781
|
|
1760
1782
|
api_params = {
|
1761
|
-
|
1783
|
+
queries: queries,
|
1762
1784
|
}
|
1763
1785
|
|
1764
1786
|
api_headers = {
|
@@ -1804,8 +1826,8 @@ module Appwrite
|
|
1804
1826
|
end
|
1805
1827
|
|
1806
1828
|
api_params = {
|
1807
|
-
|
1808
|
-
|
1829
|
+
data: data,
|
1830
|
+
permissions: permissions,
|
1809
1831
|
}
|
1810
1832
|
|
1811
1833
|
api_headers = {
|
@@ -1884,7 +1906,7 @@ module Appwrite
|
|
1884
1906
|
end
|
1885
1907
|
|
1886
1908
|
api_params = {
|
1887
|
-
|
1909
|
+
queries: queries,
|
1888
1910
|
}
|
1889
1911
|
|
1890
1912
|
api_headers = {
|
@@ -1939,10 +1961,10 @@ module Appwrite
|
|
1939
1961
|
end
|
1940
1962
|
|
1941
1963
|
api_params = {
|
1942
|
-
|
1943
|
-
|
1944
|
-
|
1945
|
-
|
1964
|
+
key: key,
|
1965
|
+
type: type,
|
1966
|
+
attributes: attributes,
|
1967
|
+
orders: orders,
|
1946
1968
|
}
|
1947
1969
|
|
1948
1970
|
api_headers = {
|