mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
commit
0379086c48
849 changed files with 8199 additions and 27 deletions
|
|
@ -4490,6 +4490,29 @@
|
|||
}
|
||||
],
|
||||
"description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console."
|
||||
},
|
||||
{
|
||||
"name": "createDocuments",
|
||||
"auth": {
|
||||
"Key": []
|
||||
},
|
||||
"parameters": [
|
||||
"databaseId",
|
||||
"collectionId",
|
||||
"documents"
|
||||
],
|
||||
"required": [
|
||||
"databaseId",
|
||||
"collectionId",
|
||||
"documents"
|
||||
],
|
||||
"responses": [
|
||||
{
|
||||
"code": 201,
|
||||
"model": "#\/components\/schemas\/documentList"
|
||||
}
|
||||
],
|
||||
"description": "Create new Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console."
|
||||
}
|
||||
],
|
||||
"auth": {
|
||||
|
|
|
|||
|
|
@ -30695,7 +30695,7 @@
|
|||
"tags": [
|
||||
"tokens"
|
||||
],
|
||||
"description": "Create a new token. A token is linked to a file. Token can be passed as a header or request get parameter.",
|
||||
"description": "Create a new token. A token is linked to a file. Token can be passed as a request URL search parameter.",
|
||||
"responses": {
|
||||
"201": {
|
||||
"description": "ResourceToken",
|
||||
|
|
@ -30716,7 +30716,7 @@
|
|||
"type": "",
|
||||
"deprecated": false,
|
||||
"demo": "tokens\/create-file-token.md",
|
||||
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a header or request get parameter.",
|
||||
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a request URL search parameter.",
|
||||
"rate-limit": 60,
|
||||
"rate-time": 60,
|
||||
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
|
||||
|
|
|
|||
|
|
@ -21777,7 +21777,7 @@
|
|||
"tags": [
|
||||
"tokens"
|
||||
],
|
||||
"description": "Create a new token. A token is linked to a file. Token can be passed as a header or request get parameter.",
|
||||
"description": "Create a new token. A token is linked to a file. Token can be passed as a request URL search parameter.",
|
||||
"responses": {
|
||||
"201": {
|
||||
"description": "ResourceToken",
|
||||
|
|
@ -21798,7 +21798,7 @@
|
|||
"type": "",
|
||||
"deprecated": false,
|
||||
"demo": "tokens\/create-file-token.md",
|
||||
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a header or request get parameter.",
|
||||
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a request URL search parameter.",
|
||||
"rate-limit": 60,
|
||||
"rate-time": 60,
|
||||
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
|
||||
|
|
|
|||
|
|
@ -4490,6 +4490,29 @@
|
|||
}
|
||||
],
|
||||
"description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console."
|
||||
},
|
||||
{
|
||||
"name": "createDocuments",
|
||||
"auth": {
|
||||
"Key": []
|
||||
},
|
||||
"parameters": [
|
||||
"databaseId",
|
||||
"collectionId",
|
||||
"documents"
|
||||
],
|
||||
"required": [
|
||||
"databaseId",
|
||||
"collectionId",
|
||||
"documents"
|
||||
],
|
||||
"responses": [
|
||||
{
|
||||
"code": 201,
|
||||
"model": "#\/components\/schemas\/documentList"
|
||||
}
|
||||
],
|
||||
"description": "Create new Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console."
|
||||
}
|
||||
],
|
||||
"auth": {
|
||||
|
|
|
|||
|
|
@ -30695,7 +30695,7 @@
|
|||
"tags": [
|
||||
"tokens"
|
||||
],
|
||||
"description": "Create a new token. A token is linked to a file. Token can be passed as a header or request get parameter.",
|
||||
"description": "Create a new token. A token is linked to a file. Token can be passed as a request URL search parameter.",
|
||||
"responses": {
|
||||
"201": {
|
||||
"description": "ResourceToken",
|
||||
|
|
@ -30716,7 +30716,7 @@
|
|||
"type": "",
|
||||
"deprecated": false,
|
||||
"demo": "tokens\/create-file-token.md",
|
||||
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a header or request get parameter.",
|
||||
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a request URL search parameter.",
|
||||
"rate-limit": 60,
|
||||
"rate-time": 60,
|
||||
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
|
||||
|
|
|
|||
|
|
@ -21777,7 +21777,7 @@
|
|||
"tags": [
|
||||
"tokens"
|
||||
],
|
||||
"description": "Create a new token. A token is linked to a file. Token can be passed as a header or request get parameter.",
|
||||
"description": "Create a new token. A token is linked to a file. Token can be passed as a request URL search parameter.",
|
||||
"responses": {
|
||||
"201": {
|
||||
"description": "ResourceToken",
|
||||
|
|
@ -21798,7 +21798,7 @@
|
|||
"type": "",
|
||||
"deprecated": false,
|
||||
"demo": "tokens\/create-file-token.md",
|
||||
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a header or request get parameter.",
|
||||
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a request URL search parameter.",
|
||||
"rate-limit": 60,
|
||||
"rate-time": 60,
|
||||
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
|
||||
|
|
|
|||
|
|
@ -4630,6 +4630,29 @@
|
|||
}
|
||||
],
|
||||
"description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console."
|
||||
},
|
||||
{
|
||||
"name": "createDocuments",
|
||||
"auth": {
|
||||
"Key": []
|
||||
},
|
||||
"parameters": [
|
||||
"databaseId",
|
||||
"collectionId",
|
||||
"documents"
|
||||
],
|
||||
"required": [
|
||||
"databaseId",
|
||||
"collectionId",
|
||||
"documents"
|
||||
],
|
||||
"responses": [
|
||||
{
|
||||
"code": 201,
|
||||
"model": "#\/definitions\/documentList"
|
||||
}
|
||||
],
|
||||
"description": "Create new Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console."
|
||||
}
|
||||
],
|
||||
"auth": {
|
||||
|
|
|
|||
|
|
@ -30922,7 +30922,7 @@
|
|||
"tags": [
|
||||
"tokens"
|
||||
],
|
||||
"description": "Create a new token. A token is linked to a file. Token can be passed as a header or request get parameter.",
|
||||
"description": "Create a new token. A token is linked to a file. Token can be passed as a request URL search parameter.",
|
||||
"responses": {
|
||||
"201": {
|
||||
"description": "ResourceToken",
|
||||
|
|
@ -30939,7 +30939,7 @@
|
|||
"type": "",
|
||||
"deprecated": false,
|
||||
"demo": "tokens\/create-file-token.md",
|
||||
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a header or request get parameter.",
|
||||
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a request URL search parameter.",
|
||||
"rate-limit": 60,
|
||||
"rate-time": 60,
|
||||
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
|
||||
|
|
|
|||
|
|
@ -22062,7 +22062,7 @@
|
|||
"tags": [
|
||||
"tokens"
|
||||
],
|
||||
"description": "Create a new token. A token is linked to a file. Token can be passed as a header or request get parameter.",
|
||||
"description": "Create a new token. A token is linked to a file. Token can be passed as a request URL search parameter.",
|
||||
"responses": {
|
||||
"201": {
|
||||
"description": "ResourceToken",
|
||||
|
|
@ -22079,7 +22079,7 @@
|
|||
"type": "",
|
||||
"deprecated": false,
|
||||
"demo": "tokens\/create-file-token.md",
|
||||
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a header or request get parameter.",
|
||||
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a request URL search parameter.",
|
||||
"rate-limit": 60,
|
||||
"rate-time": 60,
|
||||
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
|
||||
|
|
|
|||
|
|
@ -4630,6 +4630,29 @@
|
|||
}
|
||||
],
|
||||
"description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console."
|
||||
},
|
||||
{
|
||||
"name": "createDocuments",
|
||||
"auth": {
|
||||
"Key": []
|
||||
},
|
||||
"parameters": [
|
||||
"databaseId",
|
||||
"collectionId",
|
||||
"documents"
|
||||
],
|
||||
"required": [
|
||||
"databaseId",
|
||||
"collectionId",
|
||||
"documents"
|
||||
],
|
||||
"responses": [
|
||||
{
|
||||
"code": 201,
|
||||
"model": "#\/definitions\/documentList"
|
||||
}
|
||||
],
|
||||
"description": "Create new Documents. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console."
|
||||
}
|
||||
],
|
||||
"auth": {
|
||||
|
|
|
|||
|
|
@ -30922,7 +30922,7 @@
|
|||
"tags": [
|
||||
"tokens"
|
||||
],
|
||||
"description": "Create a new token. A token is linked to a file. Token can be passed as a header or request get parameter.",
|
||||
"description": "Create a new token. A token is linked to a file. Token can be passed as a request URL search parameter.",
|
||||
"responses": {
|
||||
"201": {
|
||||
"description": "ResourceToken",
|
||||
|
|
@ -30939,7 +30939,7 @@
|
|||
"type": "",
|
||||
"deprecated": false,
|
||||
"demo": "tokens\/create-file-token.md",
|
||||
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a header or request get parameter.",
|
||||
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a request URL search parameter.",
|
||||
"rate-limit": 60,
|
||||
"rate-time": 60,
|
||||
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
|
||||
|
|
|
|||
|
|
@ -22062,7 +22062,7 @@
|
|||
"tags": [
|
||||
"tokens"
|
||||
],
|
||||
"description": "Create a new token. A token is linked to a file. Token can be passed as a header or request get parameter.",
|
||||
"description": "Create a new token. A token is linked to a file. Token can be passed as a request URL search parameter.",
|
||||
"responses": {
|
||||
"201": {
|
||||
"description": "ResourceToken",
|
||||
|
|
@ -22079,7 +22079,7 @@
|
|||
"type": "",
|
||||
"deprecated": false,
|
||||
"demo": "tokens\/create-file-token.md",
|
||||
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a header or request get parameter.",
|
||||
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new token. A token is linked to a file. Token can be passed as a request URL search parameter.",
|
||||
"rate-limit": 60,
|
||||
"rate-time": 60,
|
||||
"rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}",
|
||||
|
|
|
|||
12
composer.lock
generated
12
composer.lock
generated
|
|
@ -4105,16 +4105,16 @@
|
|||
},
|
||||
{
|
||||
"name": "utopia-php/platform",
|
||||
"version": "0.7.6",
|
||||
"version": "0.7.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/utopia-php/platform.git",
|
||||
"reference": "6bc7fbb43ec2b7f9ee5bdef5d4b5e4a81860950b"
|
||||
"reference": "8c43cd866148a7c4c495e3401268429e338004b3"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/utopia-php/platform/zipball/6bc7fbb43ec2b7f9ee5bdef5d4b5e4a81860950b",
|
||||
"reference": "6bc7fbb43ec2b7f9ee5bdef5d4b5e4a81860950b",
|
||||
"url": "https://api.github.com/repos/utopia-php/platform/zipball/8c43cd866148a7c4c495e3401268429e338004b3",
|
||||
"reference": "8c43cd866148a7c4c495e3401268429e338004b3",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -4149,9 +4149,9 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/utopia-php/platform/issues",
|
||||
"source": "https://github.com/utopia-php/platform/tree/0.7.6"
|
||||
"source": "https://github.com/utopia-php/platform/tree/0.7.7"
|
||||
},
|
||||
"time": "2025-05-18T20:31:24+00:00"
|
||||
"time": "2025-05-20T09:23:44+00:00"
|
||||
},
|
||||
{
|
||||
"name": "utopia-php/pools",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
import io.appwrite.Client;
|
||||
import io.appwrite.coroutines.CoroutineCallback;
|
||||
import io.appwrite.services.Databases;
|
||||
|
||||
Client client = new Client(context)
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setKey(""); //
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
|
||||
databases.createDocuments(
|
||||
"<DATABASE_ID>", // databaseId
|
||||
"<COLLECTION_ID>", // collectionId
|
||||
listOf(), // documents
|
||||
new CoroutineCallback<>((result, error) -> {
|
||||
if (error != null) {
|
||||
error.printStackTrace();
|
||||
return;
|
||||
}
|
||||
|
||||
Log.d("Appwrite", result.toString());
|
||||
})
|
||||
);
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
import io.appwrite.Client
|
||||
import io.appwrite.coroutines.CoroutineCallback
|
||||
import io.appwrite.services.Databases
|
||||
|
||||
val client = Client(context)
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setKey("") //
|
||||
|
||||
val databases = Databases(client)
|
||||
|
||||
val result = databases.createDocuments(
|
||||
databaseId = "<DATABASE_ID>",
|
||||
collectionId = "<COLLECTION_ID>",
|
||||
documents = listOf(),
|
||||
)
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setKey("") //
|
||||
|
||||
let databases = Databases(client)
|
||||
|
||||
let documentList = try await databases.createDocuments(
|
||||
databaseId: "<DATABASE_ID>",
|
||||
collectionId: "<COLLECTION_ID>",
|
||||
documents: []
|
||||
)
|
||||
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
import 'package:appwrite/appwrite.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setKey(''); //
|
||||
|
||||
Databases databases = Databases(client);
|
||||
|
||||
DocumentList result = await databases.createDocuments(
|
||||
databaseId: '<DATABASE_ID>',
|
||||
collectionId: '<COLLECTION_ID>',
|
||||
documents: [],
|
||||
);
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
mutation {
|
||||
databasesCreateDocuments(
|
||||
databaseId: "<DATABASE_ID>",
|
||||
collectionId: "<COLLECTION_ID>",
|
||||
documents: []
|
||||
) {
|
||||
total
|
||||
documents {
|
||||
_id
|
||||
_collectionId
|
||||
_databaseId
|
||||
_createdAt
|
||||
_updatedAt
|
||||
_permissions
|
||||
data
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
import { Client, Databases } from "react-native-appwrite";
|
||||
|
||||
const client = new Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setKey(''); //
|
||||
|
||||
const databases = new Databases(client);
|
||||
|
||||
const result = await databases.createDocuments(
|
||||
'<DATABASE_ID>', // databaseId
|
||||
'<COLLECTION_ID>', // collectionId
|
||||
[] // documents
|
||||
);
|
||||
|
||||
console.log(result);
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
POST /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1
|
||||
Host: cloud.appwrite.io
|
||||
Content-Type: application/json
|
||||
X-Appwrite-Response-Format: 1.7.0
|
||||
X-Appwrite-Project: <YOUR_PROJECT_ID>
|
||||
X-Appwrite-Session:
|
||||
X-Appwrite-JWT: <YOUR_JWT>
|
||||
|
||||
{
|
||||
"documents": []
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
import { Client, Databases } from "appwrite";
|
||||
|
||||
const client = new Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setKey(''); //
|
||||
|
||||
const databases = new Databases(client);
|
||||
|
||||
const result = await databases.createDocuments(
|
||||
'<DATABASE_ID>', // databaseId
|
||||
'<COLLECTION_ID>', // collectionId
|
||||
[] // documents
|
||||
);
|
||||
|
||||
console.log(result);
|
||||
|
|
@ -0,0 +1 @@
|
|||
appwrite account createAnonymousSession
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
appwrite account createEmailPasswordSession \
|
||||
--email email@example.com \
|
||||
--password password
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
appwrite account createEmailToken \
|
||||
--userId <USER_ID> \
|
||||
--email email@example.com \
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
appwrite account createJWT
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
appwrite account createMagicURLToken \
|
||||
--userId <USER_ID> \
|
||||
--email email@example.com \
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite account createMfaAuthenticator \
|
||||
--type totp
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite account createMfaChallenge \
|
||||
--factor email
|
||||
|
|
@ -0,0 +1 @@
|
|||
appwrite account createMfaRecoveryCodes
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
appwrite account createOAuth2Session \
|
||||
--provider amazon \
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
appwrite account createOAuth2Token \
|
||||
--provider amazon \
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
appwrite account createPhoneToken \
|
||||
--userId <USER_ID> \
|
||||
--phone +12065550100
|
||||
|
|
@ -0,0 +1 @@
|
|||
appwrite account createPhoneVerification
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
appwrite account createPushTarget \
|
||||
--targetId <TARGET_ID> \
|
||||
--identifier <IDENTIFIER> \
|
||||
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
appwrite account createRecovery \
|
||||
--email email@example.com \
|
||||
--url https://example.com
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
appwrite account createSession \
|
||||
--userId <USER_ID> \
|
||||
--secret <SECRET>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite account createVerification \
|
||||
--url https://example.com
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
appwrite account create \
|
||||
--userId <USER_ID> \
|
||||
--email email@example.com \
|
||||
--password '' \
|
||||
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite account deleteIdentity \
|
||||
--identityId <IDENTITY_ID>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite account deleteMfaAuthenticator \
|
||||
--type totp
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite account deletePushTarget \
|
||||
--targetId <TARGET_ID>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite account deleteSession \
|
||||
--sessionId <SESSION_ID>
|
||||
|
|
@ -0,0 +1 @@
|
|||
appwrite account deleteSessions
|
||||
|
|
@ -0,0 +1 @@
|
|||
appwrite account delete
|
||||
|
|
@ -0,0 +1 @@
|
|||
appwrite account getMfaRecoveryCodes
|
||||
|
|
@ -0,0 +1 @@
|
|||
appwrite account getPrefs
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite account getSession \
|
||||
--sessionId <SESSION_ID>
|
||||
1
docs/examples/1.7.x/console-cli/examples/account/get.md
Normal file
1
docs/examples/1.7.x/console-cli/examples/account/get.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
appwrite account get
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite account listIdentities \
|
||||
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite account listLogs \
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
appwrite account listMfaFactors
|
||||
|
|
@ -0,0 +1 @@
|
|||
appwrite account listSessions
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
appwrite account updateEmail \
|
||||
--email email@example.com \
|
||||
--password password
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite account updateMFA \
|
||||
--mfa false
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
appwrite account updateMagicURLSession \
|
||||
--userId <USER_ID> \
|
||||
--secret <SECRET>
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
appwrite account updateMfaAuthenticator \
|
||||
--type totp \
|
||||
--otp <OTP>
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
appwrite account updateMfaChallenge \
|
||||
--challengeId <CHALLENGE_ID> \
|
||||
--otp <OTP>
|
||||
|
|
@ -0,0 +1 @@
|
|||
appwrite account updateMfaRecoveryCodes
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite account updateName \
|
||||
--name <NAME>
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
appwrite account updatePassword \
|
||||
--password '' \
|
||||
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
appwrite account updatePhoneSession \
|
||||
--userId <USER_ID> \
|
||||
--secret <SECRET>
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
appwrite account updatePhoneVerification \
|
||||
--userId <USER_ID> \
|
||||
--secret <SECRET>
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
appwrite account updatePhone \
|
||||
--phone +12065550100 \
|
||||
--password password
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite account updatePrefs \
|
||||
--prefs '{ "key": "value" }'
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
appwrite account updatePushTarget \
|
||||
--targetId <TARGET_ID> \
|
||||
--identifier <IDENTIFIER>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
appwrite account updateRecovery \
|
||||
--userId <USER_ID> \
|
||||
--secret <SECRET> \
|
||||
--password ''
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite account updateSession \
|
||||
--sessionId <SESSION_ID>
|
||||
|
|
@ -0,0 +1 @@
|
|||
appwrite account updateStatus
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
appwrite account updateVerification \
|
||||
--userId <USER_ID> \
|
||||
--secret <SECRET>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite assistant chat \
|
||||
--prompt <PROMPT>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
appwrite avatars getBrowser \
|
||||
--code aa \
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
appwrite avatars getCreditCard \
|
||||
--code amex \
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite avatars getFavicon \
|
||||
--url https://example.com
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
appwrite avatars getFlag \
|
||||
--code af \
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
appwrite avatars getImage \
|
||||
--url https://example.com \
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
appwrite avatars getInitials \
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
appwrite avatars getQR \
|
||||
--text <TEXT> \
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
appwrite console getResource \
|
||||
--value <VALUE> \
|
||||
--type rules
|
||||
|
|
@ -0,0 +1 @@
|
|||
appwrite console variables
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
appwrite databases createBooleanAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--required false \
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
appwrite databases createCollection \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--name <NAME> \
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
appwrite databases createDatetimeAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--required false \
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
appwrite databases createDocument \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--documentId <DOCUMENT_ID> \
|
||||
--data '{ "key": "value" }' \
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
appwrite databases createDocuments \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--documents one two three
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
appwrite databases createEmailAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--required false \
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
appwrite databases createEnumAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--elements one two three \
|
||||
--required false \
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
appwrite databases createFloatAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--required false \
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
appwrite databases createIndex \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--type key \
|
||||
--attributes one two three \
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
appwrite databases createIntegerAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--required false \
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
appwrite databases createIpAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--required false \
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
appwrite databases createRelationshipAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--relatedCollectionId <RELATED_COLLECTION_ID> \
|
||||
--type oneToOne \
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
appwrite databases createStringAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--size 1 \
|
||||
--required false \
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
appwrite databases createUrlAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--required false \
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
appwrite databases create \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--name <NAME> \
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
appwrite databases deleteAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key ''
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
appwrite databases deleteCollection \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
appwrite databases deleteDocument \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--documentId <DOCUMENT_ID>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
appwrite databases deleteDocuments \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
appwrite databases deleteIndex \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key ''
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
appwrite databases delete \
|
||||
--databaseId <DATABASE_ID>
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue