mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
chore: sync sdk examples after spec changes
This commit is contained in:
@@ -60634,8 +60634,8 @@
|
||||
},
|
||||
"logs": {
|
||||
"type": "string",
|
||||
"description": "Certificate generation logs. This will return an empty string if generation did not run, or succeeded.",
|
||||
"x-example": "HTTP challegne failed."
|
||||
"description": "Logs from rule verification or certificate generation. Certificate generation logs are prioritized if both are available.",
|
||||
"x-example": "Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record."
|
||||
},
|
||||
"renewAt": {
|
||||
"type": "string",
|
||||
@@ -60674,7 +60674,7 @@
|
||||
"deploymentResourceId": "n3u9feiwmf",
|
||||
"deploymentVcsProviderBranch": "main",
|
||||
"status": "verified",
|
||||
"logs": "HTTP challegne failed.",
|
||||
"logs": "Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record.",
|
||||
"renewAt": "datetime"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -60634,8 +60634,8 @@
|
||||
},
|
||||
"logs": {
|
||||
"type": "string",
|
||||
"description": "Certificate generation logs. This will return an empty string if generation did not run, or succeeded.",
|
||||
"x-example": "HTTP challegne failed."
|
||||
"description": "Logs from rule verification or certificate generation. Certificate generation logs are prioritized if both are available.",
|
||||
"x-example": "Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record."
|
||||
},
|
||||
"renewAt": {
|
||||
"type": "string",
|
||||
@@ -60674,7 +60674,7 @@
|
||||
"deploymentResourceId": "n3u9feiwmf",
|
||||
"deploymentVcsProviderBranch": "main",
|
||||
"status": "verified",
|
||||
"logs": "HTTP challegne failed.",
|
||||
"logs": "Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record.",
|
||||
"renewAt": "datetime"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -60568,8 +60568,8 @@
|
||||
},
|
||||
"logs": {
|
||||
"type": "string",
|
||||
"description": "Certificate generation logs. This will return an empty string if generation did not run, or succeeded.",
|
||||
"x-example": "HTTP challegne failed."
|
||||
"description": "Logs from rule verification or certificate generation. Certificate generation logs are prioritized if both are available.",
|
||||
"x-example": "Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record."
|
||||
},
|
||||
"renewAt": {
|
||||
"type": "string",
|
||||
@@ -60608,7 +60608,7 @@
|
||||
"deploymentResourceId": "n3u9feiwmf",
|
||||
"deploymentVcsProviderBranch": "main",
|
||||
"status": "verified",
|
||||
"logs": "HTTP challegne failed.",
|
||||
"logs": "Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record.",
|
||||
"renewAt": "datetime"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -60568,8 +60568,8 @@
|
||||
},
|
||||
"logs": {
|
||||
"type": "string",
|
||||
"description": "Certificate generation logs. This will return an empty string if generation did not run, or succeeded.",
|
||||
"x-example": "HTTP challegne failed."
|
||||
"description": "Logs from rule verification or certificate generation. Certificate generation logs are prioritized if both are available.",
|
||||
"x-example": "Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record."
|
||||
},
|
||||
"renewAt": {
|
||||
"type": "string",
|
||||
@@ -60608,7 +60608,7 @@
|
||||
"deploymentResourceId": "n3u9feiwmf",
|
||||
"deploymentVcsProviderBranch": "main",
|
||||
"status": "verified",
|
||||
"logs": "HTTP challegne failed.",
|
||||
"logs": "Verification of DNS records failed with DNS resolver 8.8.8.8. Domain stage.myapp.com does not have DNS record.",
|
||||
"renewAt": "datetime"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -3,4 +3,6 @@ Host: cloud.appwrite.io
|
||||
Content-Type: application/json
|
||||
X-Appwrite-Response-Format: 1.8.0
|
||||
X-Appwrite-Project: <YOUR_PROJECT_ID>
|
||||
X-Appwrite-Session:
|
||||
X-Appwrite-JWT: <YOUR_JWT>
|
||||
|
||||
|
||||
@@ -3,6 +3,8 @@ Host: cloud.appwrite.io
|
||||
Content-Type: application/json
|
||||
X-Appwrite-Response-Format: 1.8.0
|
||||
X-Appwrite-Project: <YOUR_PROJECT_ID>
|
||||
X-Appwrite-Session:
|
||||
X-Appwrite-JWT: <YOUR_JWT>
|
||||
|
||||
{
|
||||
"email": "email@example.com",
|
||||
|
||||
@@ -3,6 +3,8 @@ Host: cloud.appwrite.io
|
||||
Content-Type: application/json
|
||||
X-Appwrite-Response-Format: 1.8.0
|
||||
X-Appwrite-Project: <YOUR_PROJECT_ID>
|
||||
X-Appwrite-Session:
|
||||
X-Appwrite-JWT: <YOUR_JWT>
|
||||
|
||||
{
|
||||
"userId": "<USER_ID>",
|
||||
|
||||
@@ -3,4 +3,6 @@ Host: cloud.appwrite.io
|
||||
Content-Type: application/json
|
||||
X-Appwrite-Response-Format: 1.8.0
|
||||
X-Appwrite-Project: <YOUR_PROJECT_ID>
|
||||
X-Appwrite-Session:
|
||||
X-Appwrite-JWT: <YOUR_JWT>
|
||||
|
||||
|
||||
@@ -3,6 +3,8 @@ Host: cloud.appwrite.io
|
||||
Content-Type: application/json
|
||||
X-Appwrite-Response-Format: 1.8.0
|
||||
X-Appwrite-Project: <YOUR_PROJECT_ID>
|
||||
X-Appwrite-Session:
|
||||
X-Appwrite-JWT: <YOUR_JWT>
|
||||
|
||||
{
|
||||
"userId": "<USER_ID>",
|
||||
|
||||
@@ -3,6 +3,8 @@ Host: cloud.appwrite.io
|
||||
Content-Type: application/json
|
||||
X-Appwrite-Response-Format: 1.8.0
|
||||
X-Appwrite-Project: <YOUR_PROJECT_ID>
|
||||
X-Appwrite-Session:
|
||||
X-Appwrite-JWT: <YOUR_JWT>
|
||||
|
||||
{
|
||||
"factor": "email"
|
||||
|
||||
@@ -2,3 +2,5 @@ GET /v1/account/sessions/oauth2/{provider} HTTP/1.1
|
||||
Host: cloud.appwrite.io
|
||||
X-Appwrite-Response-Format: 1.8.0
|
||||
X-Appwrite-Project: <YOUR_PROJECT_ID>
|
||||
X-Appwrite-Session:
|
||||
X-Appwrite-JWT: <YOUR_JWT>
|
||||
|
||||
@@ -2,3 +2,5 @@ GET /v1/account/tokens/oauth2/{provider} HTTP/1.1
|
||||
Host: cloud.appwrite.io
|
||||
X-Appwrite-Response-Format: 1.8.0
|
||||
X-Appwrite-Project: <YOUR_PROJECT_ID>
|
||||
X-Appwrite-Session:
|
||||
X-Appwrite-JWT: <YOUR_JWT>
|
||||
|
||||
@@ -3,6 +3,8 @@ Host: cloud.appwrite.io
|
||||
Content-Type: application/json
|
||||
X-Appwrite-Response-Format: 1.8.0
|
||||
X-Appwrite-Project: <YOUR_PROJECT_ID>
|
||||
X-Appwrite-Session:
|
||||
X-Appwrite-JWT: <YOUR_JWT>
|
||||
|
||||
{
|
||||
"userId": "<USER_ID>",
|
||||
|
||||
@@ -3,6 +3,8 @@ Host: cloud.appwrite.io
|
||||
Content-Type: application/json
|
||||
X-Appwrite-Response-Format: 1.8.0
|
||||
X-Appwrite-Project: <YOUR_PROJECT_ID>
|
||||
X-Appwrite-Session:
|
||||
X-Appwrite-JWT: <YOUR_JWT>
|
||||
|
||||
{
|
||||
"userId": "<USER_ID>",
|
||||
|
||||
@@ -3,6 +3,8 @@ Host: cloud.appwrite.io
|
||||
Content-Type: application/json
|
||||
X-Appwrite-Response-Format: 1.8.0
|
||||
X-Appwrite-Project: <YOUR_PROJECT_ID>
|
||||
X-Appwrite-Session:
|
||||
X-Appwrite-JWT: <YOUR_JWT>
|
||||
|
||||
{
|
||||
"userId": "<USER_ID>",
|
||||
|
||||
@@ -3,6 +3,8 @@ Host: cloud.appwrite.io
|
||||
Content-Type: application/json
|
||||
X-Appwrite-Response-Format: 1.8.0
|
||||
X-Appwrite-Project: <YOUR_PROJECT_ID>
|
||||
X-Appwrite-Session:
|
||||
X-Appwrite-JWT: <YOUR_JWT>
|
||||
|
||||
{
|
||||
"userId": "<USER_ID>",
|
||||
|
||||
@@ -3,6 +3,8 @@ Host: cloud.appwrite.io
|
||||
Content-Type: application/json
|
||||
X-Appwrite-Response-Format: 1.8.0
|
||||
X-Appwrite-Project: <YOUR_PROJECT_ID>
|
||||
X-Appwrite-Session:
|
||||
X-Appwrite-JWT: <YOUR_JWT>
|
||||
|
||||
{
|
||||
"userId": "<USER_ID>",
|
||||
|
||||
@@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
Account account = Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
Account account = Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
Account account = Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
Account account = Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
Account account = Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
Account account = Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
Account account = Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
Account account = Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
Account account = Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
Account account = Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
Account account = Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
Account account = Account(client);
|
||||
|
||||
|
||||
@@ -16,4 +16,6 @@ Collection result = await databases.createCollection(
|
||||
permissions: [Permission.read(Role.any())], // (optional)
|
||||
documentSecurity: false, // (optional)
|
||||
enabled: false, // (optional)
|
||||
attributes: [], // (optional)
|
||||
indexes: [], // (optional)
|
||||
);
|
||||
|
||||
@@ -16,4 +16,6 @@ Table result = await tablesDB.createTable(
|
||||
permissions: [Permission.read(Role.any())], // (optional)
|
||||
rowSecurity: false, // (optional)
|
||||
enabled: false, // (optional)
|
||||
columns: [], // (optional)
|
||||
indexes: [], // (optional)
|
||||
);
|
||||
|
||||
@@ -4,7 +4,8 @@ using Appwrite.Services;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.SetSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ using Appwrite.Services;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.SetSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ using Appwrite.Services;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.SetSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ using Appwrite.Services;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.SetSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ using Appwrite.Services;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.SetSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@ using Appwrite.Services;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.SetSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@ using Appwrite.Services;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.SetSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ using Appwrite.Services;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.SetSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ using Appwrite.Services;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.SetSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ using Appwrite.Services;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.SetSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ using Appwrite.Services;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.SetSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ using Appwrite.Services;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.SetProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.SetSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -15,5 +15,7 @@ Collection result = await databases.CreateCollection(
|
||||
name: "<NAME>",
|
||||
permissions: new List<string> { Permission.Read(Role.Any()) }, // optional
|
||||
documentSecurity: false, // optional
|
||||
enabled: false // optional
|
||||
enabled: false, // optional
|
||||
attributes: new List<object>(), // optional
|
||||
indexes: new List<object>() // optional
|
||||
);
|
||||
@@ -15,5 +15,7 @@ Table result = await tablesDB.CreateTable(
|
||||
name: "<NAME>",
|
||||
permissions: new List<string> { Permission.Read(Role.Any()) }, // optional
|
||||
rowSecurity: false, // optional
|
||||
enabled: false // optional
|
||||
enabled: false, // optional
|
||||
columns: new List<object>(), // optional
|
||||
indexes: new List<object>() // optional
|
||||
);
|
||||
@@ -9,6 +9,7 @@ import (
|
||||
client := client.New(
|
||||
client.WithEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||
client.WithProject("<YOUR_PROJECT_ID>")
|
||||
client.WithSession("")
|
||||
)
|
||||
|
||||
service := account.New(client)
|
||||
|
||||
@@ -9,6 +9,7 @@ import (
|
||||
client := client.New(
|
||||
client.WithEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||
client.WithProject("<YOUR_PROJECT_ID>")
|
||||
client.WithSession("")
|
||||
)
|
||||
|
||||
service := account.New(client)
|
||||
|
||||
@@ -9,6 +9,7 @@ import (
|
||||
client := client.New(
|
||||
client.WithEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||
client.WithProject("<YOUR_PROJECT_ID>")
|
||||
client.WithSession("")
|
||||
)
|
||||
|
||||
service := account.New(client)
|
||||
|
||||
@@ -9,6 +9,7 @@ import (
|
||||
client := client.New(
|
||||
client.WithEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||
client.WithProject("<YOUR_PROJECT_ID>")
|
||||
client.WithSession("")
|
||||
)
|
||||
|
||||
service := account.New(client)
|
||||
|
||||
@@ -9,6 +9,7 @@ import (
|
||||
client := client.New(
|
||||
client.WithEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||
client.WithProject("<YOUR_PROJECT_ID>")
|
||||
client.WithSession("")
|
||||
)
|
||||
|
||||
service := account.New(client)
|
||||
|
||||
@@ -9,6 +9,7 @@ import (
|
||||
client := client.New(
|
||||
client.WithEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||
client.WithProject("<YOUR_PROJECT_ID>")
|
||||
client.WithSession("")
|
||||
)
|
||||
|
||||
service := account.New(client)
|
||||
|
||||
@@ -9,6 +9,7 @@ import (
|
||||
client := client.New(
|
||||
client.WithEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||
client.WithProject("<YOUR_PROJECT_ID>")
|
||||
client.WithSession("")
|
||||
)
|
||||
|
||||
service := account.New(client)
|
||||
|
||||
@@ -9,6 +9,7 @@ import (
|
||||
client := client.New(
|
||||
client.WithEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||
client.WithProject("<YOUR_PROJECT_ID>")
|
||||
client.WithSession("")
|
||||
)
|
||||
|
||||
service := account.New(client)
|
||||
|
||||
@@ -9,6 +9,7 @@ import (
|
||||
client := client.New(
|
||||
client.WithEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||
client.WithProject("<YOUR_PROJECT_ID>")
|
||||
client.WithSession("")
|
||||
)
|
||||
|
||||
service := account.New(client)
|
||||
|
||||
@@ -9,6 +9,7 @@ import (
|
||||
client := client.New(
|
||||
client.WithEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||
client.WithProject("<YOUR_PROJECT_ID>")
|
||||
client.WithSession("")
|
||||
)
|
||||
|
||||
service := account.New(client)
|
||||
|
||||
@@ -9,6 +9,7 @@ import (
|
||||
client := client.New(
|
||||
client.WithEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||
client.WithProject("<YOUR_PROJECT_ID>")
|
||||
client.WithSession("")
|
||||
)
|
||||
|
||||
service := account.New(client)
|
||||
|
||||
@@ -9,6 +9,7 @@ import (
|
||||
client := client.New(
|
||||
client.WithEndpoint("https://<REGION>.cloud.appwrite.io/v1")
|
||||
client.WithProject("<YOUR_PROJECT_ID>")
|
||||
client.WithSession("")
|
||||
)
|
||||
|
||||
service := account.New(client)
|
||||
|
||||
@@ -27,7 +27,7 @@ response, error := service.GetScreenshot(
|
||||
avatars.WithGetScreenshotUserAgent("Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15"),
|
||||
avatars.WithGetScreenshotFullpage(true),
|
||||
avatars.WithGetScreenshotLocale("en-US"),
|
||||
avatars.WithGetScreenshotTimezone("America/New_York"),
|
||||
avatars.WithGetScreenshotTimezone("america/new_york"),
|
||||
avatars.WithGetScreenshotLatitude(37.7749),
|
||||
avatars.WithGetScreenshotLongitude(-122.4194),
|
||||
avatars.WithGetScreenshotAccuracy(100),
|
||||
|
||||
@@ -21,4 +21,6 @@ response, error := service.CreateCollection(
|
||||
databases.WithCreateCollectionPermissions(interface{}{"read("any")"}),
|
||||
databases.WithCreateCollectionDocumentSecurity(false),
|
||||
databases.WithCreateCollectionEnabled(false),
|
||||
databases.WithCreateCollectionAttributes([]interface{}{}),
|
||||
databases.WithCreateCollectionIndexes([]interface{}{}),
|
||||
)
|
||||
|
||||
@@ -21,4 +21,6 @@ response, error := service.CreateTable(
|
||||
tablesdb.WithCreateTablePermissions(interface{}{"read("any")"}),
|
||||
tablesdb.WithCreateTableRowSecurity(false),
|
||||
tablesdb.WithCreateTableEnabled(false),
|
||||
tablesdb.WithCreateTableColumns([]interface{}{}),
|
||||
tablesdb.WithCreateTableIndexes([]interface{}{}),
|
||||
)
|
||||
|
||||
@@ -5,7 +5,9 @@ mutation {
|
||||
name: "<NAME>",
|
||||
permissions: ["read("any")"],
|
||||
documentSecurity: false,
|
||||
enabled: false
|
||||
enabled: false,
|
||||
attributes: [],
|
||||
indexes: []
|
||||
) {
|
||||
_id
|
||||
_createdAt
|
||||
|
||||
@@ -5,7 +5,9 @@ mutation {
|
||||
name: "<NAME>",
|
||||
permissions: ["read("any")"],
|
||||
rowSecurity: false,
|
||||
enabled: false
|
||||
enabled: false,
|
||||
columns: [],
|
||||
indexes: []
|
||||
) {
|
||||
_id
|
||||
_createdAt
|
||||
|
||||
@@ -4,7 +4,8 @@ import io.appwrite.services.Account;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ import io.appwrite.services.Account;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ import io.appwrite.services.Account;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ import io.appwrite.services.Account;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ import io.appwrite.services.Account;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@ import io.appwrite.enums.AuthenticationFactor;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@ import io.appwrite.enums.OAuthProvider;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ import io.appwrite.services.Account;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ import io.appwrite.services.Account;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ import io.appwrite.services.Account;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ import io.appwrite.services.Account;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ import io.appwrite.services.Account;
|
||||
|
||||
Client client = new Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession(""); // The user session to authenticate with
|
||||
|
||||
Account account = new Account(client);
|
||||
|
||||
|
||||
@@ -18,6 +18,8 @@ databases.createCollection(
|
||||
List.of(Permission.read(Role.any())), // permissions (optional)
|
||||
false, // documentSecurity (optional)
|
||||
false, // enabled (optional)
|
||||
List.of(), // attributes (optional)
|
||||
List.of(), // indexes (optional)
|
||||
new CoroutineCallback<>((result, error) -> {
|
||||
if (error != null) {
|
||||
error.printStackTrace();
|
||||
|
||||
@@ -18,6 +18,8 @@ tablesDB.createTable(
|
||||
List.of(Permission.read(Role.any())), // permissions (optional)
|
||||
false, // rowSecurity (optional)
|
||||
false, // enabled (optional)
|
||||
List.of(), // columns (optional)
|
||||
List.of(), // indexes (optional)
|
||||
new CoroutineCallback<>((result, error) -> {
|
||||
if (error != null) {
|
||||
error.printStackTrace();
|
||||
|
||||
@@ -5,6 +5,7 @@ import io.appwrite.services.Account
|
||||
val client = Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession("") // The user session to authenticate with
|
||||
|
||||
val account = Account(client)
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import io.appwrite.services.Account
|
||||
val client = Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession("") // The user session to authenticate with
|
||||
|
||||
val account = Account(client)
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import io.appwrite.services.Account
|
||||
val client = Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession("") // The user session to authenticate with
|
||||
|
||||
val account = Account(client)
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import io.appwrite.services.Account
|
||||
val client = Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession("") // The user session to authenticate with
|
||||
|
||||
val account = Account(client)
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import io.appwrite.services.Account
|
||||
val client = Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession("") // The user session to authenticate with
|
||||
|
||||
val account = Account(client)
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ import io.appwrite.enums.AuthenticationFactor
|
||||
val client = Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession("") // The user session to authenticate with
|
||||
|
||||
val account = Account(client)
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ import io.appwrite.enums.OAuthProvider
|
||||
val client = Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession("") // The user session to authenticate with
|
||||
|
||||
val account = Account(client)
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import io.appwrite.services.Account
|
||||
val client = Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession("") // The user session to authenticate with
|
||||
|
||||
val account = Account(client)
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import io.appwrite.services.Account
|
||||
val client = Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession("") // The user session to authenticate with
|
||||
|
||||
val account = Account(client)
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import io.appwrite.services.Account
|
||||
val client = Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession("") // The user session to authenticate with
|
||||
|
||||
val account = Account(client)
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import io.appwrite.services.Account
|
||||
val client = Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession("") // The user session to authenticate with
|
||||
|
||||
val account = Account(client)
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import io.appwrite.services.Account
|
||||
val client = Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
.setSession("") // The user session to authenticate with
|
||||
|
||||
val account = Account(client)
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ val result = avatars.getScreenshot(
|
||||
userAgent = "Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15", // optional
|
||||
fullpage = true, // optional
|
||||
locale = "en-US", // optional
|
||||
timezone = "America/New_York", // optional
|
||||
timezone = "america/new_york", // optional
|
||||
latitude = 37.7749, // optional
|
||||
longitude = -122.4194, // optional
|
||||
accuracy = 100, // optional
|
||||
|
||||
@@ -17,5 +17,7 @@ val response = databases.createCollection(
|
||||
name = "<NAME>",
|
||||
permissions = listOf(Permission.read(Role.any())), // optional
|
||||
documentSecurity = false, // optional
|
||||
enabled = false // optional
|
||||
enabled = false, // optional
|
||||
attributes = listOf(), // optional
|
||||
indexes = listOf() // optional
|
||||
)
|
||||
|
||||
@@ -17,5 +17,7 @@ val response = tablesDB.createTable(
|
||||
name = "<NAME>",
|
||||
permissions = listOf(Permission.read(Role.any())), // optional
|
||||
rowSecurity = false, // optional
|
||||
enabled = false // optional
|
||||
enabled = false, // optional
|
||||
columns = listOf(), // optional
|
||||
indexes = listOf() // optional
|
||||
)
|
||||
|
||||
@@ -2,7 +2,8 @@ const sdk = require('node-appwrite');
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
const account = new sdk.Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ const sdk = require('node-appwrite');
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
const account = new sdk.Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ const sdk = require('node-appwrite');
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
const account = new sdk.Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ const sdk = require('node-appwrite');
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
const account = new sdk.Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ const sdk = require('node-appwrite');
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
const account = new sdk.Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ const sdk = require('node-appwrite');
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
const account = new sdk.Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ const sdk = require('node-appwrite');
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
const account = new sdk.Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ const sdk = require('node-appwrite');
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
const account = new sdk.Account(client);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@ const sdk = require('node-appwrite');
|
||||
|
||||
const client = new sdk.Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
.setProject('<YOUR_PROJECT_ID>') // Your project ID
|
||||
.setSession(''); // The user session to authenticate with
|
||||
|
||||
const account = new sdk.Account(client);
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user