Example updates

This commit is contained in:
Jake Barnby
2024-02-19 17:12:47 +13:00
parent bc12187e62
commit aaccff6eb8
478 changed files with 1673 additions and 800 deletions
@@ -1,7 +1,7 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
import io.appwrite.enums.AuthenticatorFactor;
import io.appwrite.enums.AuthenticatorType;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
@@ -10,7 +10,7 @@ Client client = new Client(context)
Account account = new Account(client);
account.addAuthenticator(
AuthenticatorFactor.TOTP,
AuthenticatorType.TOTP,
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
@@ -0,0 +1,22 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
import io.appwrite.enums.AuthenticationFactor;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
Account account = new Account(client);
account.create2FAChallenge(
AuthenticationFactor.TOTP,
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}
Log.d("Appwrite", result.toString());
})
);
@@ -1,7 +1,7 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
import io.appwrite.enums.AuthenticatorProvider;
import io.appwrite.enums.AuthenticatorType;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
@@ -10,7 +10,7 @@ Client client = new Client(context)
Account account = new Account(client);
account.deleteAuthenticator(
AuthenticatorProvider.TOTP,
AuthenticatorType.TOTP,
"[OTP]",
new CoroutineCallback<>((result, error) -> {
if (error != null) {
@@ -1,7 +1,7 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;
import io.appwrite.enums.AuthenticatorFactor;
import io.appwrite.enums.AuthenticatorType;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
@@ -10,7 +10,7 @@ Client client = new Client(context)
Account account = new Account(client);
account.verifyAuthenticator(
AuthenticatorFactor.TOTP,
AuthenticatorType.TOTP,
"[OTP]",
new CoroutineCallback<>((result, error) -> {
if (error != null) {
@@ -1,7 +1,7 @@
import io.appwrite.Client
import io.appwrite.coroutines.CoroutineCallback
import io.appwrite.services.Account
import io.appwrite.enums.AuthenticatorFactor
import io.appwrite.enums.AuthenticatorType
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
@@ -10,5 +10,5 @@ val client = Client(context)
val account = Account(client)
val response = account.addAuthenticator(
factor = AuthenticatorFactor.TOTP,
type = AuthenticatorType.TOTP,
)
@@ -0,0 +1,14 @@
import io.appwrite.Client
import io.appwrite.coroutines.CoroutineCallback
import io.appwrite.services.Account
import io.appwrite.enums.AuthenticationFactor
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2") // Your project ID
val account = Account(client)
val response = account.create2FAChallenge(
factor = AuthenticationFactor.TOTP,
)
@@ -1,7 +1,7 @@
import io.appwrite.Client
import io.appwrite.coroutines.CoroutineCallback
import io.appwrite.services.Account
import io.appwrite.enums.AuthenticatorProvider
import io.appwrite.enums.AuthenticatorType
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
@@ -10,6 +10,6 @@ val client = Client(context)
val account = Account(client)
val response = account.deleteAuthenticator(
provider = AuthenticatorProvider.TOTP,
type = AuthenticatorType.TOTP,
otp = "[OTP]",
)
@@ -1,7 +1,7 @@
import io.appwrite.Client
import io.appwrite.coroutines.CoroutineCallback
import io.appwrite.services.Account
import io.appwrite.enums.AuthenticatorFactor
import io.appwrite.enums.AuthenticatorType
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
@@ -10,6 +10,6 @@ val client = Client(context)
val account = Account(client)
val response = account.verifyAuthenticator(
factor = AuthenticatorFactor.TOTP,
type = AuthenticatorType.TOTP,
otp = "[OTP]",
)
@@ -7,7 +7,7 @@ let client = Client()
let account = Account(client)
let mfaProvider = try await account.addAuthenticator(
factor: .totp
let mfaType = try await account.addAuthenticator(
type: .totp
)
@@ -0,0 +1,13 @@
import Appwrite
import AppwriteEnums
let client = Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2") // Your project ID
let account = Account(client)
let mfaChallenge = try await account.create2FAChallenge(
factor: .totp
)
@@ -8,7 +8,7 @@ let client = Client()
let account = Account(client)
let user = try await account.deleteAuthenticator(
provider: .totp,
type: .totp,
otp: "[OTP]"
)
@@ -6,5 +6,5 @@ let client = Client()
let account = Account(client)
let mfaProviders = try await account.listFactors()
let mfaFactors = try await account.listFactors()
@@ -8,7 +8,7 @@ let client = Client()
let account = Account(client)
let user = try await account.verifyAuthenticator(
factor: .totp,
type: .totp,
otp: "[OTP]"
)
@@ -9,7 +9,7 @@ void main() { // Init SDK
.setProject('5df5acd0d48c2') // Your project ID
;
Future result = account.addAuthenticator(
factor: AuthenticatorFactor.totp.value,
type: AuthenticatorType.totp.value,
);
result
@@ -0,0 +1,21 @@
import 'package:appwrite/appwrite.dart';
void main() { // Init SDK
Client client = Client();
Account account = Account(client);
client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
;
Future result = account.create2FAChallenge(
factor: AuthenticationFactor.totp.value,
);
result
.then((response) {
print(response);
}).catchError((error) {
print(error.response);
});
}
@@ -9,7 +9,7 @@ void main() { // Init SDK
.setProject('5df5acd0d48c2') // Your project ID
;
Future result = account.deleteAuthenticator(
provider: AuthenticatorProvider.totp.value,
type: AuthenticatorType.totp.value,
otp:'[OTP]' ,
);
@@ -9,7 +9,7 @@ void main() { // Init SDK
.setProject('5df5acd0d48c2') // Your project ID
;
Future result = account.verifyAuthenticator(
factor: AuthenticatorFactor.totp.value,
type: AuthenticatorType.totp.value,
otp:'[OTP]' ,
);
@@ -1,6 +1,6 @@
mutation {
accountAddAuthenticator(
factor: "totp"
type: "totp"
) {
backups
secret
@@ -0,0 +1,10 @@
mutation {
accountCreate2FAChallenge(
factor: "totp"
) {
_id
_createdAt
userId
expire
}
}
@@ -1,6 +1,6 @@
mutation {
accountDeleteAuthenticator(
provider: "totp",
type: "totp",
otp: "[OTP]"
) {
_id
@@ -1,6 +1,6 @@
mutation {
accountVerifyAuthenticator(
factor: "totp",
type: "totp",
otp: "[OTP]"
) {
_id
@@ -1,7 +1,7 @@
POST /v1/storage/buckets/{bucketId}/files HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: multipart/form-data; boundary="cec8e8123c05ba25"
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
POST /v1/account/mfa/{factor} HTTP/1.1
Host: HOSTNAME
POST /v1/account/mfa/{type} HTTP/1.1
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,6 +1,6 @@
POST /v1/account/sessions/anonymous HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
@@ -1,7 +1,7 @@
POST /v1/account/sessions/email HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
{
@@ -1,7 +1,7 @@
POST /v1/account/tokens/email HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
{
@@ -1,6 +1,6 @@
POST /v1/account/jwt HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
@@ -1,7 +1,7 @@
POST /v1/account/tokens/magic-url HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
{
@@ -1,6 +1,6 @@
GET /v1/account/sessions/oauth2/{provider} HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
@@ -1,7 +1,7 @@
POST /v1/account/tokens/phone HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
{
@@ -1,7 +1,7 @@
POST /v1/account/verification/phone HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
POST /v1/account/targets/push HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
@@ -1,7 +1,7 @@
POST /v1/account/recovery HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
POST /v1/account/sessions/token HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
{
@@ -1,7 +1,7 @@
POST /v1/account/verification HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
POST /v1/account HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
{
@@ -0,0 +1,9 @@
POST /v1/account/mfa/challenge HTTP/1.1
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
{
"factor": "totp"
}
@@ -1,7 +1,7 @@
DELETE /v1/account/mfa/{provider} HTTP/1.1
Host: HOSTNAME
DELETE /v1/account/mfa/{type} HTTP/1.1
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
DELETE /v1/account/identities/{identityId} HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
DELETE /v1/account/targets/{targetId}/push HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
@@ -1,7 +1,7 @@
DELETE /v1/account/sessions/{sessionId} HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
DELETE /v1/account/sessions HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/account/prefs HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/account/sessions/{sessionId} HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/account HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/account/mfa/factors HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/account/identities HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/account/logs HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/account/sessions HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
PUT /v1/account/mfa/challenge HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
PATCH /v1/account/email HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
PATCH /v1/account/mfa HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
PUT /v1/account/sessions/magic-url HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
{
@@ -1,7 +1,7 @@
PATCH /v1/account/name HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
PATCH /v1/account/password HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
PUT /v1/account/verification/phone HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
PATCH /v1/account/phone HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
PATCH /v1/account/prefs HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
PUT /v1/account/targets/{targetId}/push HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
@@ -1,7 +1,7 @@
PUT /v1/account/recovery HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
PATCH /v1/account/sessions/{sessionId} HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
PATCH /v1/account/status HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
PUT /v1/account/verification HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
PUT /v1/account/mfa/{factor} HTTP/1.1
Host: HOSTNAME
PUT /v1/account/mfa/{type} HTTP/1.1
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/avatars/browsers/{code} HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/avatars/credit-cards/{code} HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/avatars/favicon HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/avatars/flags/{code} HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/avatars/image HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/avatars/initials HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/avatars/qr HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
POST /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
DELETE /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
PATCH /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
POST /v1/functions/{functionId}/executions HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/functions/{functionId}/executions/{executionId} HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/functions/{functionId}/executions HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,8 +1,8 @@
POST /v1/graphql/mutation HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
X-Sdk-Graphql: true
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,8 +1,8 @@
POST /v1/graphql HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
X-Sdk-Graphql: true
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/locale HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/locale/codes HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/locale/continents HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/locale/countries/eu HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/locale/countries/phones HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/locale/countries HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/locale/currencies HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/locale/languages HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
POST /v1/messaging/topics/{topicId}/subscribers HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
X-Appwrite-Session:
@@ -1,7 +1,7 @@
DELETE /v1/messaging/topics/{topicId}/subscribers/{subscriberId} HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
X-Appwrite-Session:
@@ -1,7 +1,7 @@
POST /v1/storage/buckets/{bucketId}/files HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: multipart/form-data; boundary="cec8e8123c05ba25"
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
DELETE /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/storage/buckets/{bucketId}/files/{fileId}/download HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/storage/buckets/{bucketId}/files/{fileId}/preview HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/storage/buckets/{bucketId}/files/{fileId}/view HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
GET /v1/storage/buckets/{bucketId}/files HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
PUT /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
@@ -1,7 +1,7 @@
POST /v1/teams/{teamId}/memberships HTTP/1.1
Host: HOSTNAME
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Response-Format: 1.5.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-Session:
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...

Some files were not shown because too many files have changed in this diff Show More