8000 Update documentation by ItzNotABug · Pull Request #10030 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update documentation #10030

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 25 commits into
base: 1.8.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
83968a6
update: docs.
ItzNotABug Jun 19, 2025
36dfd21
Merge branch 'database-aliases' into update-documentation
ItzNotABug Jun 19, 2025
c7a3ffd
update: generate latest specs.
ItzNotABug Jun 19, 2025
974037e
update: generate docs examples as per latest `1.8.x` source.
ItzNotABug Jun 19, 2025
88f9377
Merge branch 'database-aliases' into update-documentation
ItzNotABug Jun 19, 2025
ebfa6eb
update: formatter, specs, docs, sdk method names.
ItzNotABug Jun 23, 2025
7f8fcb1
fix: missing range on tables api.
ItzNotABug Jun 23, 2025
9b51b1b
fix: oha as per latest updates.
ItzNotABug Jun 23, 2025
80c2fca
Merge branch 'database-aliases' into update-documentation
ItzNotABug Jun 23, 2025
38a39d1
fix: oha as per latest updates.
ItzNotABug Jun 23, 2025
0f6e77d
Merge remote-tracking branch 'origin/update-documentation' into updat…
ItzNotABug Jun 23, 2025
8390154
Merge branch 'database-aliases' into update-documentation
ItzNotABug Jun 25, 2025
fb81b13
update: doc links.
ItzNotABug Jun 25, 2025
68bff78
Merge branch 'database-aliases' into update-documentation
ItzNotABug Jun 25, 2025
6a5ffb2
bump: specs for sdks.
ItzNotABug Jun 25, 2025
8632f33
bump: sdk examples.
ItzNotABug Jun 25, 2025
b39325e
add: scopes on migrations.
ItzNotABug Jun 25, 2025
6ca856c
Merge branch 'database-aliases' into update-documentation
ItzNotABug Jun 25, 2025
922eba8
Merge branch 'database-aliases' into update-documentation
ItzNotABug Jun 25, 2025
d44b433
update: docs, misc.
ItzNotABug Jun 25, 2025
562f5c2
update: docs, misc.
ItzNotABug Jun 25, 2025
eb201fe
update: examples.
ItzNotABug Jun 25, 2025
6118d5b
remove: wrong examples.
ItzNotABug Jun 25, 2025
91d3b43
bump: dependencies.
ItzNotABug Jun 25, 2025
86dfed8
Merge branch '1.8.x' into 'update-documentation'.
ItzNotABug Jul 1, 2025
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
803 changes: 674 additions & 129 deletions app/config/specs/open-api3-1.8.x-client.json

Large diffs are not rendered by default.

29,568 changes: 17,826 additions & 11,742 deletions app/config/specs/open-api3-1.8.x-console.json

Large diffs are not rendered by default.

25,125 changes: 15,394 additions & 9,731 deletions app/config/specs/open-api3-1.8.x-server.json

Large diffs are not rendered by default.

780 changes: 651 additions & 129 deletions app/config/specs/open-api3-latest-client.json

Large diffs are not rendered by default.

29,557 changes: 17,815 additions & 11,742 deletions app/config/specs/open-api3-latest-console.json

Large diffs are not rendered by default.

25,125 changes: 15,394 additions & 9,731 deletions app/config/specs/open-api3-latest-server.json

Large diffs are not rendered by default.

800 changes: 668 additions & 132 deletions app/config/specs/swagger2-1.8.x-client.json

Large diffs are not rendered by default.

34,619 changes: 20,301 additions & 14,318 deletions app/config/specs/swagger2-1.8.x-console.json

Large diffs are not rendered by default.

25,218 changes: 15,398 additions & 9,820 deletions app/config/specs/swagger2-1.8.x-server.json

Large diffs are not rendered by default.

777 changes: 645 additions & 132 deletions app/config/specs/swagger2-latest-client.json

Large diffs are not rendered by default.

34,614 changes: 20,294 additions & 14,320 deletions app/config/specs/swagger2-latest-console.json

Large diffs are not rendered by default.

25,218 changes: 15,398 additions & 9,820 deletions app/config/specs/swagger2-latest-server.json

Large diffs are not rendered by default.

76 changes: 38 additions & 38 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

account.createAnonymousSession(new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}

Log.d("Appwrite", result.toString());
}));
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

account.createEmailPasswordSession(
"email@example.com", // email
"password", // password
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}

Log.d("Appwrite", result.toString());
})
);

Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

account.createEmailToken(
"<USER_ID>", // userId
"email@example.com", // email
false, // phrase (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}

Log.d("Appwrite", result.toString());
})
);

18 changes: 18 additions & 0 deletions docs/examples/1.8.x/client-android/java/account/create-j-w-t.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

account.createJWT(new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}

Log.d("Appwrite", result.toString());
}));
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

account.createMagicURLToken(
"<USER_ID>", // userId
"email@example.com", // email
"https://example.com", // url (optional)
false, // phrase (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}

Log.d("Appwrite", result.toString());
})
);

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
import io.appwrite.enums.AuthenticatorType;

Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

account.createMfaAuthenticator(
AuthenticatorType.TOTP, // type
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}

Log.d("Appwrite", result.toString());
})
);

Loading
0