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
**This SDK is compatible with Appwrite server version 1.8.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-php/releases).**
10
10
11
-
Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the PHP SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
11
+
Appwrite is an open-source backend as a service server that abstracts and simplifies complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the PHP SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
Copy file name to clipboardExpand all lines: composer.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "appwrite/appwrite",
3
-
"description": "Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
3
+
"description": "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
Copy file name to clipboardExpand all lines: docs/account.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,12 @@ POST https://cloud.appwrite.io/v1/account/jwts
73
73
74
74
** Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame. **
75
75
76
+
### Parameters
77
+
78
+
| Field Name | Type | Description | Default |
79
+
| --- | --- | --- | --- |
80
+
| duration | integer | Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds. | 900 |
| collectionId | string |**Required** Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). ||
576
+
| key | string | Attribute Key. ||
577
+
| required | boolean | Is attribute required? ||
578
+
| default | string | Default value for attribute when not provided. Cannot be set when attribute is required. ||
| collectionId | string |**Required** Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). ||
595
+
| key | string |**Required** Attribute Key. ||
596
+
| required | boolean | Is attribute required? ||
597
+
| default | string | Default value for attribute when not provided. Cannot be set when attribute is required. ||
598
+
| newKey | string | New Attribute Key. ||
599
+
600
+
601
+
```http request
602
+
POST https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectionId}/attributes/mediumtext
| collectionId | string |**Required** Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). ||
614
+
| key | string | Attribute Key. ||
615
+
| required | boolean | Is attribute required? ||
616
+
| default | string | Default value for attribute when not provided. Cannot be set when attribute is required. ||
| collectionId | string |**Required** Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). ||
633
+
| key | string |**Required** Attribute Key. ||
634
+
| required | boolean | Is attribute required? ||
635
+
| default | string | Default value for attribute when not provided. Cannot be set when attribute is required. ||
636
+
| newKey | string | New Attribute Key. ||
637
+
638
+
563
639
```http request
564
640
POST https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectionId}/attributes/point
| collectionId | string |**Required** Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). ||
784
+
| key | string | Attribute Key. ||
785
+
| required | boolean | Is attribute required? ||
786
+
| default | string | Default value for attribute when not provided. Cannot be set when attribute is required. ||
| collectionId | string |**Required** Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). ||
803
+
| key | string |**Required** Attribute Key. ||
804
+
| required | boolean | Is attribute required? ||
805
+
| default | string | Default value for attribute when not provided. Cannot be set when attribute is required. ||
806
+
| newKey | string | New Attribute Key. ||
807
+
808
+
695
809
```http request
696
810
POST https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectionId}/attributes/url
| collectionId | string |**Required** Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). ||
860
+
| key | string | Attribute Key. ||
861
+
| size | integer | Attribute size for varchar attributes, in number of characters. Maximum size is 16381. ||
862
+
| required | boolean | Is attribute required? ||
863
+
| default | string | Default value for attribute when not provided. Cannot be set when attribute is required. ||
| collectionId | string |**Required** Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). ||
880
+
| key | string |**Required** Attribute Key. ||
881
+
| required | boolean | Is attribute required? ||
882
+
| default | string | Default value for attribute when not provided. Cannot be set when attribute is required. ||
883
+
| size | integer | Maximum size of the varchar attribute. ||
884
+
| newKey | string | New Attribute Key. ||
885
+
886
+
733
887
```http request
734
888
GET https://cloud.appwrite.io/v1/databases/{databaseId}/collections/{collectionId}/attributes/{key}
0 commit comments