appwrite 19.0.0 → 19.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 +1 -1
- data/lib/appwrite/services/account.rb +91 -4
- data/lib/appwrite/services/functions.rb +1 -1
- data/lib/appwrite/services/sites.rb +2 -2
- data/lib/appwrite/services/tables_db.rb +25 -25
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64a22a71e17b953f80760db4e8b9413488b2bc36f2e24ea383964f45c305066d
|
4
|
+
data.tar.gz: e01febf3f51453fa219a17cbc795235f7b7fb67ed2358be4f8091a6bfa4f345a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fff66c4c1f8ce87720e13c93581704597cf65ce96e0c171c099541079d8051dcd6bc143f6bf136b931ed4343a65175dec7908b7ef86f6e6a96f55a808dec41b
|
7
|
+
data.tar.gz: 65af206356d68b6a79255dee4c799ab3f37ce7093bbc31c48b5527a05134c42c63d353615ab594d8b63e0431497baddbc2bb2151ad00b11494cec53be74b6c85
|
data/lib/appwrite/client.rb
CHANGED
@@ -1308,6 +1308,52 @@ module Appwrite
|
|
1308
1308
|
)
|
1309
1309
|
end
|
1310
1310
|
|
1311
|
+
# Use this endpoint to send a verification message to your user email address
|
1312
|
+
# to confirm they are the valid owners of that address. Both the **userId**
|
1313
|
+
# and **secret** arguments will be passed as query parameters to the URL you
|
1314
|
+
# have provided to be attached to the verification email. The provided URL
|
1315
|
+
# should redirect the user back to your app and allow you to complete the
|
1316
|
+
# verification process by verifying both the **userId** and **secret**
|
1317
|
+
# parameters. Learn more about how to [complete the verification
|
1318
|
+
# process](https://appwrite.io/docs/references/cloud/client-web/account#updateVerification).
|
1319
|
+
# The verification link sent to the user's email address is valid for 7 days.
|
1320
|
+
#
|
1321
|
+
# Please note that in order to avoid a [Redirect
|
1322
|
+
# Attack](https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md),
|
1323
|
+
# the only valid redirect URLs are the ones from domains you have set when
|
1324
|
+
# adding your platforms in the console interface.
|
1325
|
+
#
|
1326
|
+
#
|
1327
|
+
# @param [String] url URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https://cheatsheetseries.owasp.org/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.
|
1328
|
+
#
|
1329
|
+
# @return [Token]
|
1330
|
+
def create_email_verification(url:)
|
1331
|
+
api_path = '/account/verifications/email'
|
1332
|
+
|
1333
|
+
if url.nil?
|
1334
|
+
raise Appwrite::Exception.new('Missing required parameter: "url"')
|
1335
|
+
end
|
1336
|
+
|
1337
|
+
api_params = {
|
1338
|
+
url: url,
|
1339
|
+
}
|
1340
|
+
|
1341
|
+
api_headers = {
|
1342
|
+
"content-type": 'application/json',
|
1343
|
+
}
|
1344
|
+
|
1345
|
+
@client.call(
|
1346
|
+
method: 'POST',
|
1347
|
+
path: api_path,
|
1348
|
+
headers: api_headers,
|
1349
|
+
params: api_params,
|
1350
|
+
response_type: Models::Token
|
1351
|
+
)
|
1352
|
+
end
|
1353
|
+
|
1354
|
+
#
|
1355
|
+
# @deprecated This API has been deprecated since 1.8.0. Please use `Account.createEmailVerification` instead.
|
1356
|
+
#
|
1311
1357
|
# Use this endpoint to send a verification message to your user email address
|
1312
1358
|
# to confirm they are the valid owners of that address. Both the **userId**
|
1313
1359
|
# and **secret** arguments will be passed as query parameters to the URL you
|
@@ -1328,7 +1374,7 @@ module Appwrite
|
|
1328
1374
|
#
|
1329
1375
|
# @return [Token]
|
1330
1376
|
def create_verification(url:)
|
1331
|
-
api_path = '/account/
|
1377
|
+
api_path = '/account/verifications/email'
|
1332
1378
|
|
1333
1379
|
if url.nil?
|
1334
1380
|
raise Appwrite::Exception.new('Missing required parameter: "url"')
|
@@ -1351,6 +1397,47 @@ module Appwrite
|
|
1351
1397
|
)
|
1352
1398
|
end
|
1353
1399
|
|
1400
|
+
# Use this endpoint to complete the user email verification process. Use both
|
1401
|
+
# the **userId** and **secret** parameters that were attached to your app URL
|
1402
|
+
# to verify the user email ownership. If confirmed this route will return a
|
1403
|
+
# 200 status code.
|
1404
|
+
#
|
1405
|
+
# @param [String] user_id User ID.
|
1406
|
+
# @param [String] secret Valid verification token.
|
1407
|
+
#
|
1408
|
+
# @return [Token]
|
1409
|
+
def update_email_verification(user_id:, secret:)
|
1410
|
+
api_path = '/account/verifications/email'
|
1411
|
+
|
1412
|
+
if user_id.nil?
|
1413
|
+
raise Appwrite::Exception.new('Missing required parameter: "userId"')
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
if secret.nil?
|
1417
|
+
raise Appwrite::Exception.new('Missing required parameter: "secret"')
|
1418
|
+
end
|
1419
|
+
|
1420
|
+
api_params = {
|
1421
|
+
userId: user_id,
|
1422
|
+
secret: secret,
|
1423
|
+
}
|
1424
|
+
|
1425
|
+
api_headers = {
|
1426
|
+
"content-type": 'application/json',
|
1427
|
+
}
|
1428
|
+
|
1429
|
+
@client.call(
|
1430
|
+
method: 'PUT',
|
1431
|
+
path: api_path,
|
1432
|
+
headers: api_headers,
|
1433
|
+
params: api_params,
|
1434
|
+
response_type: Models::Token
|
1435
|
+
)
|
1436
|
+
end
|
1437
|
+
|
1438
|
+
#
|
1439
|
+
# @deprecated This API has been deprecated since 1.8.0. Please use `Account.updateEmailVerification` instead.
|
1440
|
+
#
|
1354
1441
|
# Use this endpoint to complete the user email verification process. Use both
|
1355
1442
|
# the **userId** and **secret** parameters that were attached to your app URL
|
1356
1443
|
# to verify the user email ownership. If confirmed this route will return a
|
@@ -1361,7 +1448,7 @@ module Appwrite
|
|
1361
1448
|
#
|
1362
1449
|
# @return [Token]
|
1363
1450
|
def update_verification(user_id:, secret:)
|
1364
|
-
api_path = '/account/
|
1451
|
+
api_path = '/account/verifications/email'
|
1365
1452
|
|
1366
1453
|
if user_id.nil?
|
1367
1454
|
raise Appwrite::Exception.new('Missing required parameter: "userId"')
|
@@ -1401,7 +1488,7 @@ module Appwrite
|
|
1401
1488
|
#
|
1402
1489
|
# @return [Token]
|
1403
1490
|
def create_phone_verification()
|
1404
|
-
api_path = '/account/
|
1491
|
+
api_path = '/account/verifications/phone'
|
1405
1492
|
|
1406
1493
|
api_params = {
|
1407
1494
|
}
|
@@ -1429,7 +1516,7 @@ module Appwrite
|
|
1429
1516
|
#
|
1430
1517
|
# @return [Token]
|
1431
1518
|
def update_phone_verification(user_id:, secret:)
|
1432
|
-
api_path = '/account/
|
1519
|
+
api_path = '/account/verifications/phone'
|
1433
1520
|
|
1434
1521
|
if user_id.nil?
|
1435
1522
|
raise Appwrite::Exception.new('Missing required parameter: "userId"')
|
@@ -447,7 +447,7 @@ module Appwrite
|
|
447
447
|
# Create a deployment based on a template.
|
448
448
|
#
|
449
449
|
# Use this endpoint with combination of
|
450
|
-
# [listTemplates](https://appwrite.io/docs/
|
450
|
+
# [listTemplates](https://appwrite.io/docs/products/functions/templates) to
|
451
451
|
# find the template details.
|
452
452
|
#
|
453
453
|
# @param [String] function_id Function ID.
|
@@ -446,8 +446,8 @@ module Appwrite
|
|
446
446
|
# Create a deployment based on a template.
|
447
447
|
#
|
448
448
|
# Use this endpoint with combination of
|
449
|
-
# [listTemplates](https://appwrite.io/docs/
|
450
|
-
#
|
449
|
+
# [listTemplates](https://appwrite.io/docs/products/sites/templates) to find
|
450
|
+
# the template details.
|
451
451
|
#
|
452
452
|
# @param [String] site_id Site ID.
|
453
453
|
# @param [String] repository Repository name of the template.
|
@@ -202,7 +202,7 @@ module Appwrite
|
|
202
202
|
|
203
203
|
# Create a new Table. Before using this route, you should create a new
|
204
204
|
# database resource using either a [server
|
205
|
-
# integration](https://appwrite.io/docs/server/
|
205
|
+
# integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable)
|
206
206
|
# API or directly from your database console.
|
207
207
|
#
|
208
208
|
# @param [String] database_id Database ID.
|
@@ -407,7 +407,7 @@ module Appwrite
|
|
407
407
|
#
|
408
408
|
#
|
409
409
|
# @param [String] database_id Database ID.
|
410
|
-
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/
|
410
|
+
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
411
411
|
# @param [String] key Column Key.
|
412
412
|
# @param [] required Is column required?
|
413
413
|
# @param [] default Default value for column when not provided. Cannot be set when column is required.
|
@@ -459,7 +459,7 @@ module Appwrite
|
|
459
459
|
# already existing rows.
|
460
460
|
#
|
461
461
|
# @param [String] database_id Database ID.
|
462
|
-
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/
|
462
|
+
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
463
463
|
# @param [String] key Column Key.
|
464
464
|
# @param [] required Is column required?
|
465
465
|
# @param [] default Default value for column when not provided. Cannot be set when column is required.
|
@@ -1196,7 +1196,7 @@ module Appwrite
|
|
1196
1196
|
# Create a geometric line column.
|
1197
1197
|
#
|
1198
1198
|
# @param [String] database_id Database ID.
|
1199
|
-
# @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/
|
1199
|
+
# @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
1200
1200
|
# @param [String] key Column Key.
|
1201
1201
|
# @param [] required Is column required?
|
1202
1202
|
# @param [Array] default Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when column is required.
|
@@ -1246,7 +1246,7 @@ module Appwrite
|
|
1246
1246
|
# existing rows.
|
1247
1247
|
#
|
1248
1248
|
# @param [String] database_id Database ID.
|
1249
|
-
# @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/
|
1249
|
+
# @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
1250
1250
|
# @param [String] key Column Key.
|
1251
1251
|
# @param [] required Is column required?
|
1252
1252
|
# @param [Array] default Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when column is required.
|
@@ -1297,7 +1297,7 @@ module Appwrite
|
|
1297
1297
|
# Create a geometric point column.
|
1298
1298
|
#
|
1299
1299
|
# @param [String] database_id Database ID.
|
1300
|
-
# @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/
|
1300
|
+
# @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
1301
1301
|
# @param [String] key Column Key.
|
1302
1302
|
# @param [] required Is column required?
|
1303
1303
|
# @param [Array] default Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.
|
@@ -1347,7 +1347,7 @@ module Appwrite
|
|
1347
1347
|
# existing rows.
|
1348
1348
|
#
|
1349
1349
|
# @param [String] database_id Database ID.
|
1350
|
-
# @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/
|
1350
|
+
# @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
1351
1351
|
# @param [String] key Column Key.
|
1352
1352
|
# @param [] required Is column required?
|
1353
1353
|
# @param [Array] default Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.
|
@@ -1398,7 +1398,7 @@ module Appwrite
|
|
1398
1398
|
# Create a geometric polygon column.
|
1399
1399
|
#
|
1400
1400
|
# @param [String] database_id Database ID.
|
1401
|
-
# @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/
|
1401
|
+
# @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
1402
1402
|
# @param [String] key Column Key.
|
1403
1403
|
# @param [] required Is column required?
|
1404
1404
|
# @param [Array] default Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], …], …], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.
|
@@ -1448,7 +1448,7 @@ module Appwrite
|
|
1448
1448
|
# already existing rows.
|
1449
1449
|
#
|
1450
1450
|
# @param [String] database_id Database ID.
|
1451
|
-
# @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/
|
1451
|
+
# @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
1452
1452
|
# @param [String] key Column Key.
|
1453
1453
|
# @param [] required Is column required?
|
1454
1454
|
# @param [Array] default Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], …], …], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.
|
@@ -1557,7 +1557,7 @@ module Appwrite
|
|
1557
1557
|
#
|
1558
1558
|
#
|
1559
1559
|
# @param [String] database_id Database ID.
|
1560
|
-
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/
|
1560
|
+
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
1561
1561
|
# @param [String] key Column Key.
|
1562
1562
|
# @param [Integer] size Column size for text columns, in number of characters.
|
1563
1563
|
# @param [] required Is column required?
|
@@ -1618,7 +1618,7 @@ module Appwrite
|
|
1618
1618
|
#
|
1619
1619
|
#
|
1620
1620
|
# @param [String] database_id Database ID.
|
1621
|
-
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/
|
1621
|
+
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
1622
1622
|
# @param [String] key Column Key.
|
1623
1623
|
# @param [] required Is column required?
|
1624
1624
|
# @param [String] default Default value for column when not provided. Cannot be set when column is required.
|
@@ -1910,7 +1910,7 @@ module Appwrite
|
|
1910
1910
|
# List indexes on the table.
|
1911
1911
|
#
|
1912
1912
|
# @param [String] database_id Database ID.
|
1913
|
-
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/
|
1913
|
+
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
1914
1914
|
# @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 columns: key, type, status, attributes, error
|
1915
1915
|
#
|
1916
1916
|
# @return [ColumnIndexList]
|
@@ -1948,7 +1948,7 @@ module Appwrite
|
|
1948
1948
|
# Type can be `key`, `fulltext`, or `unique`.
|
1949
1949
|
#
|
1950
1950
|
# @param [String] database_id Database ID.
|
1951
|
-
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/
|
1951
|
+
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
1952
1952
|
# @param [String] key Index Key.
|
1953
1953
|
# @param [IndexType] type Index type.
|
1954
1954
|
# @param [Array] columns Array of columns to index. Maximum of 100 columns are allowed, each 32 characters long.
|
@@ -2005,7 +2005,7 @@ module Appwrite
|
|
2005
2005
|
# Get index by ID.
|
2006
2006
|
#
|
2007
2007
|
# @param [String] database_id Database ID.
|
2008
|
-
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/
|
2008
|
+
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
2009
2009
|
# @param [String] key Index Key.
|
2010
2010
|
#
|
2011
2011
|
# @return [ColumnIndex]
|
@@ -2045,7 +2045,7 @@ module Appwrite
|
|
2045
2045
|
# Delete an index.
|
2046
2046
|
#
|
2047
2047
|
# @param [String] database_id Database ID.
|
2048
|
-
# @param [String] table_id Table ID. You can create a new table using the
|
2048
|
+
# @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
2049
2049
|
# @param [String] key Index Key.
|
2050
2050
|
#
|
2051
2051
|
# @return []
|
@@ -2086,7 +2086,7 @@ module Appwrite
|
|
2086
2086
|
# params to filter your results.
|
2087
2087
|
#
|
2088
2088
|
# @param [String] database_id Database ID.
|
2089
|
-
# @param [String] table_id Table ID. You can create a new table using the
|
2089
|
+
# @param [String] table_id Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/products/databases/tables#create-table).
|
2090
2090
|
# @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.
|
2091
2091
|
#
|
2092
2092
|
# @return [RowList]
|
@@ -2121,11 +2121,11 @@ module Appwrite
|
|
2121
2121
|
|
2122
2122
|
# Create a new Row. Before using this route, you should create a new table
|
2123
2123
|
# resource using either a [server
|
2124
|
-
# integration](https://appwrite.io/docs/server/
|
2124
|
+
# integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable)
|
2125
2125
|
# API or directly from your database console.
|
2126
2126
|
#
|
2127
2127
|
# @param [String] database_id Database ID.
|
2128
|
-
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/
|
2128
|
+
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). Make sure to define columns before creating rows.
|
2129
2129
|
# @param [String] row_id Row 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.
|
2130
2130
|
# @param [Hash] data Row data as JSON object.
|
2131
2131
|
# @param [Array] permissions An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
@@ -2173,11 +2173,11 @@ module Appwrite
|
|
2173
2173
|
|
2174
2174
|
# Create new Rows. Before using this route, you should create a new table
|
2175
2175
|
# resource using either a [server
|
2176
|
-
# integration](https://appwrite.io/docs/server/
|
2176
|
+
# integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable)
|
2177
2177
|
# API or directly from your database console.
|
2178
2178
|
#
|
2179
2179
|
# @param [String] database_id Database ID.
|
2180
|
-
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/
|
2180
|
+
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). Make sure to define columns before creating rows.
|
2181
2181
|
# @param [Array] rows Array of rows data as JSON objects.
|
2182
2182
|
#
|
2183
2183
|
# @return [RowList]
|
@@ -2217,7 +2217,7 @@ module Appwrite
|
|
2217
2217
|
|
2218
2218
|
# Create or update Rows. Before using this route, you should create a new
|
2219
2219
|
# table resource using either a [server
|
2220
|
-
# integration](https://appwrite.io/docs/server/
|
2220
|
+
# integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable)
|
2221
2221
|
# API or directly from your database console.
|
2222
2222
|
#
|
2223
2223
|
#
|
@@ -2304,7 +2304,7 @@ module Appwrite
|
|
2304
2304
|
# deleted.
|
2305
2305
|
#
|
2306
2306
|
# @param [String] database_id Database ID.
|
2307
|
-
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/
|
2307
|
+
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
2308
2308
|
# @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.
|
2309
2309
|
#
|
2310
2310
|
# @return [RowList]
|
@@ -2342,7 +2342,7 @@ module Appwrite
|
|
2342
2342
|
# with the row data.
|
2343
2343
|
#
|
2344
2344
|
# @param [String] database_id Database ID.
|
2345
|
-
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/
|
2345
|
+
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
2346
2346
|
# @param [String] row_id Row ID.
|
2347
2347
|
# @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.
|
2348
2348
|
#
|
@@ -2383,7 +2383,7 @@ module Appwrite
|
|
2383
2383
|
|
2384
2384
|
# Create or update a Row. Before using this route, you should create a new
|
2385
2385
|
# table resource using either a [server
|
2386
|
-
# integration](https://appwrite.io/docs/server/
|
2386
|
+
# integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable)
|
2387
2387
|
# API or directly from your database console.
|
2388
2388
|
#
|
2389
2389
|
# @param [String] database_id Database ID.
|
@@ -2478,7 +2478,7 @@ module Appwrite
|
|
2478
2478
|
# Delete a row by its unique ID.
|
2479
2479
|
#
|
2480
2480
|
# @param [String] database_id Database ID.
|
2481
|
-
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/
|
2481
|
+
# @param [String] table_id Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable).
|
2482
2482
|
# @param [String] row_id Row ID.
|
2483
2483
|
#
|
2484
2484
|
# @return []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appwrite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 19.
|
4
|
+
version: 19.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Appwrite Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-10-
|
11
|
+
date: 2025-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mime-types
|