Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 6 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
# Change Log

## 14.0.0
## 14.0.1

* Add array-based enum parameters (e.g., `permissions: List<BrowserPermission>`).
* Breaking change: `Output` enum has been removed; use `ImageFormat` instead.
* Add `getQueueAudits` support to `Health` service.
* Add longtext/mediumtext/text/varchar attribute and column helpers to `Databases` and `TablesDB` services.

## 13.1.0

* Added ability to create columns and indexes synchronously while creating a table

## 13.0.0

* Rename `VCSDeploymentType` enum to `VCSReferenceType`
* Change `createTemplateDeployment` method signature: replace `version` parameter with `type` (TemplateReferenceType) and `reference` parameters
* Add `getScreenshot` method to `Avatars` service
* Add `Theme`, `Timezone` and `Output` enums
* Update SDK as per latest server specs, these include -
* Introduces Backups module for managing Database backups
* Introduces Organization module
* Introduce Account level keys, Backup Service & Models

## 12.3.0

Expand Down Expand Up @@ -59,4 +48,4 @@

## 7.0.0

* Fix pong response & chunked upload
* Fix pong response & chunked upload
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ repositories {
Next, add the dependency to your project's `build.gradle(.kts)` file:

```groovy
implementation("io.appwrite:sdk-for-kotlin:14.0.0")
implementation("io.appwrite:sdk-for-kotlin:14.0.1")
```

### Maven
Expand All @@ -50,7 +50,7 @@ Add this to your project's `pom.xml` file:
<dependency>
<groupId>io.appwrite</groupId>
<artifactId>sdk-for-kotlin</artifactId>
<version>14.0.0</version>
<version>14.0.1</version>
</dependency>
</dependencies>
```
Expand Down
2 changes: 2 additions & 0 deletions docs/examples/java/account/create-anonymous-session.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -17,3 +18,4 @@ account.createAnonymousSession(new CoroutineCallback<>((result, error) -> {

System.out.println(result);
}));
```
2 changes: 2 additions & 0 deletions docs/examples/java/account/create-email-password-session.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -22,3 +23,4 @@ account.createEmailPasswordSession(
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/create-email-token.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -23,3 +24,4 @@ account.createEmailToken(
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/create-email-verification.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -21,3 +22,4 @@ account.createEmailVerification(
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/create-jwt.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -21,3 +22,4 @@ account.createJWT(
})
);

```
28 changes: 28 additions & 0 deletions docs/examples/java/account/create-key.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
import io.appwrite.enums.Scopes;

Client client = new Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Account account = new Account(client);

account.createKey(
"<NAME>", // name
List.of(Scopes.ACCOUNT), // scopes
"", // expire (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}

System.out.println(result);
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/create-magic-url-token.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -24,3 +25,4 @@ account.createMagicURLToken(
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/create-mfa-authenticator.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -22,3 +23,4 @@ account.createMFAAuthenticator(
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/create-mfa-challenge.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -22,3 +23,4 @@ account.createMFAChallenge(
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/create-mfa-recovery-codes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -17,3 +18,4 @@ account.createMFARecoveryCodes(new CoroutineCallback<>((result, error) -> {

System.out.println(result);
}));
```
2 changes: 2 additions & 0 deletions docs/examples/java/account/create-o-auth-2-token.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand Down Expand Up @@ -25,3 +26,4 @@ account.createOAuth2Token(
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/create-phone-token.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -22,3 +23,4 @@ account.createPhoneToken(
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/create-phone-verification.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -17,3 +18,4 @@ account.createPhoneVerification(new CoroutineCallback<>((result, error) -> {

System.out.println(result);
}));
```
2 changes: 2 additions & 0 deletions docs/examples/java/account/create-recovery.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -22,3 +23,4 @@ account.createRecovery(
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/create-session.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -22,3 +23,4 @@ account.createSession(
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/create-verification.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -21,3 +22,4 @@ account.createVerification(
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/create.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -24,3 +25,4 @@ account.create(
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/delete-identity.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -21,3 +22,4 @@ account.deleteIdentity(
})
);

```
25 changes: 25 additions & 0 deletions docs/examples/java/account/delete-key.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Account account = new Account(client);

account.deleteKey(
"<KEY_ID>", // keyId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}

System.out.println(result);
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/delete-mfa-authenticator.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -22,3 +23,4 @@ account.deleteMFAAuthenticator(
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/delete-session.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -21,3 +22,4 @@ account.deleteSession(
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/delete-sessions.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -17,3 +18,4 @@ account.deleteSessions(new CoroutineCallback<>((result, error) -> {

System.out.println(result);
}));
```
25 changes: 25 additions & 0 deletions docs/examples/java/account/get-key.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Account account = new Account(client);

account.getKey(
"<KEY_ID>", // keyId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}

System.out.println(result);
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/get-mfa-recovery-codes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -17,3 +18,4 @@ account.getMFARecoveryCodes(new CoroutineCallback<>((result, error) -> {

System.out.println(result);
}));
```
2 changes: 2 additions & 0 deletions docs/examples/java/account/get-prefs.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -17,3 +18,4 @@ account.getPrefs(new CoroutineCallback<>((result, error) -> {

System.out.println(result);
}));
```
2 changes: 2 additions & 0 deletions docs/examples/java/account/get-session.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -21,3 +22,4 @@ account.getSession(
})
);

```
2 changes: 2 additions & 0 deletions docs/examples/java/account/get.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -17,3 +18,4 @@ account.get(new CoroutineCallback<>((result, error) -> {

System.out.println(result);
}));
```
2 changes: 2 additions & 0 deletions docs/examples/java/account/list-identities.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
```java
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
Expand All @@ -22,3 +23,4 @@ account.listIdentities(
})
);

```
Loading