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.5.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-php/releases).**
9
+
**This SDK is compatible with Appwrite server version 1.6.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-php/releases).**
10
10
11
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)
** 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. **
POST https://cloud.appwrite.io/v1/account/mfa/authenticators/{type}
@@ -126,7 +126,7 @@ POST https://cloud.appwrite.io/v1/account/mfa/authenticators/{type}
126
126
PUT https://cloud.appwrite.io/v1/account/mfa/authenticators/{type}
127
127
```
128
128
129
-
** Verify an authenticator app after adding it using the [add authenticator](/docs/references/cloud/client-web/account#createMfaAuthenticator) method. add **
129
+
** Verify an authenticator app after adding it using the [add authenticator](/docs/references/cloud/client-web/account#createMfaAuthenticator) method. **
| type | string |**Required** Type of authenticator. ||
151
-
| otp | string | Valid verification token. ||
152
151
153
-
## Create 2FA Challenge
152
+
## Create MFA Challenge
154
153
155
154
```http request
156
155
POST https://cloud.appwrite.io/v1/account/mfa/challenge
@@ -562,7 +561,7 @@ POST https://cloud.appwrite.io/v1/account/verification/phone
562
561
563
562
** Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the [accountUpdatePhone](https://appwrite.io/docs/references/cloud/client-web/account#updatePhone) endpoint. Learn more about how to [complete the verification process](https://appwrite.io/docs/references/cloud/client-web/account#updatePhoneVerification). The verification code sent to the user's phone number is valid for 15 minutes. **
564
563
565
-
## Create phone verification (confirmation)
564
+
## Update phone verification (confirmation)
566
565
567
566
```http request
568
567
PUT https://cloud.appwrite.io/v1/account/verification/phone
Copy file name to clipboardexpand all lines: docs/avatars.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,8 @@ GET https://cloud.appwrite.io/v1/avatars/favicon
46
46
```
47
47
48
48
** Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.
49
-
**
49
+
50
+
This endpoint does not follow HTTP redirects. **
50
51
51
52
### Parameters
52
53
@@ -83,7 +84,8 @@ GET https://cloud.appwrite.io/v1/avatars/image
83
84
** Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.
84
85
85
86
When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.
0 commit comments