mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-10 12:57:49 +00:00
feat: update region placeholder
This commit is contained in:
@@ -37,7 +37,7 @@ Here is what this would look like using Swift.
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ You can send SMS messages using a Server SDK. To send SMS messages immediately,
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -194,7 +194,7 @@ def main(context):
|
|||||||
|
|
||||||
client = (
|
client = (
|
||||||
Client()
|
Client()
|
||||||
.set_endpoint("https://[region].cloud.appwrite.io/v1")
|
.set_endpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.set_project(os.environ["APPWRITE_FUNCTION_PROJECT_ID"])
|
.set_project(os.environ["APPWRITE_FUNCTION_PROJECT_ID"])
|
||||||
.set_key(os.environ["APPWRITE_API_KEY"])
|
.set_key(os.environ["APPWRITE_API_KEY"])
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Account
|
import io.appwrite.services.Account
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setLocale('fr') // Your locale
|
.setLocale('fr') // Your locale
|
||||||
|
|
||||||
@@ -185,7 +185,7 @@ val response = account.createVerification('https://example.com')
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setLocale('fr') // Your locale
|
.setLocale('fr') // Your locale
|
||||||
|
|
||||||
|
|||||||
@@ -307,7 +307,7 @@ mutation.then((response) {
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
let graphql = Graphql(client)
|
let graphql = Graphql(client)
|
||||||
@@ -348,7 +348,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Graphql
|
import io.appwrite.services.Graphql
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val graphql = Graphql(client)
|
val graphql = Graphql(client)
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ import Appwrite
|
|||||||
import AppwriteModels
|
import AppwriteModels
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
let realtime = Realtime(client)
|
let realtime = Realtime(client)
|
||||||
@@ -71,7 +71,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Realtime
|
import io.appwrite.services.Realtime
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
val realtime = Realtime(client)
|
val realtime = Realtime(client)
|
||||||
@@ -148,7 +148,7 @@ import Appwrite
|
|||||||
import AppwriteModels
|
import AppwriteModels
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
let realtime = Realtime(client)
|
let realtime = Realtime(client)
|
||||||
@@ -164,7 +164,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Realtime
|
import io.appwrite.services.Realtime
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
val realtime = Realtime(client)
|
val realtime = Realtime(client)
|
||||||
@@ -219,7 +219,7 @@ import Appwrite
|
|||||||
import AppwriteModels
|
import AppwriteModels
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
let realtime = Realtime(client)
|
let realtime = Realtime(client)
|
||||||
@@ -235,7 +235,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Realtime
|
import io.appwrite.services.Realtime
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
val realtime = Realtime(client)
|
val realtime = Realtime(client)
|
||||||
|
|
||||||
@@ -308,7 +308,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Realtime
|
import io.appwrite.services.Realtime
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
val realtime = Realtime(client)
|
val realtime = Realtime(client)
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ final user = await account.updatePrefs(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
let account = Account(client)
|
let account = Account(client)
|
||||||
@@ -81,7 +81,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Account
|
import io.appwrite.services.Account
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val account = Account(client)
|
val account = Account(client)
|
||||||
@@ -144,7 +144,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Account
|
import io.appwrite.services.Account
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val account = Account(client)
|
val account = Account(client)
|
||||||
@@ -155,7 +155,7 @@ val prefs = account.getPrefs()
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
let account = Account(client)
|
let account = Account(client)
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ final user = await account.createAnonymousSession();
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
let account = Account(client)
|
let account = Account(client)
|
||||||
@@ -57,7 +57,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Account
|
import io.appwrite.services.Account
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val account = Account(client)
|
val account = Account(client)
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.Users
|
import io.appwrite.Users
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>") // Your project API key
|
.setKey("<API_KEY>") // Your project API key
|
||||||
|
|
||||||
@@ -123,7 +123,7 @@ val secret = token.secret
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>") // Your project API key
|
.setKey("<API_KEY>") // Your project API key
|
||||||
|
|
||||||
@@ -137,7 +137,7 @@ let secret = token.secret
|
|||||||
using Appwrite;
|
using Appwrite;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("<API_KEY>"); // Your project API key
|
.SetKey("<API_KEY>"); // Your project API key
|
||||||
|
|
||||||
@@ -195,7 +195,7 @@ final session = await account.createSession(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>");
|
.setProject("<PROJECT_ID>");
|
||||||
|
|
||||||
let account = Account(client);
|
let account = Account(client);
|
||||||
@@ -211,7 +211,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Account
|
import io.appwrite.services.Account
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>");
|
.setProject("<PROJECT_ID>");
|
||||||
|
|
||||||
val account = Account(client);
|
val account = Account(client);
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ final userId = sessionToken.userId;
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>");
|
.setProject("<PROJECT_ID>");
|
||||||
|
|
||||||
let account = Account(client);
|
let account = Account(client);
|
||||||
@@ -82,7 +82,7 @@ import io.appwrite.services.Account
|
|||||||
import io.appwrite.ID
|
import io.appwrite.ID
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>");
|
.setProject("<PROJECT_ID>");
|
||||||
|
|
||||||
val account = Account(client);
|
val account = Account(client);
|
||||||
@@ -146,7 +146,7 @@ final session = await account.createSession(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>");
|
.setProject("<PROJECT_ID>");
|
||||||
|
|
||||||
let account = Account(client);
|
let account = Account(client);
|
||||||
@@ -162,7 +162,7 @@ import io.appwrite.services.Account
|
|||||||
import io.appwrite.ID
|
import io.appwrite.ID
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>");
|
.setProject("<PROJECT_ID>");
|
||||||
|
|
||||||
val account = Account(client);
|
val account = Account(client);
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ final jwt = await account.createJWT();
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
let account = Account(client)
|
let account = Account(client)
|
||||||
@@ -61,7 +61,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Account
|
import io.appwrite.services.Account
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val account = Account(client)
|
val account = Account(client)
|
||||||
@@ -144,7 +144,7 @@ final client = Client()
|
|||||||
import io.appwrite.Client
|
import io.appwrite.Client
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setJWT("eyJJ9.eyJ...886ca") // Your secret JSON Web Token
|
.setJWT("eyJJ9.eyJ...886ca") // Your secret JSON Web Token
|
||||||
```
|
```
|
||||||
@@ -153,7 +153,7 @@ val client = Client()
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setJWT("eyJJ9.eyJ...886ca") // Your secret JSON Web Token
|
.setJWT("eyJJ9.eyJ...886ca") // Your secret JSON Web Token
|
||||||
```
|
```
|
||||||
@@ -162,7 +162,7 @@ let client = Client()
|
|||||||
using Appwrite;
|
using Appwrite;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetJWT("eyJJ9.eyJ...886ca"); // Your secret JSON Web Token
|
.SetJWT("eyJJ9.eyJ...886ca"); // Your secret JSON Web Token
|
||||||
```
|
```
|
||||||
@@ -295,7 +295,7 @@ final documents = await databases.listDocuments(
|
|||||||
import io.appwrite.Client
|
import io.appwrite.Client
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setJWT("eyJJ9.eyJ...886ca") // Your secret JSON Web Token
|
.setJWT("eyJJ9.eyJ...886ca") // Your secret JSON Web Token
|
||||||
|
|
||||||
@@ -311,7 +311,7 @@ val documents = databases.listDocuments(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setJWT("eyJJ9.eyJ...886ca") // Your secret JSON Web Token
|
.setJWT("eyJJ9.eyJ...886ca") // Your secret JSON Web Token
|
||||||
|
|
||||||
@@ -329,7 +329,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetJWT("eyJJ9.eyJ...886ca"); // Your secret JSON Web Token
|
.SetJWT("eyJJ9.eyJ...886ca"); // Your secret JSON Web Token
|
||||||
|
|
||||||
@@ -474,7 +474,7 @@ final documents = await databases.listDocuments(
|
|||||||
import io.appwrite.Client
|
import io.appwrite.Client
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey('98fd4...a2ad2'); // Your secret API key
|
.setKey('98fd4...a2ad2'); // Your secret API key
|
||||||
|
|
||||||
@@ -490,7 +490,7 @@ val documents = databases.listDocuments(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey('98fd4...a2ad2'); // Your secret API key
|
.setKey('98fd4...a2ad2'); // Your secret API key
|
||||||
|
|
||||||
@@ -508,7 +508,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey('98fd4...a2ad2'); // Your secret API key
|
.SetKey('98fd4...a2ad2'); // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ import io.appwrite.Role
|
|||||||
import io.appwrite.services.Users
|
import io.appwrite.services.Users
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("98fd4...a2ad2") // Your secret API key
|
.setKey("98fd4...a2ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -145,7 +145,7 @@ val response = users.updateLabels(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("98fd4...a2ad2") // Your secret API key
|
.setKey("98fd4...a2ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -161,7 +161,7 @@ let response = try await users.updateLabels(
|
|||||||
using Appwrite;
|
using Appwrite;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("98fd4...a2ad2"); // Your secret API key
|
.SetKey("98fd4...a2ad2"); // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ void main() { // Init SDK
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
let account = Account(client)
|
let account = Account(client)
|
||||||
@@ -68,7 +68,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Account
|
import io.appwrite.services.Account
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val account = Account(client)
|
val account = Account(client)
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ import Appwrite
|
|||||||
import AppwriteEnums
|
import AppwriteEnums
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
let account = Account(client)
|
let account = Account(client)
|
||||||
@@ -139,7 +139,7 @@ import io.appwrite.services.Account
|
|||||||
import io.appwrite.enums.OAuthProvider
|
import io.appwrite.enums.OAuthProvider
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val account = Account(client)
|
val account = Account(client)
|
||||||
@@ -201,7 +201,7 @@ print(session.providerAccessToken);
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
let account = Account(client)
|
let account = Account(client)
|
||||||
@@ -220,7 +220,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Account
|
import io.appwrite.services.Account
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val account = Account(client)
|
val account = Account(client)
|
||||||
@@ -285,7 +285,7 @@ final result = await account.updateSession(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
let account = Account(client)
|
let account = Account(client)
|
||||||
@@ -299,7 +299,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Account
|
import io.appwrite.services.Account
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val account = Account(client)
|
val account = Account(client)
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ final userId = token.userId;
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>");
|
.setProject("<PROJECT_ID>");
|
||||||
|
|
||||||
let account = Account(client);
|
let account = Account(client);
|
||||||
@@ -72,7 +72,7 @@ import io.appwrite.services.Account
|
|||||||
import io.appwrite.ID
|
import io.appwrite.ID
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>");
|
.setProject("<PROJECT_ID>");
|
||||||
|
|
||||||
val account = Account(client);
|
val account = Account(client);
|
||||||
@@ -137,7 +137,7 @@ final session = await account.createSession(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>");
|
.setProject("<PROJECT_ID>");
|
||||||
|
|
||||||
let account = Account(client);
|
let account = Account(client);
|
||||||
@@ -153,7 +153,7 @@ import io.appwrite.services.Account
|
|||||||
import io.appwrite.ID
|
import io.appwrite.ID
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>");
|
.setProject("<PROJECT_ID>");
|
||||||
|
|
||||||
val account = Account(client);
|
val account = Account(client);
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ final user = await account.create(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
let account = Account(client)
|
let account = Account(client)
|
||||||
@@ -61,7 +61,7 @@ import io.appwrite.services.Account
|
|||||||
import io.appwrite.ID
|
import io.appwrite.ID
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val account = Account(client)
|
val account = Account(client)
|
||||||
@@ -501,7 +501,7 @@ class Appwrite {
|
|||||||
|
|
||||||
public init() {
|
public init() {
|
||||||
self.client = Client()
|
self.client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
self.account = Account(client)
|
self.account = Account(client)
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ void main() { // Init SDK
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
let teams = Teams(client)
|
let teams = Teams(client)
|
||||||
@@ -85,7 +85,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Teams
|
import io.appwrite.services.Teams
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val teams = Teams(client)
|
val teams = Teams(client)
|
||||||
@@ -157,7 +157,7 @@ void main() { // Init SDK
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
let teams = Teams(client)
|
let teams = Teams(client)
|
||||||
@@ -173,7 +173,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Teams
|
import io.appwrite.services.Teams
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val teams = Teams(client)
|
val teams = Teams(client)
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -166,7 +166,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Databases
|
import io.appwrite.services.Databases
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -184,7 +184,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Databases;
|
import io.appwrite.services.Databases;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -208,7 +208,7 @@ databases.createCollection(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -159,7 +159,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Databases
|
import io.appwrite.services.Databases
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -176,7 +176,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Databases;
|
import io.appwrite.services.Databases;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -199,7 +199,7 @@ databases.create(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ import AppwriteModels
|
|||||||
|
|
||||||
func main() async throws {
|
func main() async throws {
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
let databases = Databases(client)
|
let databases = Databases(client)
|
||||||
@@ -88,7 +88,7 @@ import io.appwrite.services.Databases
|
|||||||
|
|
||||||
suspend fun main() {
|
suspend fun main() {
|
||||||
val client = Client(applicationContext)
|
val client = Client(applicationContext)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
val databases = Databases(client)
|
val databases = Databases(client)
|
||||||
@@ -148,7 +148,7 @@ You can change this through [pagination](/docs/products/databases/pagination).
|
|||||||
import { Client, Databases, Query } from "appwrite";
|
import { Client, Databases, Query } from "appwrite";
|
||||||
|
|
||||||
const client = new Client()
|
const client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
const databases = new Databases(client);
|
const databases = new Databases(client);
|
||||||
@@ -172,7 +172,7 @@ import 'package:appwrite/appwrite.dart';
|
|||||||
|
|
||||||
void main() async {
|
void main() async {
|
||||||
final client = Client()
|
final client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
final databases = Databases(client);
|
final databases = Databases(client);
|
||||||
@@ -196,7 +196,7 @@ import AppwriteModels
|
|||||||
|
|
||||||
func main() async throws {
|
func main() async throws {
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
let databases = Databases(client)
|
let databases = Databases(client)
|
||||||
@@ -221,7 +221,7 @@ import io.appwrite.services.Databases
|
|||||||
|
|
||||||
suspend fun main() {
|
suspend fun main() {
|
||||||
val client = Client(applicationContext)
|
val client = Client(applicationContext)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
val databases = Databases(client)
|
val databases = Databases(client)
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ import AppwriteModels
|
|||||||
|
|
||||||
func main() async throws {
|
func main() async throws {
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
let databases = Databases(client)
|
let databases = Databases(client)
|
||||||
@@ -115,7 +115,7 @@ import io.appwrite.services.Databases
|
|||||||
|
|
||||||
suspend fun main() {
|
suspend fun main() {
|
||||||
val client = Client(applicationContext)
|
val client = Client(applicationContext)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
val databases = Databases(client)
|
val databases = Databases(client)
|
||||||
@@ -160,7 +160,7 @@ Pass the first document's ID into the `Query.cursorBefore(firstId)` query method
|
|||||||
import { Databases, Query } from "appwrite";
|
import { Databases, Query } from "appwrite";
|
||||||
|
|
||||||
const client = new Client()
|
const client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>");
|
.setProject("<PROJECT_ID>");
|
||||||
|
|
||||||
const databases = new Databases(client);
|
const databases = new Databases(client);
|
||||||
@@ -224,7 +224,7 @@ import AppwriteModels
|
|||||||
|
|
||||||
func main() async throws {
|
func main() async throws {
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
let databases = Databases(client)
|
let databases = Databases(client)
|
||||||
@@ -258,7 +258,7 @@ import io.appwrite.services.Databases
|
|||||||
|
|
||||||
suspend fun main() {
|
suspend fun main() {
|
||||||
val client = Client(applicationContext)
|
val client = Client(applicationContext)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
val databases = Databases(client)
|
val databases = Databases(client)
|
||||||
|
|||||||
@@ -354,7 +354,7 @@ import AppwriteModels
|
|||||||
|
|
||||||
func main() async throws {
|
func main() async throws {
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
let databases = Databases(client)
|
let databases = Databases(client)
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ import AppwriteModels
|
|||||||
|
|
||||||
func main() async throws {
|
func main() async throws {
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
let databases = Databases(client)
|
let databases = Databases(client)
|
||||||
@@ -102,7 +102,7 @@ import io.appwrite.services.Databases
|
|||||||
|
|
||||||
suspend fun main() {
|
suspend fun main() {
|
||||||
val client = Client(applicationContext)
|
val client = Client(applicationContext)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
val databases = Databases(client)
|
val databases = Databases(client)
|
||||||
@@ -146,7 +146,7 @@ Like the previous step, replace `<PROJECT_ID>`, `<DATABASE_ID>`, and`<COLLECTION
|
|||||||
import { Client, Databases, Query } from "appwrite";
|
import { Client, Databases, Query } from "appwrite";
|
||||||
|
|
||||||
const client = new Client()
|
const client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
const databases = new Databases(client);
|
const databases = new Databases(client);
|
||||||
@@ -170,7 +170,7 @@ import 'package:appwrite/appwrite.dart';
|
|||||||
|
|
||||||
void main() async {
|
void main() async {
|
||||||
final client = Client()
|
final client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
final databases = Databases(client);
|
final databases = Databases(client);
|
||||||
@@ -194,7 +194,7 @@ import AppwriteModels
|
|||||||
|
|
||||||
func main() async throws{
|
func main() async throws{
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
let databases = Databases(client)
|
let databases = Databases(client)
|
||||||
@@ -219,7 +219,7 @@ import io.appwrite.services.Databases
|
|||||||
|
|
||||||
suspend fun main() {
|
suspend fun main() {
|
||||||
val client = Client(applicationContext)
|
val client = Client(applicationContext)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
val databases = Databases(client)
|
val databases = Databases(client)
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ databases.create_relationship_attribute(
|
|||||||
import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts";
|
import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts";
|
||||||
|
|
||||||
const client = new Client()
|
const client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>"); // Your project ID
|
.setProject("<PROJECT_ID>"); // Your project ID
|
||||||
|
|
||||||
const databases = new Databases(client);
|
const databases = new Databases(client);
|
||||||
@@ -224,7 +224,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Databases
|
import io.appwrite.services.Databases
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val databases = Databases(client)
|
val databases = Databases(client)
|
||||||
@@ -246,7 +246,7 @@ databases.createRelationshipAttribute(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
let databases = Databases(client)
|
let databases = Databases(client)
|
||||||
@@ -271,7 +271,7 @@ using Appwrite;
|
|||||||
using Appwrite.Services;
|
using Appwrite.Services;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndpoint("https://[region].cloud.appwrite.io/v1")
|
.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.SetProject("<PROJECT_ID>");
|
.SetProject("<PROJECT_ID>");
|
||||||
|
|
||||||
var databases = new Databases(client);
|
var databases = new Databases(client);
|
||||||
@@ -351,7 +351,7 @@ await databases.createDocument(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
let databases = Database(client: client)
|
let databases = Database(client: client)
|
||||||
@@ -377,7 +377,7 @@ import io.appwrite.services.Database
|
|||||||
import io.appwrite.ID
|
import io.appwrite.ID
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val databases = Database(client)
|
val databases = Database(client)
|
||||||
@@ -460,7 +460,7 @@ await databases.createDocument(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
let databases = Database(client: client)
|
let databases = Database(client: client)
|
||||||
@@ -486,7 +486,7 @@ import io.appwrite.services.Database
|
|||||||
import io.appwrite.ID
|
import io.appwrite.ID
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val databases = Database(client)
|
val databases = Database(client)
|
||||||
@@ -568,7 +568,7 @@ await databases.updateDocument(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
let databases = Database(client: client)
|
let databases = Database(client: client)
|
||||||
@@ -593,7 +593,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Database
|
import io.appwrite.services.Database
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
val databases = Database(client)
|
val databases = Database(client)
|
||||||
@@ -671,7 +671,7 @@ await databases.deleteDocument(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
let databases = Database(client: client)
|
let databases = Database(client: client)
|
||||||
@@ -688,7 +688,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Database
|
import io.appwrite.services.Database
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
val databases = Database(client)
|
val databases = Database(client)
|
||||||
@@ -771,7 +771,7 @@ await databases.createDocument(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
let databases = Database(client: client)
|
let databases = Database(client: client)
|
||||||
@@ -799,7 +799,7 @@ databases.createDocument(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
let databases = Database(client: client)
|
let databases = Database(client: client)
|
||||||
|
|||||||
@@ -229,7 +229,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -283,7 +283,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -313,7 +313,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -341,7 +341,7 @@ messaging.updateApnsProvider(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -259,7 +259,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -286,7 +286,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -311,7 +311,7 @@ messaging.updateFCMProvider(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ using Appwrite.Enums;
|
|||||||
using Appwrite.Enums;
|
using Appwrite.Enums;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("<API_KEY>"); // Your secret API key
|
.SetKey("<API_KEY>"); // Your secret API key
|
||||||
|
|
||||||
@@ -221,7 +221,7 @@ import io.appwrite.coroutines.CoroutineCallback
|
|||||||
import io.appwrite.services.Messaging
|
import io.appwrite.services.Messaging
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>") // Your secret API key
|
.setKey("<API_KEY>") // Your secret API key
|
||||||
|
|
||||||
@@ -239,7 +239,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>"); // Your secret API key
|
.setKey("<API_KEY>"); // Your secret API key
|
||||||
|
|
||||||
@@ -263,7 +263,7 @@ messaging.createEmail(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>") // Your secret API key
|
.setKey("<API_KEY>") // Your secret API key
|
||||||
|
|
||||||
@@ -457,7 +457,7 @@ using Appwrite.Models;
|
|||||||
using Appwrite.Enums;
|
using Appwrite.Enums;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("<API_KEY>"); // Your secret API key
|
.SetKey("<API_KEY>"); // Your secret API key
|
||||||
|
|
||||||
@@ -518,7 +518,7 @@ import io.appwrite.coroutines.CoroutineCallback
|
|||||||
import io.appwrite.services.Messaging
|
import io.appwrite.services.Messaging
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>") // Your secret API key
|
.setKey("<API_KEY>") // Your secret API key
|
||||||
|
|
||||||
@@ -544,7 +544,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>"); // Your secret API key
|
.setKey("<API_KEY>"); // Your secret API key
|
||||||
|
|
||||||
@@ -575,7 +575,7 @@ messaging.updateSendgridProvider(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>") // Your secret API key
|
.setKey("<API_KEY>") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -391,7 +391,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -461,7 +461,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -499,7 +499,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -535,7 +535,7 @@ messaging.createPush(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -716,7 +716,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -778,7 +778,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -812,7 +812,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -844,7 +844,7 @@ messaging.createEmail(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -1001,7 +1001,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -1055,7 +1055,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -1085,7 +1085,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -1113,7 +1113,7 @@ messaging.createSms(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -194,7 +194,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -248,7 +248,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -278,7 +278,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -306,7 +306,7 @@ messaging.createSms(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -465,7 +465,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -517,7 +517,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -546,7 +546,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -573,7 +573,7 @@ messaging.updateMsg91Provider(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ using Appwrite.Models;
|
|||||||
using Appwrite.Enums;
|
using Appwrite.Enums;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -197,7 +197,7 @@ import io.appwrite.services.Users
|
|||||||
import io.appwrite.enums.MessagingProviderType
|
import io.appwrite.enums.MessagingProviderType
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -220,7 +220,7 @@ import io.appwrite.services.Users;
|
|||||||
import io.appwrite.enums.MessagingProviderType;
|
import io.appwrite.enums.MessagingProviderType;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -248,7 +248,7 @@ import Appwrite
|
|||||||
import AppwriteEnums
|
import AppwriteEnums
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -381,7 +381,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -425,7 +425,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -450,7 +450,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -473,7 +473,7 @@ messaging.createTopic(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -638,7 +638,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -700,7 +700,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -734,7 +734,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -766,7 +766,7 @@ messaging.createEmail(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -940,7 +940,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2");// Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2");// Your secret API key
|
||||||
|
|
||||||
@@ -1002,7 +1002,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -1036,7 +1036,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2");// Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2");// Your secret API key
|
||||||
|
|
||||||
@@ -1068,7 +1068,7 @@ messaging.createEmail(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -632,7 +632,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -701,7 +701,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Messaging
|
import io.appwrite.services.Messaging
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -731,7 +731,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -767,7 +767,7 @@ messaging.createPush(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ using Appwrite.Models;
|
|||||||
using Appwrite.Enums;
|
using Appwrite.Enums;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -206,7 +206,7 @@ import io.appwrite.services.Users
|
|||||||
import io.appwrite.enums.MessagingProviderType
|
import io.appwrite.enums.MessagingProviderType
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -229,7 +229,7 @@ import io.appwrite.services.Users;
|
|||||||
import io.appwrite.enums.MessagingProviderType;
|
import io.appwrite.enums.MessagingProviderType;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -257,7 +257,7 @@ import Appwrite
|
|||||||
import AppwriteEnums
|
import AppwriteEnums
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -375,7 +375,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -408,7 +408,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
val client = new Client()
|
val client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -425,7 +425,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -448,7 +448,7 @@ messaging.createTopic(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -581,7 +581,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -624,7 +624,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -646,7 +646,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -674,7 +674,7 @@ messaging.createSms(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -810,7 +810,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -853,7 +853,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -875,7 +875,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -903,7 +903,7 @@ messaging.createSms(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ using Appwrite.Enums;
|
|||||||
using Appwrite.Enums;
|
using Appwrite.Enums;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("<API_KEY>"); // Your secret API key
|
.SetKey("<API_KEY>"); // Your secret API key
|
||||||
|
|
||||||
@@ -214,7 +214,7 @@ import io.appwrite.coroutines.CoroutineCallback
|
|||||||
import io.appwrite.services.Messaging
|
import io.appwrite.services.Messaging
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>") // Your secret API key
|
.setKey("<API_KEY>") // Your secret API key
|
||||||
|
|
||||||
@@ -232,7 +232,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>"); // Your secret API key
|
.setKey("<API_KEY>"); // Your secret API key
|
||||||
|
|
||||||
@@ -256,7 +256,7 @@ messaging.createEmail(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>") // Your secret API key
|
.setKey("<API_KEY>") // Your secret API key
|
||||||
|
|
||||||
@@ -420,7 +420,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("<YOUR_API_KEY>"); // Your secret API key
|
.SetKey("<YOUR_API_KEY>"); // Your secret API key
|
||||||
|
|
||||||
@@ -476,7 +476,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<YOUR_API_KEY>"); // Your secret API key
|
.setKey("<YOUR_API_KEY>"); // Your secret API key
|
||||||
|
|
||||||
@@ -507,7 +507,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<YOUR_API_KEY>"); // Your secret API key
|
.setKey("<YOUR_API_KEY>"); // Your secret API key
|
||||||
|
|
||||||
@@ -536,7 +536,7 @@ messaging.updateSendgridProvider(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<YOUR_API_KEY>") // Your secret API key
|
.setKey("<YOUR_API_KEY>") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -177,7 +177,7 @@ using Appwrite.Enums;
|
|||||||
using Appwrite.Enums;
|
using Appwrite.Enums;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("<API_KEY>"); // Your secret API key
|
.SetKey("<API_KEY>"); // Your secret API key
|
||||||
|
|
||||||
@@ -223,7 +223,7 @@ import io.appwrite.coroutines.CoroutineCallback
|
|||||||
import io.appwrite.services.Messaging
|
import io.appwrite.services.Messaging
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>") // Your secret API key
|
.setKey("<API_KEY>") // Your secret API key
|
||||||
|
|
||||||
@@ -241,7 +241,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>"); // Your secret API key
|
.setKey("<API_KEY>"); // Your secret API key
|
||||||
|
|
||||||
@@ -265,7 +265,7 @@ messaging.createEmail(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>") // Your secret API key
|
.setKey("<API_KEY>") // Your secret API key
|
||||||
|
|
||||||
@@ -459,7 +459,7 @@ using Appwrite.Models;
|
|||||||
using Appwrite.Enums;
|
using Appwrite.Enums;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("<API_KEY>"); // Your secret API key
|
.SetKey("<API_KEY>"); // Your secret API key
|
||||||
|
|
||||||
@@ -520,7 +520,7 @@ import io.appwrite.coroutines.CoroutineCallback
|
|||||||
import io.appwrite.services.Messaging
|
import io.appwrite.services.Messaging
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>") // Your secret API key
|
.setKey("<API_KEY>") // Your secret API key
|
||||||
|
|
||||||
@@ -546,7 +546,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>"); // Your secret API key
|
.setKey("<API_KEY>"); // Your secret API key
|
||||||
|
|
||||||
@@ -577,7 +577,7 @@ messaging.updateSendgridProvider(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("<API_KEY>") // Your secret API key
|
.setKey("<API_KEY>") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -247,7 +247,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -277,7 +277,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -305,7 +305,7 @@ messaging.createSms(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -463,7 +463,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -515,7 +515,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -544,7 +544,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -571,7 +571,7 @@ messaging.updateTelesignProvider(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -247,7 +247,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -277,7 +277,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -305,7 +305,7 @@ messaging.createSms(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -463,7 +463,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -515,7 +515,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -544,7 +544,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -571,7 +571,7 @@ messaging.updateTextmagicProvider(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -200,7 +200,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -226,7 +226,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -250,7 +250,7 @@ messaging.createTopic(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -409,7 +409,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetJWT("eyJhbVCJ9.eyJ..."); // Your secret JSON Web Token
|
.SetJWT("eyJhbVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||||
|
|
||||||
@@ -444,7 +444,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setJWT("eyJhbVCJ9.eyJ...") // Your secret JSON Web Token
|
.setJWT("eyJhbVCJ9.eyJ...") // Your secret JSON Web Token
|
||||||
|
|
||||||
@@ -462,7 +462,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setJWT("eyJhbVCJ9.eyJ..."); // Your secret JSON Web Token
|
.setJWT("eyJhbVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||||
|
|
||||||
@@ -486,7 +486,7 @@ messaging.createSubscriber(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setJWT("eyJhbVCJ9.eyJ...") // Your secret JSON Web Token
|
.setJWT("eyJhbVCJ9.eyJ...") // Your secret JSON Web Token
|
||||||
|
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -249,7 +249,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -279,7 +279,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -307,7 +307,7 @@ messaging.createSms(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -463,7 +463,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -515,7 +515,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -544,7 +544,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -571,7 +571,7 @@ messaging.updateTwilioProvider(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -249,7 +249,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -279,7 +279,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -307,7 +307,7 @@ messaging.createSms(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -465,7 +465,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -517,7 +517,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -546,7 +546,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Messaging;
|
import io.appwrite.services.Messaging;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -573,7 +573,7 @@ messaging.updateVonageProvider(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ using Appwrite.Services;
|
|||||||
using Appwrite.Models;
|
using Appwrite.Models;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -169,7 +169,7 @@ import io.appwrite.Client
|
|||||||
import io.appwrite.services.Storage
|
import io.appwrite.services.Storage
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
@@ -186,7 +186,7 @@ import io.appwrite.coroutines.CoroutineCallback;
|
|||||||
import io.appwrite.services.Storage;
|
import io.appwrite.services.Storage;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||||
|
|
||||||
@@ -209,7 +209,7 @@ storage.createBucket(
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
.setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
|
||||||
|
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ import Appwrite
|
|||||||
|
|
||||||
func main() async throws {
|
func main() async throws {
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
let storage = Storage(client)
|
let storage = Storage(client)
|
||||||
let byteBuffer = try await storage.getFilePreview(
|
let byteBuffer = try await storage.getFilePreview(
|
||||||
@@ -159,7 +159,7 @@ class MainActivity : AppCompatActivity() {
|
|||||||
setContentView(R.layout.activity_main)
|
setContentView(R.layout.activity_main)
|
||||||
|
|
||||||
val client = Client(applicationContext)
|
val client = Client(applicationContext)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val storage = Storage(client)
|
val storage = Storage(client)
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ To upload a file, add this to you web, Flutter, Apple, or Android app.
|
|||||||
|
|
||||||
func main() async throws {
|
func main() async throws {
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
let storage = Storage(client)
|
let storage = Storage(client)
|
||||||
@@ -84,7 +84,7 @@ To upload a file, add this to you web, Flutter, Apple, or Android app.
|
|||||||
|
|
||||||
suspend fun main() {
|
suspend fun main() {
|
||||||
val client = Client(applicationContext)
|
val client = Client(applicationContext)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val storage = Storage(client)
|
val storage = Storage(client)
|
||||||
@@ -186,7 +186,7 @@ import Appwrite
|
|||||||
|
|
||||||
func main() async throws {
|
func main() async throws {
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
let storage = Storage(client)
|
let storage = Storage(client)
|
||||||
let byteBuffer = try await storage.getFileDownload(
|
let byteBuffer = try await storage.getFileDownload(
|
||||||
@@ -211,7 +211,7 @@ class MainActivity : AppCompatActivity() {
|
|||||||
setContentView(R.layout.activity_main)
|
setContentView(R.layout.activity_main)
|
||||||
|
|
||||||
val client = Client(applicationContext)
|
val client = Client(applicationContext)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val storage = Storage(client)
|
val storage = Storage(client)
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ You can also upload files programmatically using our SDKs:
|
|||||||
|
|
||||||
suspend fun main() {
|
suspend fun main() {
|
||||||
val client = Client(applicationContext)
|
val client = Client(applicationContext)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val storage = Storage(client)
|
val storage = Storage(client)
|
||||||
@@ -79,7 +79,7 @@ You can also upload files programmatically using our SDKs:
|
|||||||
|
|
||||||
func main() async throws {
|
func main() async throws {
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
|
|
||||||
let storage = Storage(client)
|
let storage = Storage(client)
|
||||||
@@ -340,7 +340,7 @@ import Appwrite
|
|||||||
|
|
||||||
func main() async throws {
|
func main() async throws {
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
let storage = Storage(client)
|
let storage = Storage(client)
|
||||||
let byteBuffer = try await storage.getFile(
|
let byteBuffer = try await storage.getFile(
|
||||||
@@ -365,7 +365,7 @@ class MainActivity : AppCompatActivity() {
|
|||||||
setContentView(R.layout.activity_main)
|
setContentView(R.layout.activity_main)
|
||||||
|
|
||||||
val client = Client(applicationContext)
|
val client = Client(applicationContext)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val storage = Storage(client)
|
val storage = Storage(client)
|
||||||
@@ -443,7 +443,7 @@ import Appwrite
|
|||||||
|
|
||||||
func main() async throws {
|
func main() async throws {
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
let storage = Storage(client)
|
let storage = Storage(client)
|
||||||
let byteBuffer = try await storage.getFileDownload(
|
let byteBuffer = try await storage.getFileDownload(
|
||||||
@@ -468,7 +468,7 @@ class MainActivity : AppCompatActivity() {
|
|||||||
setContentView(R.layout.activity_main)
|
setContentView(R.layout.activity_main)
|
||||||
|
|
||||||
val client = Client(applicationContext)
|
val client = Client(applicationContext)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val storage = Storage(client)
|
val storage = Storage(client)
|
||||||
@@ -546,7 +546,7 @@ import Appwrite
|
|||||||
|
|
||||||
func main() async throws {
|
func main() async throws {
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
let storage = Storage(client)
|
let storage = Storage(client)
|
||||||
let byteBuffer = try await storage.getFilePreview(
|
let byteBuffer = try await storage.getFilePreview(
|
||||||
@@ -571,7 +571,7 @@ class MainActivity : AppCompatActivity() {
|
|||||||
setContentView(R.layout.activity_main)
|
setContentView(R.layout.activity_main)
|
||||||
|
|
||||||
val client = Client(applicationContext)
|
val client = Client(applicationContext)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val storage = Storage(client)
|
val storage = Storage(client)
|
||||||
@@ -650,7 +650,7 @@ import Appwrite
|
|||||||
|
|
||||||
func main() async throws {
|
func main() async throws {
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
let storage = Storage(client)
|
let storage = Storage(client)
|
||||||
let byteBuffer = try await storage.getFileView(
|
let byteBuffer = try await storage.getFileView(
|
||||||
@@ -675,7 +675,7 @@ class MainActivity : AppCompatActivity() {
|
|||||||
setContentView(R.layout.activity_main)
|
setContentView(R.layout.activity_main)
|
||||||
|
|
||||||
val client = Client(applicationContext)
|
val client = Client(applicationContext)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
|
|
||||||
val storage = Storage(client)
|
val storage = Storage(client)
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ object Appwrite {
|
|||||||
|
|
||||||
fun init(context: Context) {
|
fun init(context: Context) {
|
||||||
client = Client(context)
|
client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("[PROJECT_ID]")
|
.setProject("[PROJECT_ID]")
|
||||||
|
|
||||||
account = Account(client)
|
account = Account(client)
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ class Appwrite {
|
|||||||
|
|
||||||
public init() {
|
public init() {
|
||||||
self.client = Client()
|
self.client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("[PROJECT_ID]")
|
.setProject("[PROJECT_ID]")
|
||||||
|
|
||||||
self.account = Account(client)
|
self.account = Account(client)
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ var client = Client();
|
|||||||
|
|
||||||
Future<void> main() async {
|
Future<void> main() async {
|
||||||
client
|
client
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
.setKey("<YOUR_API_KEY>");
|
.setKey("<YOUR_API_KEY>");
|
||||||
}
|
}
|
||||||
@@ -200,7 +200,7 @@ Finally, revisit the `main()` function and call the functions created in previou
|
|||||||
```dart
|
```dart
|
||||||
Future<void> main() async {
|
Future<void> main() async {
|
||||||
client
|
client
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
.setKey("<YOUR_API_KEY>");
|
.setKey("<YOUR_API_KEY>");
|
||||||
|
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ import { Client, ID, Databases, Models } from "https://deno.land/x/appwrite/mod.
|
|||||||
const client: Client = new Client();
|
const client: Client = new Client();
|
||||||
|
|
||||||
client
|
client
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
.setKey("<YOUR_API_KEY>");
|
.setKey("<YOUR_API_KEY>");
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ using Appwrite.Services;
|
|||||||
var client = new Client();
|
var client = new Client();
|
||||||
|
|
||||||
client
|
client
|
||||||
.SetEndpoint("https://[region].cloud.appwrite.io/v1")
|
.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.SetProject("<PROJECT_ID>")
|
.SetProject("<PROJECT_ID>")
|
||||||
.SetKey("<YOUR_API_KEY>");
|
.SetKey("<YOUR_API_KEY>");
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ import 'package:appwrite/models.dart' as models;
|
|||||||
void main() {
|
void main() {
|
||||||
WidgetsFlutterBinding.ensureInitialized();
|
WidgetsFlutterBinding.ensureInitialized();
|
||||||
Client client = Client()
|
Client client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>");
|
.setProject("<PROJECT_ID>");
|
||||||
Account account = Account(client);
|
Account account = Account(client);
|
||||||
|
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ import io.appwrite.models.Collection
|
|||||||
import kotlinx.coroutines.coroutineScope
|
import kotlinx.coroutines.coroutineScope
|
||||||
|
|
||||||
val client = Client()
|
val client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
.setKey("<YOUR_API_KEY>");
|
.setKey("<YOUR_API_KEY>");
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ const sdk = require("node-appwrite");
|
|||||||
const client = new sdk.Client();
|
const client = new sdk.Client();
|
||||||
|
|
||||||
client
|
client
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
.setKey("<YOUR_API_KEY>");
|
.setKey("<YOUR_API_KEY>");
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ import Appwrite
|
|||||||
import AppwriteModels
|
import AppwriteModels
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>")
|
.setProject("<PROJECT_ID>")
|
||||||
.setKey("<YOUR_API_KEY>")
|
.setKey("<YOUR_API_KEY>")
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -114,14 +114,14 @@ client
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
```
|
```
|
||||||
```client-android-kotlin
|
```client-android-kotlin
|
||||||
import io.appwrite.Client
|
import io.appwrite.Client
|
||||||
|
|
||||||
val client = Client(context)
|
val client = Client(context)
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
```
|
```
|
||||||
{% /multicode %}
|
{% /multicode %}
|
||||||
@@ -195,7 +195,7 @@ using Appwrite;
|
|||||||
using Appwrite.Services;
|
using Appwrite.Services;
|
||||||
|
|
||||||
var client = new Client()
|
var client = new Client()
|
||||||
.SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.SetProject("<PROJECT_ID>") // Your project ID
|
.SetProject("<PROJECT_ID>") // Your project ID
|
||||||
.SetJWT("<YOUR_API_KEY>"); // Your secret JSON Web Token
|
.SetJWT("<YOUR_API_KEY>"); // Your secret JSON Web Token
|
||||||
```
|
```
|
||||||
@@ -217,7 +217,7 @@ import io.appwrite.Client;
|
|||||||
import io.appwrite.coroutines.CoroutineCallback;
|
import io.appwrite.coroutines.CoroutineCallback;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setJWT("<YOUR_API_KEY>"); // Your secret JSON Web Token
|
.setJWT("<YOUR_API_KEY>"); // Your secret JSON Web Token
|
||||||
```
|
```
|
||||||
@@ -226,7 +226,7 @@ import io.appwrite.Client;
|
|||||||
import io.appwrite.coroutines.CoroutineCallback;
|
import io.appwrite.coroutines.CoroutineCallback;
|
||||||
|
|
||||||
Client client = new Client()
|
Client client = new Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setJWT("<YOUR_API_KEY>"); // Your secret JSON Web Token
|
.setJWT("<YOUR_API_KEY>"); // Your secret JSON Web Token
|
||||||
```
|
```
|
||||||
@@ -234,7 +234,7 @@ Client client = new Client()
|
|||||||
import Appwrite
|
import Appwrite
|
||||||
|
|
||||||
let client = Client()
|
let client = Client()
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||||
.setProject("<PROJECT_ID>") // Your project ID
|
.setProject("<PROJECT_ID>") // Your project ID
|
||||||
.setJWT("<YOUR_API_KEY>") // Your secret JSON Web Token
|
.setJWT("<YOUR_API_KEY>") // Your secret JSON Web Token
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ import { Client, Databases, Account } from "react-native-appwrite";
|
|||||||
|
|
||||||
const client = new Client();
|
const client = new Client();
|
||||||
client
|
client
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>") // Replace with your project ID
|
.setProject("<PROJECT_ID>") // Replace with your project ID
|
||||||
.setPlatform('com.example.idea-tracker');
|
.setPlatform('com.example.idea-tracker');
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ import { Client, Databases, Account } from "appwrite";
|
|||||||
|
|
||||||
const client = new Client();
|
const client = new Client();
|
||||||
client
|
client
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>"); // Replace with your project ID
|
.setProject("<PROJECT_ID>"); // Replace with your project ID
|
||||||
|
|
||||||
export const account = new Account(client);
|
export const account = new Account(client);
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ import { Client, Databases, Account } from "appwrite";
|
|||||||
|
|
||||||
const client = new Client();
|
const client = new Client();
|
||||||
client
|
client
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>"); // Replace with your project ID
|
.setProject("<PROJECT_ID>"); // Replace with your project ID
|
||||||
|
|
||||||
export const account = new Account(client);
|
export const account = new Account(client);
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ import { Client, Databases, Account } from "appwrite";
|
|||||||
|
|
||||||
const client = new Client();
|
const client = new Client();
|
||||||
client
|
client
|
||||||
.setEndpoint("https://[region].cloud.appwrite.io/v1")
|
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||||
.setProject("<PROJECT_ID>"); // Replace with your project ID
|
.setProject("<PROJECT_ID>"); // Replace with your project ID
|
||||||
|
|
||||||
export const account = new Account(client);
|
export const account = new Account(client);
|
||||||
|
|||||||
Reference in New Issue
Block a user