Skip to content

Commit 9146fac

Browse files
committed
Add 1.8.x support
1 parent 73b843a commit 9146fac

File tree

4 files changed

+28
-28
lines changed

4 files changed

+28
-28
lines changed

docs/tablesdb.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ GET https://cloud.appwrite.io/v1/tablesdb
1111

1212
| Field Name | Type | Description | Default |
1313
| --- | --- | --- | --- |
14-
| 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 | [] |
14+
| 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 columns: name | [] |
1515
| search | string | Search term to filter your list results. Max length: 256 chars. | |
1616

1717

@@ -83,7 +83,7 @@ GET https://cloud.appwrite.io/v1/tablesdb/{databaseId}/tables
8383
| Field Name | Type | Description | Default |
8484
| --- | --- | --- | --- |
8585
| databaseId | string | **Required** Database ID. | |
86-
| 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, enabled, rowSecurity | [] |
86+
| 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 columns: name, enabled, rowSecurity | [] |
8787
| search | string | Search term to filter your list results. Max length: 256 chars. | |
8888

8989

@@ -163,7 +163,7 @@ GET https://cloud.appwrite.io/v1/tablesdb/{databaseId}/tables/{tableId}/columns
163163
| --- | --- | --- | --- |
164164
| databaseId | string | **Required** Database ID. | |
165165
| tableId | string | **Required** Table ID. | |
166-
| 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: key, type, size, required, array, status, error | [] |
166+
| 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 columns: key, type, size, required, array, status, error | [] |
167167

168168

169169
```http request
@@ -473,7 +473,7 @@ POST https://cloud.appwrite.io/v1/tablesdb/{databaseId}/tables/{tableId}/columns
473473
| databaseId | string | **Required** Database ID. | |
474474
| tableId | string | **Required** Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). | |
475475
| key | string | Column Key. | |
476-
| size | integer | Attribute size for text attributes, in number of characters. | |
476+
| size | integer | Column size for text columns, in number of characters. | |
477477
| required | boolean | Is column required? | |
478478
| default | string | Default value for column when not provided. Cannot be set when column is required. | |
479479
| array | boolean | Is column an array? | |
@@ -598,7 +598,7 @@ GET https://cloud.appwrite.io/v1/tablesdb/{databaseId}/tables/{tableId}/indexes
598598
| --- | --- | --- | --- |
599599
| databaseId | string | **Required** Database ID. | |
600600
| tableId | string | **Required** Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). | |
601-
| 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: key, type, status, attributes, error | [] |
601+
| 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 columns: key, type, status, attributes, error | [] |
602602

603603

604604
```http request

src/Appwrite/Services/Account.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public function updateMFA(bool $mfa): array
288288
* @return array
289289
*
290290
* @deprecated This API has been deprecated since 1.8.0. Please use `createMFAAuthenticator` instead.
291-
* @see CreateMFAAuthenticator
291+
* @see Account::createMFAAuthenticator
292292
*/
293293
public function createMfaAuthenticator(AuthenticatorType $type): array
294294
{
@@ -355,7 +355,7 @@ public function createMFAAuthenticator(AuthenticatorType $type): array
355355
* @return array
356356
*
357357
* @deprecated This API has been deprecated since 1.8.0. Please use `updateMFAAuthenticator` instead.
358-
* @see UpdateMFAAuthenticator
358+
* @see Account::updateMFAAuthenticator
359359
*/
360360
public function updateMfaAuthenticator(AuthenticatorType $type, string $otp): array
361361
{
@@ -421,7 +421,7 @@ public function updateMFAAuthenticator(AuthenticatorType $type, string $otp): ar
421421
* @return string
422422
*
423423
* @deprecated This API has been deprecated since 1.8.0. Please use `deleteMFAAuthenticator` instead.
424-
* @see DeleteMFAAuthenticator
424+
* @see Account::deleteMFAAuthenticator
425425
*/
426426
public function deleteMfaAuthenticator(AuthenticatorType $type): string
427427
{
@@ -484,7 +484,7 @@ public function deleteMFAAuthenticator(AuthenticatorType $type): string
484484
* @return array
485485
*
486486
* @deprecated This API has been deprecated since 1.8.0. Please use `createMFAChallenge` instead.
487-
* @see CreateMFAChallenge
487+
* @see Account::createMFAChallenge
488488
*/
489489
public function createMfaChallenge(AuthenticationFactor $factor): array
490490
{
@@ -552,7 +552,7 @@ public function createMFAChallenge(AuthenticationFactor $factor): array
552552
* @return array
553553
*
554554
* @deprecated This API has been deprecated since 1.8.0. Please use `updateMFAChallenge` instead.
555-
* @see UpdateMFAChallenge
555+
* @see Account::updateMFAChallenge
556556
*/
557557
public function updateMfaChallenge(string $challengeId, string $otp): array
558558
{
@@ -619,7 +619,7 @@ public function updateMFAChallenge(string $challengeId, string $otp): array
619619
* @return array
620620
*
621621
* @deprecated This API has been deprecated since 1.8.0. Please use `listMFAFactors` instead.
622-
* @see ListMFAFactors
622+
* @see Account::listMFAFactors
623623
*/
624624
public function listMfaFactors(): array
625625
{
@@ -677,7 +677,7 @@ public function listMFAFactors(): array
677677
* @return array
678678
*
679679
* @deprecated This API has been deprecated since 1.8.0. Please use `getMFARecoveryCodes` instead.
680-
* @see GetMFARecoveryCodes
680+
* @see Account::getMFARecoveryCodes
681681
*/
682682
public function getMfaRecoveryCodes(): array
683683
{
@@ -739,7 +739,7 @@ public function getMFARecoveryCodes(): array
739739
* @return array
740740
*
741741
* @deprecated This API has been deprecated since 1.8.0. Please use `createMFARecoveryCodes` instead.
742-
* @see CreateMFARecoveryCodes
742+
* @see Account::createMFARecoveryCodes
743743
*/
744744
public function createMfaRecoveryCodes(): array
745745
{
@@ -803,7 +803,7 @@ public function createMFARecoveryCodes(): array
803803
* @return array
804804
*
805805
* @deprecated This API has been deprecated since 1.8.0. Please use `updateMFARecoveryCodes` instead.
806-
* @see UpdateMFARecoveryCodes
806+
* @see Account::updateMFARecoveryCodes
807807
*/
808808
public function updateMfaRecoveryCodes(): array
809809
{

src/Appwrite/Services/Messaging.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ public function updatePush(string $messageId, ?array $topics = null, ?array $use
472472
* @return array
473473
*
474474
* @deprecated This API has been deprecated since 1.8.0. Please use `createSMS` instead.
475-
* @see CreateSMS
475+
* @see Messaging::createSMS
476476
*/
477477
public function createSms(string $messageId, string $content, ?array $topics = null, ?array $users = null, ?array $targets = null, ?bool $draft = null, ?string $scheduledAt = null): array
478478
{
@@ -590,7 +590,7 @@ public function createSMS(string $messageId, string $content, ?array $topics = n
590590
* @return array
591591
*
592592
* @deprecated This API has been deprecated since 1.8.0. Please use `updateSMS` instead.
593-
* @see UpdateSMS
593+
* @see Messaging::updateSMS
594594
*/
595595
public function updateSms(string $messageId, ?array $topics = null, ?array $users = null, ?array $targets = null, ?string $content = null, ?bool $draft = null, ?string $scheduledAt = null): array
596596
{
@@ -876,7 +876,7 @@ public function listProviders(?array $queries = null, ?string $search = null): a
876876
* @return array
877877
*
878878
* @deprecated This API has been deprecated since 1.8.0. Please use `createAPNSProvider` instead.
879-
* @see CreateAPNSProvider
879+
* @see Messaging::createAPNSProvider
880880
*/
881881
public function createApnsProvider(string $providerId, string $name, ?string $authKey = null, ?string $authKeyId = null, ?string $teamId = null, ?string $bundleId = null, ?bool $sandbox = null, ?bool $enabled = null): array
882882
{
@@ -1001,7 +1001,7 @@ public function createAPNSProvider(string $providerId, string $name, ?string $au
10011001
* @return array
10021002
*
10031003
* @deprecated This API has been deprecated since 1.8.0. Please use `updateAPNSProvider` instead.
1004-
* @see UpdateAPNSProvider
1004+
* @see Messaging::updateAPNSProvider
10051005
*/
10061006
public function updateApnsProvider(string $providerId, ?string $name = null, ?bool $enabled = null, ?string $authKey = null, ?string $authKeyId = null, ?string $teamId = null, ?string $bundleId = null, ?bool $sandbox = null): array
10071007
{
@@ -1128,7 +1128,7 @@ public function updateAPNSProvider(string $providerId, ?string $name = null, ?bo
11281128
* @return array
11291129
*
11301130
* @deprecated This API has been deprecated since 1.8.0. Please use `createFCMProvider` instead.
1131-
* @see CreateFCMProvider
1131+
* @see Messaging::createFCMProvider
11321132
*/
11331133
public function createFcmProvider(string $providerId, string $name, ?array $serviceAccountJSON = null, ?bool $enabled = null): array
11341134
{
@@ -1213,7 +1213,7 @@ public function createFCMProvider(string $providerId, string $name, ?array $serv
12131213
* @return array
12141214
*
12151215
* @deprecated This API has been deprecated since 1.8.0. Please use `updateFCMProvider` instead.
1216-
* @see UpdateFCMProvider
1216+
* @see Messaging::updateFCMProvider
12171217
*/
12181218
public function updateFcmProvider(string $providerId, ?string $name = null, ?bool $enabled = null, ?array $serviceAccountJSON = null): array
12191219
{
@@ -1689,7 +1689,7 @@ public function updateSendgridProvider(string $providerId, ?string $name = null,
16891689
* @return array
16901690
*
16911691
* @deprecated This API has been deprecated since 1.8.0. Please use `createSMTPProvider` instead.
1692-
* @see CreateSMTPProvider
1692+
* @see Messaging::createSMTPProvider
16931693
*/
16941694
public function createSmtpProvider(string $providerId, string $name, string $host, ?int $port = null, ?string $username = null, ?string $password = null, ?SmtpEncryption $encryption = null, ?bool $autoTLS = null, ?string $mailer = null, ?string $fromName = null, ?string $fromEmail = null, ?string $replyToName = null, ?string $replyToEmail = null, ?bool $enabled = null): array
16951695
{
@@ -1868,7 +1868,7 @@ public function createSMTPProvider(string $providerId, string $name, string $hos
18681868
* @return array
18691869
*
18701870
* @deprecated This API has been deprecated since 1.8.0. Please use `updateSMTPProvider` instead.
1871-
* @see UpdateSMTPProvider
1871+
* @see Messaging::updateSMTPProvider
18721872
*/
18731873
public function updateSmtpProvider(string $providerId, ?string $name = null, ?string $host = null, ?int $port = null, ?string $username = null, ?string $password = null, ?SmtpEncryption $encryption = null, ?bool $autoTLS = null, ?string $mailer = null, ?string $fromName = null, ?string $fromEmail = null, ?string $replyToName = null, ?string $replyToEmail = null, ?bool $enabled = null): array
18741874
{

src/Appwrite/Services/Users.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ public function listMemberships(string $userId, ?array $queries = null, ?string
727727
* @return array
728728
*
729729
* @deprecated This API has been deprecated since 1.8.0. Please use `updateMFA` instead.
730-
* @see UpdateMFA
730+
* @see Users::updateMFA
731731
*/
732732
public function updateMfa(string $userId, bool $mfa): array
733733
{
@@ -792,7 +792,7 @@ public function updateMFA(string $userId, bool $mfa): array
792792
* @return string
793793
*
794794
* @deprecated This API has been deprecated since 1.8.0. Please use `deleteMFAAuthenticator` instead.
795-
* @see DeleteMFAAuthenticator
795+
* @see Users::deleteMFAAuthenticator
796796
*/
797797
public function deleteMfaAuthenticator(string $userId, AuthenticatorType $type): string
798798
{
@@ -856,7 +856,7 @@ public function deleteMFAAuthenticator(string $userId, AuthenticatorType $type):
856856
* @return array
857857
*
858858
* @deprecated This API has been deprecated since 1.8.0. Please use `listMFAFactors` instead.
859-
* @see ListMFAFactors
859+
* @see Users::listMFAFactors
860860
*/
861861
public function listMfaFactors(string $userId): array
862862
{
@@ -918,7 +918,7 @@ public function listMFAFactors(string $userId): array
918918
* @return array
919919
*
920920
* @deprecated This API has been deprecated since 1.8.0. Please use `getMFARecoveryCodes` instead.
921-
* @see GetMFARecoveryCodes
921+
* @see Users::getMFARecoveryCodes
922922
*/
923923
public function getMfaRecoveryCodes(string $userId): array
924924
{
@@ -983,7 +983,7 @@ public function getMFARecoveryCodes(string $userId): array
983983
* @return array
984984
*
985985
* @deprecated This API has been deprecated since 1.8.0. Please use `updateMFARecoveryCodes` instead.
986-
* @see UpdateMFARecoveryCodes
986+
* @see Users::updateMFARecoveryCodes
987987
*/
988988
public function updateMfaRecoveryCodes(string $userId): array
989989
{
@@ -1050,7 +1050,7 @@ public function updateMFARecoveryCodes(string $userId): array
10501050
* @return array
10511051
*
10521052
* @deprecated This API has been deprecated since 1.8.0. Please use `createMFARecoveryCodes` instead.
1053-
* @see CreateMFARecoveryCodes
1053+
* @see Users::createMFARecoveryCodes
10541054
*/
10551055
public function createMfaRecoveryCodes(string $userId): array
10561056
{

0 commit comments

Comments
 (0)