You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/databases.md
+68-6Lines changed: 68 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -623,7 +623,9 @@ POST https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collection
623
623
POST https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectionId}/documents
624
624
```
625
625
626
-
** 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. **
626
+
****WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.
627
+
628
+
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. **
627
629
628
630
### Parameters
629
631
@@ -638,23 +640,26 @@ POST https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collection
638
640
PUT https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectionId}/documents
639
641
```
640
642
641
-
** Create or update 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.
642
-
**
643
+
****WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.
644
+
645
+
Create or update 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. **
** Update all documents that match your queries, if no queries are submitted then all documents are updated. You can pass only specific fields to be updated. **
660
+
****WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.
661
+
662
+
Update all documents that match your queries, if no queries are submitted then all documents are updated. You can pass only specific fields to be updated. **
** Bulk delete documents using queries, if no queries are passed then all documents are deleted. **
678
+
****WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.
679
+
680
+
Bulk delete documents using queries, if no queries are passed then all documents are deleted. **
674
681
675
682
### Parameters
676
683
@@ -697,6 +704,25 @@ GET https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectionI
697
704
| queries | array | Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. |[]|
698
705
699
706
707
+
```http request
708
+
PUT https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId}
709
+
```
710
+
711
+
****WARNING: Experimental Feature** - This endpoint is experimental and not yet officially supported. It may be subject to breaking changes or removal in future versions.
712
+
713
+
Create or update a 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. **
| data | object | Document data as JSON object. Include all required attributes of the document to be created or updated. | {} |
723
+
| permissions | array | An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions). ||
Copy file name to clipboardExpand all lines: docs/users.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -509,7 +509,7 @@ GET https://cloud.appwrite.io/v1/users/{userId}/targets
509
509
| Field Name | Type | Description | Default |
510
510
| --- | --- | --- | --- |
511
511
| userId | string |**Required** User ID. ||
512
-
| queries | array | Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels|[]|
512
+
| queries | array | Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, providerId, identifier, providerType|[]|
0 commit comments