mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update SDK generator + examples
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
Token result = await account.CreatePhoneVerification();
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
Token result = await account.CreateRecovery(
|
||||
email: "email@example.com",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
Token result = await account.CreateVerification(
|
||||
url: "https://example.com");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
result = await account.DeleteSession(
|
||||
await account.DeleteSession(
|
||||
sessionId: "[SESSION_ID]");
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
result = await account.DeleteSessions();
|
||||
await account.DeleteSessions();
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
Preferences result = await account.GetPrefs();
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
Session result = await account.GetSession(
|
||||
sessionId: "[SESSION_ID]");
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
User result = await account.Get();
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
LogList result = await account.ListLogs();
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
SessionList result = await account.ListSessions();
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
User result = await account.UpdateEmail(
|
||||
email: "email@example.com",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
User result = await account.UpdateName(
|
||||
name: "[NAME]");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
User result = await account.UpdatePassword(
|
||||
password: "");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
Token result = await account.UpdatePhoneVerification(
|
||||
userId: "[USER_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
User result = await account.UpdatePhone(
|
||||
phone: "+12065550100",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
User result = await account.UpdatePrefs(
|
||||
prefs: [object]);
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
Token result = await account.UpdateRecovery(
|
||||
userId: "[USER_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
Session result = await account.UpdateSession(
|
||||
sessionId: "[SESSION_ID]");
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
User result = await account.UpdateStatus();
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token
|
||||
|
||||
Account account = new Account(client);
|
||||
var account = new Account(client);
|
||||
|
||||
Token result = await account.UpdateVerification(
|
||||
userId: "[USER_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Avatars avatars = new Avatars(client);
|
||||
var avatars = new Avatars(client);
|
||||
|
||||
byte[] result = await avatars.GetBrowser(
|
||||
code: "aa");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Avatars avatars = new Avatars(client);
|
||||
var avatars = new Avatars(client);
|
||||
|
||||
byte[] result = await avatars.GetCreditCard(
|
||||
code: "amex");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Avatars avatars = new Avatars(client);
|
||||
var avatars = new Avatars(client);
|
||||
|
||||
byte[] result = await avatars.GetFavicon(
|
||||
url: "https://example.com");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Avatars avatars = new Avatars(client);
|
||||
var avatars = new Avatars(client);
|
||||
|
||||
byte[] result = await avatars.GetFlag(
|
||||
code: "af");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Avatars avatars = new Avatars(client);
|
||||
var avatars = new Avatars(client);
|
||||
|
||||
byte[] result = await avatars.GetImage(
|
||||
url: "https://example.com");
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Avatars avatars = new Avatars(client);
|
||||
var avatars = new Avatars(client);
|
||||
|
||||
byte[] result = await avatars.GetInitials();
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Avatars avatars = new Avatars(client);
|
||||
var avatars = new Avatars(client);
|
||||
|
||||
byte[] result = await avatars.GetQR(
|
||||
text: "[TEXT]");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeBoolean result = await databases.CreateBooleanAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
Collection result = await databases.CreateCollection(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeDatetime result = await databases.CreateDatetimeAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
Document result = await databases.CreateDocument(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeEmail result = await databases.CreateEmailAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeEnum result = await databases.CreateEnumAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeFloat result = await databases.CreateFloatAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
Index result = await databases.CreateIndex(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeInteger result = await databases.CreateIntegerAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeIp result = await databases.CreateIpAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
+3
-3
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeRelationship result = await databases.CreateRelationshipAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeString result = await databases.CreateStringAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeUrl result = await databases.CreateUrlAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
Database result = await databases.Create(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
result = await databases.DeleteAttribute(
|
||||
await databases.DeleteAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
collectionId: "[COLLECTION_ID]",
|
||||
key: "");
|
||||
@@ -1,13 +1,13 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
result = await databases.DeleteCollection(
|
||||
await databases.DeleteCollection(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
collectionId: "[COLLECTION_ID]");
|
||||
@@ -1,14 +1,14 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
result = await databases.DeleteDocument(
|
||||
await databases.DeleteDocument(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
collectionId: "[COLLECTION_ID]",
|
||||
documentId: "[DOCUMENT_ID]");
|
||||
@@ -1,14 +1,14 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
result = await databases.DeleteIndex(
|
||||
await databases.DeleteIndex(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
collectionId: "[COLLECTION_ID]",
|
||||
key: "");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
result = await databases.Delete(
|
||||
await databases.Delete(
|
||||
databaseId: "[DATABASE_ID]");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
result = await databases.GetAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
Collection result = await databases.GetCollection(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
Document result = await databases.GetDocument(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
Index result = await databases.GetIndex(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
Database result = await databases.Get(
|
||||
databaseId: "[DATABASE_ID]");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeList result = await databases.ListAttributes(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
CollectionList result = await databases.ListCollections(
|
||||
databaseId: "[DATABASE_ID]");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
DocumentList result = await databases.ListDocuments(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
IndexList result = await databases.ListIndexes(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
DatabaseList result = await databases.List();
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeBoolean result = await databases.UpdateBooleanAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
Collection result = await databases.UpdateCollection(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeDatetime result = await databases.UpdateDatetimeAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
Document result = await databases.UpdateDocument(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeEmail result = await databases.UpdateEmailAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeEnum result = await databases.UpdateEnumAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeFloat result = await databases.UpdateFloatAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeInteger result = await databases.UpdateIntegerAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeIp result = await databases.UpdateIpAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
+3
-3
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeRelationship result = await databases.UpdateRelationshipAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeString result = await databases.UpdateStringAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
AttributeUrl result = await databases.UpdateUrlAttribute(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
var databases = new Databases(client);
|
||||
|
||||
Database result = await databases.Update(
|
||||
databaseId: "[DATABASE_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
result = await functions.CreateBuild(
|
||||
functionId: "[FUNCTION_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
Deployment result = await functions.CreateDeployment(
|
||||
functionId: "[FUNCTION_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
Execution result = await functions.CreateExecution(
|
||||
functionId: "[FUNCTION_ID]");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
Variable result = await functions.CreateVariable(
|
||||
functionId: "[FUNCTION_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
Function result = await functions.Create(
|
||||
functionId: "[FUNCTION_ID]",
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
result = await functions.DeleteDeployment(
|
||||
await functions.DeleteDeployment(
|
||||
functionId: "[FUNCTION_ID]",
|
||||
deploymentId: "[DEPLOYMENT_ID]");
|
||||
@@ -1,13 +1,13 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
result = await functions.DeleteVariable(
|
||||
await functions.DeleteVariable(
|
||||
functionId: "[FUNCTION_ID]",
|
||||
variableId: "[VARIABLE_ID]");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
result = await functions.Delete(
|
||||
await functions.Delete(
|
||||
functionId: "[FUNCTION_ID]");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
Deployment result = await functions.GetDeployment(
|
||||
functionId: "[FUNCTION_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
Execution result = await functions.GetExecution(
|
||||
functionId: "[FUNCTION_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
Variable result = await functions.GetVariable(
|
||||
functionId: "[FUNCTION_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
Function result = await functions.Get(
|
||||
functionId: "[FUNCTION_ID]");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
DeploymentList result = await functions.ListDeployments(
|
||||
functionId: "[FUNCTION_ID]");
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
ExecutionList result = await functions.ListExecutions(
|
||||
functionId: "[FUNCTION_ID]");
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
RuntimeList result = await functions.ListRuntimes();
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
VariableList result = await functions.ListVariables(
|
||||
functionId: "[FUNCTION_ID]");
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
FunctionList result = await functions.List();
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
Function result = await functions.UpdateDeployment(
|
||||
functionId: "[FUNCTION_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
Variable result = await functions.UpdateVariable(
|
||||
functionId: "[FUNCTION_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Functions functions = new Functions(client);
|
||||
var functions = new Functions(client);
|
||||
|
||||
Function result = await functions.Update(
|
||||
functionId: "[FUNCTION_ID]",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Graphql graphql = new Graphql(client);
|
||||
var graphql = new Graphql(client);
|
||||
|
||||
Any result = await graphql.Mutation(
|
||||
query: [object]);
|
||||
@@ -1,12 +1,12 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Graphql graphql = new Graphql(client);
|
||||
var graphql = new Graphql(client);
|
||||
|
||||
Any result = await graphql.Query(
|
||||
query: [object]);
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Health health = new Health(client);
|
||||
var health = new Health(client);
|
||||
|
||||
HealthAntivirus result = await health.GetAntivirus();
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Health health = new Health(client);
|
||||
var health = new Health(client);
|
||||
|
||||
HealthStatus result = await health.GetCache();
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Health health = new Health(client);
|
||||
var health = new Health(client);
|
||||
|
||||
HealthStatus result = await health.GetDB();
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Health health = new Health(client);
|
||||
var health = new Health(client);
|
||||
|
||||
HealthQueue result = await health.GetQueueCertificates();
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Health health = new Health(client);
|
||||
var health = new Health(client);
|
||||
|
||||
HealthQueue result = await health.GetQueueFunctions();
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Health health = new Health(client);
|
||||
var health = new Health(client);
|
||||
|
||||
HealthQueue result = await health.GetQueueLogs();
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Health health = new Health(client);
|
||||
var health = new Health(client);
|
||||
|
||||
HealthQueue result = await health.GetQueueWebhooks();
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Health health = new Health(client);
|
||||
var health = new Health(client);
|
||||
|
||||
HealthStatus result = await health.GetStorageLocal();
|
||||
@@ -1,11 +1,11 @@
|
||||
using Appwrite;
|
||||
using Appwrite.Models;
|
||||
|
||||
Client client = new Client()
|
||||
.SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint
|
||||
var client = new Client()
|
||||
.SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.SetProject("5df5acd0d48c2") // Your project ID
|
||||
.SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key
|
||||
|
||||
Health health = new Health(client);
|
||||
var health = new Health(client);
|
||||
|
||||
HealthTime result = await health.GetTime();
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user