appwrite 25.0.0 → 25.1.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.
- checksums.yaml +4 -4
- data/lib/appwrite/client.rb +19 -3
- data/lib/appwrite/enums/project_key_scopes.rb +2 -0
- data/lib/appwrite/enums/project_policy_id.rb +1 -0
- data/lib/appwrite/models/policy_password_strength.rb +52 -0
- data/lib/appwrite/models/project.rb +58 -13
- data/lib/appwrite/services/account.rb +46 -1
- data/lib/appwrite/services/activities.rb +2 -0
- data/lib/appwrite/services/advisor.rb +5 -0
- data/lib/appwrite/services/avatars.rb +8 -0
- data/lib/appwrite/services/backups.rb +12 -0
- data/lib/appwrite/services/databases.rb +71 -0
- data/lib/appwrite/services/functions.rb +26 -0
- data/lib/appwrite/services/graphql.rb +2 -0
- data/lib/appwrite/services/health.rb +51 -0
- data/lib/appwrite/services/locale.rb +8 -0
- data/lib/appwrite/services/messaging.rb +150 -0
- data/lib/appwrite/services/organization.rb +10 -0
- data/lib/appwrite/services/presences.rb +5 -0
- data/lib/appwrite/services/project.rb +230 -43
- data/lib/appwrite/services/proxy.rb +8 -0
- data/lib/appwrite/services/sites.rb +25 -0
- data/lib/appwrite/services/storage.rb +13 -0
- data/lib/appwrite/services/tables_db.rb +71 -0
- data/lib/appwrite/services/teams.rb +13 -0
- data/lib/appwrite/services/tokens.rb +5 -0
- data/lib/appwrite/services/usage.rb +2 -0
- data/lib/appwrite/services/users.rb +43 -0
- data/lib/appwrite/services/webhooks.rb +6 -0
- data/lib/appwrite.rb +1 -0
- metadata +3 -2
|
@@ -20,6 +20,7 @@ module Appwrite
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
api_headers = {
|
|
23
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
@client.call(
|
|
@@ -50,6 +51,7 @@ module Appwrite
|
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
api_headers = {
|
|
54
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
@client.call(
|
|
@@ -24,6 +24,7 @@ module Appwrite
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
api_headers = {
|
|
27
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
@client.call(
|
|
@@ -55,6 +56,7 @@ module Appwrite
|
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
api_headers = {
|
|
59
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
58
60
|
}
|
|
59
61
|
|
|
60
62
|
@client.call(
|
|
@@ -86,6 +88,7 @@ module Appwrite
|
|
|
86
88
|
}
|
|
87
89
|
|
|
88
90
|
api_headers = {
|
|
91
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
89
92
|
"content-type": 'application/json',
|
|
90
93
|
}
|
|
91
94
|
|
|
@@ -121,6 +124,7 @@ module Appwrite
|
|
|
121
124
|
}
|
|
122
125
|
|
|
123
126
|
api_headers = {
|
|
127
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
124
128
|
}
|
|
125
129
|
|
|
126
130
|
@client.call(
|
|
@@ -157,6 +161,7 @@ module Appwrite
|
|
|
157
161
|
}
|
|
158
162
|
|
|
159
163
|
api_headers = {
|
|
164
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
160
165
|
}
|
|
161
166
|
|
|
162
167
|
@client.call(
|
|
@@ -39,6 +39,7 @@ module Appwrite
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
api_headers = {
|
|
42
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
@client.call(
|
|
@@ -81,6 +82,7 @@ module Appwrite
|
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
api_headers = {
|
|
85
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
84
86
|
}
|
|
85
87
|
|
|
86
88
|
@client.call(
|
|
@@ -112,6 +114,7 @@ module Appwrite
|
|
|
112
114
|
}
|
|
113
115
|
|
|
114
116
|
api_headers = {
|
|
117
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
115
118
|
}
|
|
116
119
|
|
|
117
120
|
@client.call(
|
|
@@ -155,6 +158,7 @@ module Appwrite
|
|
|
155
158
|
}
|
|
156
159
|
|
|
157
160
|
api_headers = {
|
|
161
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
158
162
|
}
|
|
159
163
|
|
|
160
164
|
@client.call(
|
|
@@ -197,6 +201,7 @@ module Appwrite
|
|
|
197
201
|
}
|
|
198
202
|
|
|
199
203
|
api_headers = {
|
|
204
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
200
205
|
}
|
|
201
206
|
|
|
202
207
|
@client.call(
|
|
@@ -242,6 +247,7 @@ module Appwrite
|
|
|
242
247
|
}
|
|
243
248
|
|
|
244
249
|
api_headers = {
|
|
250
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
245
251
|
}
|
|
246
252
|
|
|
247
253
|
@client.call(
|
|
@@ -278,6 +284,7 @@ module Appwrite
|
|
|
278
284
|
}
|
|
279
285
|
|
|
280
286
|
api_headers = {
|
|
287
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
281
288
|
}
|
|
282
289
|
|
|
283
290
|
@client.call(
|
|
@@ -353,6 +360,7 @@ module Appwrite
|
|
|
353
360
|
}
|
|
354
361
|
|
|
355
362
|
api_headers = {
|
|
363
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
356
364
|
}
|
|
357
365
|
|
|
358
366
|
@client.call(
|
|
@@ -20,6 +20,7 @@ module Appwrite
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
api_headers = {
|
|
23
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
@client.call(
|
|
@@ -51,6 +52,7 @@ module Appwrite
|
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
api_headers = {
|
|
55
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
54
56
|
"content-type": 'application/json',
|
|
55
57
|
}
|
|
56
58
|
|
|
@@ -81,6 +83,7 @@ module Appwrite
|
|
|
81
83
|
}
|
|
82
84
|
|
|
83
85
|
api_headers = {
|
|
86
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
84
87
|
}
|
|
85
88
|
|
|
86
89
|
@client.call(
|
|
@@ -110,6 +113,7 @@ module Appwrite
|
|
|
110
113
|
}
|
|
111
114
|
|
|
112
115
|
api_headers = {
|
|
116
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
113
117
|
"content-type": 'application/json',
|
|
114
118
|
}
|
|
115
119
|
|
|
@@ -135,6 +139,7 @@ module Appwrite
|
|
|
135
139
|
}
|
|
136
140
|
|
|
137
141
|
api_headers = {
|
|
142
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
138
143
|
}
|
|
139
144
|
|
|
140
145
|
@client.call(
|
|
@@ -188,6 +193,7 @@ module Appwrite
|
|
|
188
193
|
}
|
|
189
194
|
|
|
190
195
|
api_headers = {
|
|
196
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
191
197
|
"content-type": 'application/json',
|
|
192
198
|
}
|
|
193
199
|
|
|
@@ -218,6 +224,7 @@ module Appwrite
|
|
|
218
224
|
}
|
|
219
225
|
|
|
220
226
|
api_headers = {
|
|
227
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
221
228
|
}
|
|
222
229
|
|
|
223
230
|
@client.call(
|
|
@@ -255,6 +262,7 @@ module Appwrite
|
|
|
255
262
|
}
|
|
256
263
|
|
|
257
264
|
api_headers = {
|
|
265
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
258
266
|
"content-type": 'application/json',
|
|
259
267
|
}
|
|
260
268
|
|
|
@@ -285,6 +293,7 @@ module Appwrite
|
|
|
285
293
|
}
|
|
286
294
|
|
|
287
295
|
api_headers = {
|
|
296
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
288
297
|
"content-type": 'application/json',
|
|
289
298
|
}
|
|
290
299
|
|
|
@@ -324,6 +333,7 @@ module Appwrite
|
|
|
324
333
|
}
|
|
325
334
|
|
|
326
335
|
api_headers = {
|
|
336
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
327
337
|
"content-type": 'application/json',
|
|
328
338
|
}
|
|
329
339
|
|
|
@@ -350,6 +360,7 @@ module Appwrite
|
|
|
350
360
|
}
|
|
351
361
|
|
|
352
362
|
api_headers = {
|
|
363
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
353
364
|
}
|
|
354
365
|
|
|
355
366
|
@client.call(
|
|
@@ -379,6 +390,7 @@ module Appwrite
|
|
|
379
390
|
}
|
|
380
391
|
|
|
381
392
|
api_headers = {
|
|
393
|
+
"X-Appwrite-Project": @client.get_config('project'),
|
|
382
394
|
}
|
|
383
395
|
|
|
384
396
|
@client.call(
|