Skip to content

Commit f6bcf98

Browse files
committed
chore: regen to 1.7.x
1 parent 6f0f887 commit f6bcf98

File tree

150 files changed

+128
-6123
lines changed

Some content is hidden

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

150 files changed

+128
-6123
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
![Maven Central](https://img.shields.io/maven-central/v/io.appwrite/sdk-for-kotlin.svg?color=green&style=flat-square)
44
![License](https://img.shields.io/github/license/appwrite/sdk-for-kotlin.svg?style=flat-square)
5-
![Version](https://img.shields.io/badge/api%20version-1.8.0-blue.svg?style=flat-square)
5+
![Version](https://img.shields.io/badge/api%20version-1.7.4-blue.svg?style=flat-square)
66
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
77
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
88

9-
**This SDK is compatible with Appwrite server version 1.8.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-kotlin/releases).**
9+
**This SDK is compatible with Appwrite server version 1.7.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-kotlin/releases).**
1010

1111
> This is the Kotlin SDK for integrating with Appwrite from your Kotlin server-side code. If you're looking for the Android SDK you should check [appwrite/sdk-for-android](https://github.com/appwrite/sdk-for-android)
1212
@@ -39,7 +39,7 @@ repositories {
3939
Next, add the dependency to your project's `build.gradle(.kts)` file:
4040

4141
```groovy
42-
implementation("io.appwrite:sdk-for-kotlin:10.0.0")
42+
implementation("io.appwrite:sdk-for-kotlin:9.0.0")
4343
```
4444

4545
### Maven
@@ -50,7 +50,7 @@ Add this to your project's `pom.xml` file:
5050
<dependency>
5151
<groupId>io.appwrite</groupId>
5252
<artifactId>sdk-for-kotlin</artifactId>
53-
<version>10.0.0</version>
53+
<version>9.0.0</version>
5454
</dependency>
5555
</dependencies>
5656
```

β€Ždocs/examples/java/databases/create-document.mdβ€Ž

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ import io.appwrite.services.Databases;
44

55
Client client = new Client()
66
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
7-
.setSession("") // The user session to authenticate with
8-
.setKey("<YOUR_API_KEY>") // Your secret API key
9-
.setJWT("<YOUR_JWT>"); // Your secret JSON Web Token
7+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
8+
.setSession(""); // The user session to authenticate with
109

1110
Databases databases = new Databases(client);
1211

β€Ždocs/examples/java/databases/create-documents.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import io.appwrite.services.Databases;
44

55
Client client = new Client()
66
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
7-
.setAdmin("") //
7+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
88
.setKey("<YOUR_API_KEY>"); // Your secret API key
99

1010
Databases databases = new Databases(client);

β€Ždocs/examples/java/databases/upsert-document.mdβ€Ž

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@ import io.appwrite.services.Databases;
44

55
Client client = new Client()
66
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
7-
.setSession("") // The user session to authenticate with
8-
.setKey("<YOUR_API_KEY>") // Your secret API key
9-
.setJWT("<YOUR_JWT>"); // Your secret JSON Web Token
7+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
8+
.setSession(""); // The user session to authenticate with
109

1110
Databases databases = new Databases(client);
1211

1312
databases.upsertDocument(
1413
"<DATABASE_ID>", // databaseId
1514
"<COLLECTION_ID>", // collectionId
1615
"<DOCUMENT_ID>", // documentId
16+
mapOf( "a" to "b" ), // data
17+
listOf("read("any")"), // permissions (optional)
1718
new CoroutineCallback<>((result, error) -> {
1819
if (error != null) {
1920
error.printStackTrace();

β€Ždocs/examples/java/databases/upsert-documents.mdβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ import io.appwrite.services.Databases;
44

55
Client client = new Client()
66
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
7-
.setAdmin("") //
7+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
88
.setKey("<YOUR_API_KEY>"); // Your secret API key
99

1010
Databases databases = new Databases(client);
1111

1212
databases.upsertDocuments(
1313
"<DATABASE_ID>", // databaseId
1414
"<COLLECTION_ID>", // collectionId
15+
listOf(), // documents
1516
new CoroutineCallback<>((result, error) -> {
1617
if (error != null) {
1718
error.printStackTrace();

β€Ždocs/examples/java/tables/create-boolean-column.mdβ€Ž

Lines changed: 0 additions & 28 deletions
This file was deleted.

β€Ždocs/examples/java/tables/create-datetime-column.mdβ€Ž

Lines changed: 0 additions & 28 deletions
This file was deleted.

β€Ždocs/examples/java/tables/create-email-column.mdβ€Ž

Lines changed: 0 additions & 28 deletions
This file was deleted.

β€Ždocs/examples/java/tables/create-enum-column.mdβ€Ž

Lines changed: 0 additions & 29 deletions
This file was deleted.

β€Ždocs/examples/java/tables/create-float-column.mdβ€Ž

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
Β (0)