Skip to content

Commit 4dfb2bf

Browse files
authored
Merge pull request #40 from appwrite/feat-1.8.x-specs
feat: API specs update for version 1.8.x
2 parents 51e3da6 + e4686b6 commit 4dfb2bf

567 files changed

Lines changed: 14082 additions & 6088 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/1.8.x/client-android/java/databases/list-documents.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ databases.listDocuments(
1515
List.of(), // queries (optional)
1616
"<TRANSACTION_ID>", // transactionId (optional)
1717
false, // total (optional)
18+
0, // ttl (optional)
1819
new CoroutineCallback<>((result, error) -> {
1920
if (error != null) {
2021
error.printStackTrace();

examples/1.8.x/client-android/java/tablesdb/list-rows.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ tablesDB.listRows(
1515
List.of(), // queries (optional)
1616
"<TRANSACTION_ID>", // transactionId (optional)
1717
false, // total (optional)
18+
0, // ttl (optional)
1819
new CoroutineCallback<>((result, error) -> {
1920
if (error != null) {
2021
error.printStackTrace();

examples/1.8.x/client-android/kotlin/databases/list-documents.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ val result = databases.listDocuments(
1515
queries = listOf(), // (optional)
1616
transactionId = "<TRANSACTION_ID>", // (optional)
1717
total = false, // (optional)
18+
ttl = 0, // (optional)
1819
)
1920
```

examples/1.8.x/client-android/kotlin/tablesdb/list-rows.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ val result = tablesDB.listRows(
1515
queries = listOf(), // (optional)
1616
transactionId = "<TRANSACTION_ID>", // (optional)
1717
total = false, // (optional)
18+
ttl = 0, // (optional)
1819
)
1920
```

examples/1.8.x/client-apple/examples/databases/list-documents.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ let documentList = try await databases.listDocuments(
1212
collectionId: "<COLLECTION_ID>",
1313
queries: [], // optional
1414
transactionId: "<TRANSACTION_ID>", // optional
15-
total: false // optional
15+
total: false, // optional
16+
ttl: 0 // optional
1617
)
1718

1819
```

examples/1.8.x/client-apple/examples/tablesdb/list-rows.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ let rowList = try await tablesDB.listRows(
1212
tableId: "<TABLE_ID>",
1313
queries: [], // optional
1414
transactionId: "<TRANSACTION_ID>", // optional
15-
total: false // optional
15+
total: false, // optional
16+
ttl: 0 // optional
1617
)
1718

1819
```

examples/1.8.x/client-flutter/examples/databases/list-documents.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ DocumentList result = await databases.listDocuments(
1313
queries: [], // optional
1414
transactionId: '<TRANSACTION_ID>', // optional
1515
total: false, // optional
16+
ttl: 0, // optional
1617
);
1718
```

examples/1.8.x/client-flutter/examples/tablesdb/list-rows.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ RowList result = await tablesDB.listRows(
1313
queries: [], // optional
1414
transactionId: '<TRANSACTION_ID>', // optional
1515
total: false, // optional
16+
ttl: 0, // optional
1617
);
1718
```

examples/1.8.x/client-react-native/examples/databases/list-documents.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ const result = await databases.listDocuments({
1212
collectionId: '<COLLECTION_ID>',
1313
queries: [], // optional
1414
transactionId: '<TRANSACTION_ID>', // optional
15-
total: false // optional
15+
total: false, // optional
16+
ttl: 0 // optional
1617
});
1718

1819
console.log(result);

examples/1.8.x/client-react-native/examples/tablesdb/list-rows.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ const result = await tablesDB.listRows({
1212
tableId: '<TABLE_ID>',
1313
queries: [], // optional
1414
transactionId: '<TRANSACTION_ID>', // optional
15-
total: false // optional
15+
total: false, // optional
16+
ttl: 0 // optional
1617
});
1718

1819
console.log(result);

0 commit comments

Comments
 (0)