From 0ea66121b1ca25eca31acb521aff386c4a44b2b8 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Tue, 1 Jul 2025 09:54:57 +0530 Subject: [PATCH] chore: add deprecated version --- app/config/specs/open-api3-1.8.x-client.json | 18 ++- app/config/specs/open-api3-1.8.x-console.json | 139 ++++++++++++------ app/config/specs/open-api3-1.8.x-server.json | 129 ++++++++++------ app/config/specs/swagger2-1.8.x-client.json | 18 ++- app/config/specs/swagger2-1.8.x-console.json | 139 ++++++++++++------ app/config/specs/swagger2-1.8.x-server.json | 129 ++++++++++------ .../Collections/Attributes/Boolean/Create.php | 1 + .../Collections/Attributes/Boolean/Update.php | 1 + .../Attributes/Datetime/Create.php | 1 + .../Attributes/Datetime/Update.php | 1 + .../Collections/Attributes/Delete.php | 1 + .../Collections/Attributes/Email/Create.php | 1 + .../Collections/Attributes/Email/Update.php | 1 + .../Collections/Attributes/Enum/Create.php | 1 + .../Collections/Attributes/Enum/Update.php | 1 + .../Collections/Attributes/Float/Create.php | 1 + .../Collections/Attributes/Float/Update.php | 1 + .../Databases/Collections/Attributes/Get.php | 1 + .../Collections/Attributes/IP/Create.php | 1 + .../Collections/Attributes/IP/Update.php | 1 + .../Collections/Attributes/Integer/Create.php | 1 + .../Collections/Attributes/Integer/Update.php | 1 + .../Attributes/Relationship/Create.php | 1 + .../Attributes/Relationship/Update.php | 1 + .../Collections/Attributes/String/Create.php | 1 + .../Collections/Attributes/String/Update.php | 1 + .../Collections/Attributes/URL/Create.php | 1 + .../Collections/Attributes/URL/Update.php | 1 + .../Collections/Attributes/XList.php | 1 + .../Http/Databases/Collections/Create.php | 1 + .../Http/Databases/Collections/Delete.php | 1 + .../Documents/Attribute/Decrement.php | 1 + .../Documents/Attribute/Increment.php | 1 + .../Collections/Documents/Bulk/Delete.php | 1 + .../Collections/Documents/Bulk/Update.php | 1 + .../Collections/Documents/Bulk/Upsert.php | 1 + .../Collections/Documents/Create.php | 1 + .../Collections/Documents/Delete.php | 1 + .../Databases/Collections/Documents/Get.php | 1 + .../Collections/Documents/Logs/XList.php | 4 + .../Collections/Documents/Update.php | 1 + .../Collections/Documents/Upsert.php | 1 + .../Databases/Collections/Documents/XList.php | 1 + .../Http/Databases/Collections/Get.php | 1 + .../Databases/Collections/Indexes/Create.php | 1 + .../Databases/Collections/Indexes/Delete.php | 1 + .../Databases/Collections/Indexes/Get.php | 1 + .../Databases/Collections/Indexes/XList.php | 1 + .../Http/Databases/Collections/Logs/XList.php | 1 + .../Http/Databases/Collections/Update.php | 1 + .../Http/Databases/Collections/Usage/Get.php | 1 + .../Http/Databases/Collections/XList.php | 1 + src/Appwrite/SDK/Method.php | 22 +-- .../SDK/Specification/Format/OpenAPI3.php | 11 +- .../SDK/Specification/Format/Swagger2.php | 11 +- 55 files changed, 442 insertions(+), 223 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-client.json b/app/config/specs/open-api3-1.8.x-client.json index f45a5bc70e..10c6122ad5 100644 --- a/app/config/specs/open-api3-1.8.x-client.json +++ b/app/config/specs/open-api3-1.8.x-client.json @@ -4365,6 +4365,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listRows", "demo": "databases\/list-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "rate-limit": 0, @@ -4377,7 +4379,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listRows", "auth": { "Project": [] } @@ -4451,6 +4452,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createRow", "demo": "databases\/create-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "rate-limit": 120, @@ -4463,7 +4466,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createRow", "methods": [ { "name": "createDocument", @@ -4617,6 +4619,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.getRow", "demo": "databases\/get-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "rate-limit": 0, @@ -4629,7 +4633,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getRow", "auth": { "Project": [] } @@ -4713,6 +4716,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.upsertRow", "demo": "databases\/upsert-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, @@ -4725,7 +4730,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.upsertRow", "methods": [ { "name": "upsertDocument", @@ -4842,6 +4846,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateRow", "demo": "databases\/update-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "rate-limit": 120, @@ -4854,7 +4860,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateRow", "auth": { "Project": [] } @@ -4942,6 +4947,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteRow", "demo": "databases\/delete-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "rate-limit": 60, @@ -4954,7 +4961,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteRow", "auth": { "Project": [] } diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index 9ecb607bd6..d4c99c3fba 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -4966,6 +4966,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.list", "demo": "databases\/list-collections.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md", "rate-limit": 0, @@ -4976,7 +4978,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listTables", "auth": { "Project": [] } @@ -5050,6 +5051,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.create", "demo": "databases\/create-collection.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md", "rate-limit": 0, @@ -5060,7 +5063,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createTable", "auth": { "Project": [] } @@ -5155,6 +5157,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.get", "demo": "databases\/get-collection.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md", "rate-limit": 0, @@ -5165,7 +5169,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getTable", "auth": { "Project": [] } @@ -5225,6 +5228,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.update", "demo": "databases\/update-collection.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md", "rate-limit": 0, @@ -5235,7 +5240,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateTable", "auth": { "Project": [] } @@ -5325,6 +5329,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.delete", "demo": "databases\/delete-collection.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md", "rate-limit": 0, @@ -5335,7 +5341,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteTable", "auth": { "Project": [] } @@ -5397,6 +5402,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listColumns", "demo": "databases\/list-attributes.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md", "rate-limit": 0, @@ -5407,7 +5414,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listColumns", "auth": { "Project": [] } @@ -5482,6 +5488,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createBooleanColumn", "demo": "databases\/create-boolean-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md", "rate-limit": 0, @@ -5492,7 +5500,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createBooleanColumn", "auth": { "Project": [] } @@ -5589,6 +5596,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateBooleanColumn", "demo": "databases\/update-boolean-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md", "rate-limit": 0, @@ -5599,7 +5608,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateBooleanColumn", "auth": { "Project": [] } @@ -5701,6 +5709,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createDatetimeColumn", "demo": "databases\/create-datetime-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md", "rate-limit": 0, @@ -5711,7 +5721,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createDatetimeColumn", "auth": { "Project": [] } @@ -5808,6 +5817,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateDatetimeColumn", "demo": "databases\/update-datetime-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md", "rate-limit": 0, @@ -5818,7 +5829,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateDatetimeColumn", "auth": { "Project": [] } @@ -5920,6 +5930,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createEmailColumn", "demo": "databases\/create-email-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md", "rate-limit": 0, @@ -5930,7 +5942,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createEmailColumn", "auth": { "Project": [] } @@ -6027,6 +6038,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateEmailColumn", "demo": "databases\/update-email-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md", "rate-limit": 0, @@ -6037,7 +6050,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateEmailColumn", "auth": { "Project": [] } @@ -6139,6 +6151,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createEnumColumn", "demo": "databases\/create-enum-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "rate-limit": 0, @@ -6149,7 +6163,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createEnumColumn", "auth": { "Project": [] } @@ -6255,6 +6268,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateEnumColumn", "demo": "databases\/update-enum-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md", "rate-limit": 0, @@ -6265,7 +6280,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateEnumColumn", "auth": { "Project": [] } @@ -6376,6 +6390,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createFloatColumn", "demo": "databases\/create-float-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md", "rate-limit": 0, @@ -6386,7 +6402,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createFloatColumn", "auth": { "Project": [] } @@ -6493,6 +6508,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateFloatColumn", "demo": "databases\/update-float-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md", "rate-limit": 0, @@ -6503,7 +6520,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateFloatColumn", "auth": { "Project": [] } @@ -6615,6 +6631,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createIntegerColumn", "demo": "databases\/create-integer-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md", "rate-limit": 0, @@ -6625,7 +6643,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createIntegerColumn", "auth": { "Project": [] } @@ -6732,6 +6749,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateIntegerColumn", "demo": "databases\/update-integer-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md", "rate-limit": 0, @@ -6742,7 +6761,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateIntegerColumn", "auth": { "Project": [] } @@ -6854,6 +6872,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createIpColumn", "demo": "databases\/create-ip-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md", "rate-limit": 0, @@ -6864,7 +6884,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createIpColumn", "auth": { "Project": [] } @@ -6961,6 +6980,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateIpColumn", "demo": "databases\/update-ip-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md", "rate-limit": 0, @@ -6971,7 +6992,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateIpColumn", "auth": { "Project": [] } @@ -7073,6 +7093,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createRelationshipColumn", "demo": "databases\/create-relationship-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md", "rate-limit": 0, @@ -7083,7 +7105,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createRelationshipColumn", "auth": { "Project": [] } @@ -7205,6 +7226,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createStringColumn", "demo": "databases\/create-string-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md", "rate-limit": 0, @@ -7215,7 +7238,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createStringColumn", "auth": { "Project": [] } @@ -7323,6 +7345,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateStringColumn", "demo": "databases\/update-string-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md", "rate-limit": 0, @@ -7333,7 +7357,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateStringColumn", "auth": { "Project": [] } @@ -7440,6 +7463,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createUrlColumn", "demo": "databases\/create-url-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md", "rate-limit": 0, @@ -7450,7 +7475,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createUrlColumn", "auth": { "Project": [] } @@ -7547,6 +7571,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateUrlColumn", "demo": "databases\/update-url-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md", "rate-limit": 0, @@ -7557,7 +7583,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateUrlColumn", "auth": { "Project": [] } @@ -7690,6 +7715,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.getColumn", "demo": "databases\/get-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md", "rate-limit": 0, @@ -7700,7 +7727,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getColumn", "auth": { "Project": [] } @@ -7762,6 +7788,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteColumn", "demo": "databases\/delete-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md", "rate-limit": 0, @@ -7772,7 +7800,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteColumn", "auth": { "Project": [] } @@ -7843,6 +7870,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateRelationshipColumn", "demo": "databases\/update-relationship-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md", "rate-limit": 0, @@ -7853,7 +7882,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateRelationshipColumn", "auth": { "Project": [] } @@ -7952,6 +7980,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listRows", "demo": "databases\/list-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "rate-limit": 0, @@ -7964,7 +7994,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listRows", "auth": { "Project": [] } @@ -8038,6 +8067,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createRow", "demo": "databases\/create-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "rate-limit": 120, @@ -8050,7 +8081,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createRow", "methods": [ { "name": "createDocument", @@ -8202,6 +8232,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.upsertRows", "demo": "databases\/upsert-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "rate-limit": 120, @@ -8213,7 +8245,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.upsertRows", "methods": [ { "name": "upsertDocuments", @@ -8313,6 +8344,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateRows", "demo": "databases\/update-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "rate-limit": 120, @@ -8324,7 +8357,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateRows", "auth": { "Project": [] } @@ -8408,6 +8440,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteRows", "demo": "databases\/delete-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "rate-limit": 60, @@ -8419,7 +8453,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteRows", "auth": { "Project": [] } @@ -8500,6 +8533,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.getRow", "demo": "databases\/get-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "rate-limit": 0, @@ -8512,7 +8547,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getRow", "auth": { "Project": [] } @@ -8596,6 +8630,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.upsertRow", "demo": "databases\/upsert-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, @@ -8608,7 +8644,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.upsertRow", "methods": [ { "name": "upsertDocument", @@ -8725,6 +8760,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateRow", "demo": "databases\/update-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "rate-limit": 120, @@ -8737,7 +8774,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateRow", "auth": { "Project": [] } @@ -8825,6 +8861,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteRow", "demo": "databases\/delete-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "rate-limit": 60, @@ -8837,7 +8875,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteRow", "auth": { "Project": [] } @@ -8909,7 +8946,9 @@ "weight": 341, "cookies": false, "type": "", - "deprecated": false, + "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listLogs", "demo": "databases\/list-document-logs.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document-logs.md", "rate-limit": 0, @@ -9003,6 +9042,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.decrementColumn", "demo": "databases\/decrement-document-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "rate-limit": 120, @@ -9014,7 +9055,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.decrementColumn", "auth": { "Project": [] } @@ -9116,6 +9156,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.incrementColumn", "demo": "databases\/increment-document-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "rate-limit": 120, @@ -9127,7 +9169,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.incrementColumn", "auth": { "Project": [] } @@ -9229,6 +9270,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listColumnIndexes", "demo": "databases\/list-indexes.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md", "rate-limit": 0, @@ -9239,7 +9282,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listColumnIndexes", "auth": { "Project": [] } @@ -9312,6 +9354,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createColumnIndex", "demo": "databases\/create-index.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md", "rate-limit": 0, @@ -9322,7 +9366,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createColumnIndex", "auth": { "Project": [] } @@ -9441,6 +9484,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.getColumnIndex", "demo": "databases\/get-index.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md", "rate-limit": 0, @@ -9451,7 +9496,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getColumnIndex", "auth": { "Project": [] } @@ -9513,6 +9557,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteColumnIndex", "demo": "databases\/delete-index.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md", "rate-limit": 0, @@ -9523,7 +9569,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteColumnIndex", "auth": { "Project": [] } @@ -9594,6 +9639,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listTableLogs", "demo": "databases\/list-collection-logs.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-logs.md", "rate-limit": 0, @@ -9604,7 +9651,6 @@ "console" ], "packaging": false, - "replaceWith": "tables.listTableLogs", "auth": { "Project": [] } @@ -9678,6 +9724,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.getTableUsage", "demo": "databases\/get-collection-usage.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-usage.md", "rate-limit": 0, @@ -9688,7 +9736,6 @@ "console" ], "packaging": false, - "replaceWith": "tables.getTableUsage", "auth": { "Project": [] } diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index 6a4cefcaf9..8e4252cd4b 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -4417,6 +4417,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.list", "demo": "databases\/list-collections.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md", "rate-limit": 0, @@ -4427,7 +4429,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listTables", "auth": { "Project": [], "Key": [] @@ -4502,6 +4503,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.create", "demo": "databases\/create-collection.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md", "rate-limit": 0, @@ -4512,7 +4515,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createTable", "auth": { "Project": [], "Key": [] @@ -4608,6 +4610,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.get", "demo": "databases\/get-collection.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md", "rate-limit": 0, @@ -4618,7 +4622,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getTable", "auth": { "Project": [], "Key": [] @@ -4679,6 +4682,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.update", "demo": "databases\/update-collection.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md", "rate-limit": 0, @@ -4689,7 +4694,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateTable", "auth": { "Project": [], "Key": [] @@ -4780,6 +4784,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.delete", "demo": "databases\/delete-collection.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md", "rate-limit": 0, @@ -4790,7 +4796,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteTable", "auth": { "Project": [], "Key": [] @@ -4853,6 +4858,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listColumns", "demo": "databases\/list-attributes.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md", "rate-limit": 0, @@ -4863,7 +4870,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listColumns", "auth": { "Project": [], "Key": [] @@ -4939,6 +4945,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createBooleanColumn", "demo": "databases\/create-boolean-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md", "rate-limit": 0, @@ -4949,7 +4957,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createBooleanColumn", "auth": { "Project": [], "Key": [] @@ -5047,6 +5054,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateBooleanColumn", "demo": "databases\/update-boolean-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md", "rate-limit": 0, @@ -5057,7 +5066,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateBooleanColumn", "auth": { "Project": [], "Key": [] @@ -5160,6 +5168,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createDatetimeColumn", "demo": "databases\/create-datetime-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md", "rate-limit": 0, @@ -5170,7 +5180,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createDatetimeColumn", "auth": { "Project": [], "Key": [] @@ -5268,6 +5277,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateDatetimeColumn", "demo": "databases\/update-datetime-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md", "rate-limit": 0, @@ -5278,7 +5289,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateDatetimeColumn", "auth": { "Project": [], "Key": [] @@ -5381,6 +5391,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createEmailColumn", "demo": "databases\/create-email-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md", "rate-limit": 0, @@ -5391,7 +5403,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createEmailColumn", "auth": { "Project": [], "Key": [] @@ -5489,6 +5500,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateEmailColumn", "demo": "databases\/update-email-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md", "rate-limit": 0, @@ -5499,7 +5512,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateEmailColumn", "auth": { "Project": [], "Key": [] @@ -5602,6 +5614,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createEnumColumn", "demo": "databases\/create-enum-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "rate-limit": 0, @@ -5612,7 +5626,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createEnumColumn", "auth": { "Project": [], "Key": [] @@ -5719,6 +5732,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateEnumColumn", "demo": "databases\/update-enum-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md", "rate-limit": 0, @@ -5729,7 +5744,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateEnumColumn", "auth": { "Project": [], "Key": [] @@ -5841,6 +5855,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createFloatColumn", "demo": "databases\/create-float-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md", "rate-limit": 0, @@ -5851,7 +5867,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createFloatColumn", "auth": { "Project": [], "Key": [] @@ -5959,6 +5974,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateFloatColumn", "demo": "databases\/update-float-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md", "rate-limit": 0, @@ -5969,7 +5986,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateFloatColumn", "auth": { "Project": [], "Key": [] @@ -6082,6 +6098,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createIntegerColumn", "demo": "databases\/create-integer-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md", "rate-limit": 0, @@ -6092,7 +6110,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createIntegerColumn", "auth": { "Project": [], "Key": [] @@ -6200,6 +6217,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateIntegerColumn", "demo": "databases\/update-integer-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md", "rate-limit": 0, @@ -6210,7 +6229,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateIntegerColumn", "auth": { "Project": [], "Key": [] @@ -6323,6 +6341,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createIpColumn", "demo": "databases\/create-ip-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md", "rate-limit": 0, @@ -6333,7 +6353,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createIpColumn", "auth": { "Project": [], "Key": [] @@ -6431,6 +6450,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateIpColumn", "demo": "databases\/update-ip-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md", "rate-limit": 0, @@ -6441,7 +6462,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateIpColumn", "auth": { "Project": [], "Key": [] @@ -6544,6 +6564,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createRelationshipColumn", "demo": "databases\/create-relationship-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md", "rate-limit": 0, @@ -6554,7 +6576,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createRelationshipColumn", "auth": { "Project": [], "Key": [] @@ -6677,6 +6698,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createStringColumn", "demo": "databases\/create-string-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md", "rate-limit": 0, @@ -6687,7 +6710,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createStringColumn", "auth": { "Project": [], "Key": [] @@ -6796,6 +6818,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateStringColumn", "demo": "databases\/update-string-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md", "rate-limit": 0, @@ -6806,7 +6830,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateStringColumn", "auth": { "Project": [], "Key": [] @@ -6914,6 +6937,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createUrlColumn", "demo": "databases\/create-url-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md", "rate-limit": 0, @@ -6924,7 +6949,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createUrlColumn", "auth": { "Project": [], "Key": [] @@ -7022,6 +7046,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateUrlColumn", "demo": "databases\/update-url-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md", "rate-limit": 0, @@ -7032,7 +7058,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateUrlColumn", "auth": { "Project": [], "Key": [] @@ -7166,6 +7191,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.getColumn", "demo": "databases\/get-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md", "rate-limit": 0, @@ -7176,7 +7203,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getColumn", "auth": { "Project": [], "Key": [] @@ -7239,6 +7265,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteColumn", "demo": "databases\/delete-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md", "rate-limit": 0, @@ -7249,7 +7277,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteColumn", "auth": { "Project": [], "Key": [] @@ -7321,6 +7348,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateRelationshipColumn", "demo": "databases\/update-relationship-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md", "rate-limit": 0, @@ -7331,7 +7360,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateRelationshipColumn", "auth": { "Project": [], "Key": [] @@ -7431,6 +7459,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listRows", "demo": "databases\/list-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "rate-limit": 0, @@ -7443,7 +7473,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listRows", "auth": { "Project": [], "Session": [] @@ -7519,6 +7548,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createRow", "demo": "databases\/create-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "rate-limit": 120, @@ -7531,7 +7562,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createRow", "methods": [ { "name": "createDocument", @@ -7685,6 +7715,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.upsertRows", "demo": "databases\/upsert-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "rate-limit": 120, @@ -7696,7 +7728,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.upsertRows", "methods": [ { "name": "upsertDocuments", @@ -7797,6 +7828,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateRows", "demo": "databases\/update-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "rate-limit": 120, @@ -7808,7 +7841,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateRows", "auth": { "Project": [], "Key": [] @@ -7893,6 +7925,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteRows", "demo": "databases\/delete-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "rate-limit": 60, @@ -7904,7 +7938,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteRows", "auth": { "Project": [], "Key": [] @@ -7986,6 +8019,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.getRow", "demo": "databases\/get-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "rate-limit": 0, @@ -7998,7 +8033,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getRow", "auth": { "Project": [], "Session": [] @@ -8084,6 +8118,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.upsertRow", "demo": "databases\/upsert-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, @@ -8096,7 +8132,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.upsertRow", "methods": [ { "name": "upsertDocument", @@ -8215,6 +8250,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateRow", "demo": "databases\/update-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "rate-limit": 120, @@ -8227,7 +8264,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateRow", "auth": { "Project": [], "Session": [] @@ -8317,6 +8353,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteRow", "demo": "databases\/delete-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "rate-limit": 60, @@ -8329,7 +8367,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteRow", "auth": { "Project": [], "Session": [] @@ -8404,6 +8441,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.decrementColumn", "demo": "databases\/decrement-document-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "rate-limit": 120, @@ -8415,7 +8454,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.decrementColumn", "auth": { "Project": [], "Key": [] @@ -8518,6 +8556,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.incrementColumn", "demo": "databases\/increment-document-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "rate-limit": 120, @@ -8529,7 +8569,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.incrementColumn", "auth": { "Project": [], "Key": [] @@ -8632,6 +8671,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listColumnIndexes", "demo": "databases\/list-indexes.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md", "rate-limit": 0, @@ -8642,7 +8683,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listColumnIndexes", "auth": { "Project": [], "Key": [] @@ -8716,6 +8756,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createColumnIndex", "demo": "databases\/create-index.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md", "rate-limit": 0, @@ -8726,7 +8768,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createColumnIndex", "auth": { "Project": [], "Key": [] @@ -8846,6 +8887,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.getColumnIndex", "demo": "databases\/get-index.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md", "rate-limit": 0, @@ -8856,7 +8899,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getColumnIndex", "auth": { "Project": [], "Key": [] @@ -8919,6 +8961,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteColumnIndex", "demo": "databases\/delete-index.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md", "rate-limit": 0, @@ -8929,7 +8973,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteColumnIndex", "auth": { "Project": [], "Key": [] diff --git a/app/config/specs/swagger2-1.8.x-client.json b/app/config/specs/swagger2-1.8.x-client.json index 445f8b5385..07bd5c818f 100644 --- a/app/config/specs/swagger2-1.8.x-client.json +++ b/app/config/specs/swagger2-1.8.x-client.json @@ -4514,6 +4514,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listRows", "demo": "databases\/list-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "rate-limit": 0, @@ -4526,7 +4528,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listRows", "auth": { "Project": [] } @@ -4597,6 +4598,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createRow", "demo": "databases\/create-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "rate-limit": 120, @@ -4609,7 +4612,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createRow", "methods": [ { "name": "createDocument", @@ -4761,6 +4763,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.getRow", "demo": "databases\/get-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "rate-limit": 0, @@ -4773,7 +4777,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getRow", "auth": { "Project": [] } @@ -4852,6 +4855,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.upsertRow", "demo": "databases\/upsert-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, @@ -4864,7 +4869,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.upsertRow", "methods": [ { "name": "upsertDocument", @@ -4977,6 +4981,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateRow", "demo": "databases\/update-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "rate-limit": 120, @@ -4989,7 +4995,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateRow", "auth": { "Project": [] } @@ -5075,6 +5080,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteRow", "demo": "databases\/delete-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "rate-limit": 60, @@ -5087,7 +5094,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteRow", "auth": { "Project": [] } diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 8bca9a6c0f..bc396ac977 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -5133,6 +5133,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.list", "demo": "databases\/list-collections.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md", "rate-limit": 0, @@ -5143,7 +5145,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listTables", "auth": { "Project": [] } @@ -5214,6 +5215,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.create", "demo": "databases\/create-collection.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md", "rate-limit": 0, @@ -5224,7 +5227,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createTable", "auth": { "Project": [] } @@ -5320,6 +5322,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.get", "demo": "databases\/get-collection.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md", "rate-limit": 0, @@ -5330,7 +5334,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getTable", "auth": { "Project": [] } @@ -5388,6 +5391,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.update", "demo": "databases\/update-collection.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md", "rate-limit": 0, @@ -5398,7 +5403,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateTable", "auth": { "Project": [] } @@ -5490,6 +5494,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.delete", "demo": "databases\/delete-collection.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md", "rate-limit": 0, @@ -5500,7 +5506,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteTable", "auth": { "Project": [] } @@ -5558,6 +5563,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listColumns", "demo": "databases\/list-attributes.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md", "rate-limit": 0, @@ -5568,7 +5575,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listColumns", "auth": { "Project": [] } @@ -5640,6 +5646,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createBooleanColumn", "demo": "databases\/create-boolean-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md", "rate-limit": 0, @@ -5650,7 +5658,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createBooleanColumn", "auth": { "Project": [] } @@ -5747,6 +5754,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateBooleanColumn", "demo": "databases\/update-boolean-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md", "rate-limit": 0, @@ -5757,7 +5766,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateBooleanColumn", "auth": { "Project": [] } @@ -5856,6 +5864,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createDatetimeColumn", "demo": "databases\/create-datetime-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md", "rate-limit": 0, @@ -5866,7 +5876,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createDatetimeColumn", "auth": { "Project": [] } @@ -5963,6 +5972,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateDatetimeColumn", "demo": "databases\/update-datetime-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md", "rate-limit": 0, @@ -5973,7 +5984,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateDatetimeColumn", "auth": { "Project": [] } @@ -6072,6 +6082,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createEmailColumn", "demo": "databases\/create-email-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md", "rate-limit": 0, @@ -6082,7 +6094,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createEmailColumn", "auth": { "Project": [] } @@ -6179,6 +6190,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateEmailColumn", "demo": "databases\/update-email-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md", "rate-limit": 0, @@ -6189,7 +6202,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateEmailColumn", "auth": { "Project": [] } @@ -6288,6 +6300,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createEnumColumn", "demo": "databases\/create-enum-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "rate-limit": 0, @@ -6298,7 +6312,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createEnumColumn", "auth": { "Project": [] } @@ -6405,6 +6418,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateEnumColumn", "demo": "databases\/update-enum-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md", "rate-limit": 0, @@ -6415,7 +6430,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateEnumColumn", "auth": { "Project": [] } @@ -6524,6 +6538,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createFloatColumn", "demo": "databases\/create-float-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md", "rate-limit": 0, @@ -6534,7 +6550,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createFloatColumn", "auth": { "Project": [] } @@ -6643,6 +6658,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateFloatColumn", "demo": "databases\/update-float-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md", "rate-limit": 0, @@ -6653,7 +6670,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateFloatColumn", "auth": { "Project": [] } @@ -6764,6 +6780,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createIntegerColumn", "demo": "databases\/create-integer-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md", "rate-limit": 0, @@ -6774,7 +6792,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createIntegerColumn", "auth": { "Project": [] } @@ -6883,6 +6900,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateIntegerColumn", "demo": "databases\/update-integer-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md", "rate-limit": 0, @@ -6893,7 +6912,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateIntegerColumn", "auth": { "Project": [] } @@ -7004,6 +7022,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createIpColumn", "demo": "databases\/create-ip-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md", "rate-limit": 0, @@ -7014,7 +7034,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createIpColumn", "auth": { "Project": [] } @@ -7111,6 +7130,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateIpColumn", "demo": "databases\/update-ip-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md", "rate-limit": 0, @@ -7121,7 +7142,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateIpColumn", "auth": { "Project": [] } @@ -7220,6 +7240,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createRelationshipColumn", "demo": "databases\/create-relationship-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md", "rate-limit": 0, @@ -7230,7 +7252,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createRelationshipColumn", "auth": { "Project": [] } @@ -7354,6 +7375,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createStringColumn", "demo": "databases\/create-string-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md", "rate-limit": 0, @@ -7364,7 +7387,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createStringColumn", "auth": { "Project": [] } @@ -7474,6 +7496,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateStringColumn", "demo": "databases\/update-string-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md", "rate-limit": 0, @@ -7484,7 +7508,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateStringColumn", "auth": { "Project": [] } @@ -7589,6 +7612,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createUrlColumn", "demo": "databases\/create-url-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md", "rate-limit": 0, @@ -7599,7 +7624,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createUrlColumn", "auth": { "Project": [] } @@ -7696,6 +7720,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateUrlColumn", "demo": "databases\/update-url-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md", "rate-limit": 0, @@ -7706,7 +7732,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateUrlColumn", "auth": { "Project": [] } @@ -7834,6 +7859,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.getColumn", "demo": "databases\/get-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md", "rate-limit": 0, @@ -7844,7 +7871,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getColumn", "auth": { "Project": [] } @@ -7904,6 +7930,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteColumn", "demo": "databases\/delete-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md", "rate-limit": 0, @@ -7914,7 +7942,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteColumn", "auth": { "Project": [] } @@ -7981,6 +8008,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateRelationshipColumn", "demo": "databases\/update-relationship-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md", "rate-limit": 0, @@ -7991,7 +8020,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateRelationshipColumn", "auth": { "Project": [] } @@ -8084,6 +8112,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listRows", "demo": "databases\/list-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "rate-limit": 0, @@ -8096,7 +8126,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listRows", "auth": { "Project": [] } @@ -8167,6 +8196,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createRow", "demo": "databases\/create-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "rate-limit": 120, @@ -8179,7 +8210,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createRow", "methods": [ { "name": "createDocument", @@ -8331,6 +8361,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.upsertRows", "demo": "databases\/upsert-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "rate-limit": 120, @@ -8342,7 +8374,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.upsertRows", "methods": [ { "name": "upsertDocuments", @@ -8439,6 +8470,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateRows", "demo": "databases\/update-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "rate-limit": 120, @@ -8450,7 +8483,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateRows", "auth": { "Project": [] } @@ -8532,6 +8564,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteRows", "demo": "databases\/delete-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "rate-limit": 60, @@ -8543,7 +8577,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteRows", "auth": { "Project": [] } @@ -8619,6 +8652,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.getRow", "demo": "databases\/get-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "rate-limit": 0, @@ -8631,7 +8666,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getRow", "auth": { "Project": [] } @@ -8710,6 +8744,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.upsertRow", "demo": "databases\/upsert-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, @@ -8722,7 +8758,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.upsertRow", "methods": [ { "name": "upsertDocument", @@ -8835,6 +8870,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateRow", "demo": "databases\/update-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "rate-limit": 120, @@ -8847,7 +8884,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateRow", "auth": { "Project": [] } @@ -8933,6 +8969,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteRow", "demo": "databases\/delete-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "rate-limit": 60, @@ -8945,7 +8983,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteRow", "auth": { "Project": [] } @@ -9011,7 +9048,9 @@ "weight": 341, "cookies": false, "type": "", - "deprecated": false, + "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listLogs", "demo": "databases\/list-document-logs.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document-logs.md", "rate-limit": 0, @@ -9100,6 +9139,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.decrementColumn", "demo": "databases\/decrement-document-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "rate-limit": 120, @@ -9111,7 +9152,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.decrementColumn", "auth": { "Project": [] } @@ -9207,6 +9247,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.incrementColumn", "demo": "databases\/increment-document-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "rate-limit": 120, @@ -9218,7 +9260,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.incrementColumn", "auth": { "Project": [] } @@ -9312,6 +9353,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listColumnIndexes", "demo": "databases\/list-indexes.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md", "rate-limit": 0, @@ -9322,7 +9365,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listColumnIndexes", "auth": { "Project": [] } @@ -9392,6 +9434,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createColumnIndex", "demo": "databases\/create-index.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md", "rate-limit": 0, @@ -9402,7 +9446,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createColumnIndex", "auth": { "Project": [] } @@ -9520,6 +9563,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.getColumnIndex", "demo": "databases\/get-index.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md", "rate-limit": 0, @@ -9530,7 +9575,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getColumnIndex", "auth": { "Project": [] } @@ -9590,6 +9634,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteColumnIndex", "demo": "databases\/delete-index.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md", "rate-limit": 0, @@ -9600,7 +9646,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteColumnIndex", "auth": { "Project": [] } @@ -9665,6 +9710,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listTableLogs", "demo": "databases\/list-collection-logs.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-logs.md", "rate-limit": 0, @@ -9675,7 +9722,6 @@ "console" ], "packaging": false, - "replaceWith": "tables.listTableLogs", "auth": { "Project": [] } @@ -9744,6 +9790,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.getTableUsage", "demo": "databases\/get-collection-usage.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-usage.md", "rate-limit": 0, @@ -9754,7 +9802,6 @@ "console" ], "packaging": false, - "replaceWith": "tables.getTableUsage", "auth": { "Project": [] } diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index a2d7cb03d7..ff4042e39d 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -4574,6 +4574,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.list", "demo": "databases\/list-collections.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md", "rate-limit": 0, @@ -4584,7 +4586,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listTables", "auth": { "Project": [], "Key": [] @@ -4656,6 +4657,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.create", "demo": "databases\/create-collection.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md", "rate-limit": 0, @@ -4666,7 +4669,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createTable", "auth": { "Project": [], "Key": [] @@ -4763,6 +4765,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.get", "demo": "databases\/get-collection.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md", "rate-limit": 0, @@ -4773,7 +4777,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getTable", "auth": { "Project": [], "Key": [] @@ -4832,6 +4835,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.update", "demo": "databases\/update-collection.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md", "rate-limit": 0, @@ -4842,7 +4847,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateTable", "auth": { "Project": [], "Key": [] @@ -4935,6 +4939,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.delete", "demo": "databases\/delete-collection.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md", "rate-limit": 0, @@ -4945,7 +4951,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteTable", "auth": { "Project": [], "Key": [] @@ -5004,6 +5009,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listColumns", "demo": "databases\/list-attributes.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md", "rate-limit": 0, @@ -5014,7 +5021,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listColumns", "auth": { "Project": [], "Key": [] @@ -5087,6 +5093,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createBooleanColumn", "demo": "databases\/create-boolean-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md", "rate-limit": 0, @@ -5097,7 +5105,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createBooleanColumn", "auth": { "Project": [], "Key": [] @@ -5195,6 +5202,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateBooleanColumn", "demo": "databases\/update-boolean-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md", "rate-limit": 0, @@ -5205,7 +5214,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateBooleanColumn", "auth": { "Project": [], "Key": [] @@ -5305,6 +5313,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createDatetimeColumn", "demo": "databases\/create-datetime-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md", "rate-limit": 0, @@ -5315,7 +5325,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createDatetimeColumn", "auth": { "Project": [], "Key": [] @@ -5413,6 +5422,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateDatetimeColumn", "demo": "databases\/update-datetime-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md", "rate-limit": 0, @@ -5423,7 +5434,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateDatetimeColumn", "auth": { "Project": [], "Key": [] @@ -5523,6 +5533,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createEmailColumn", "demo": "databases\/create-email-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md", "rate-limit": 0, @@ -5533,7 +5545,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createEmailColumn", "auth": { "Project": [], "Key": [] @@ -5631,6 +5642,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateEmailColumn", "demo": "databases\/update-email-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md", "rate-limit": 0, @@ -5641,7 +5654,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateEmailColumn", "auth": { "Project": [], "Key": [] @@ -5741,6 +5753,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createEnumColumn", "demo": "databases\/create-enum-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-enum-attribute.md", "rate-limit": 0, @@ -5751,7 +5765,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createEnumColumn", "auth": { "Project": [], "Key": [] @@ -5859,6 +5872,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateEnumColumn", "demo": "databases\/update-enum-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md", "rate-limit": 0, @@ -5869,7 +5884,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateEnumColumn", "auth": { "Project": [], "Key": [] @@ -5979,6 +5993,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createFloatColumn", "demo": "databases\/create-float-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md", "rate-limit": 0, @@ -5989,7 +6005,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createFloatColumn", "auth": { "Project": [], "Key": [] @@ -6099,6 +6114,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateFloatColumn", "demo": "databases\/update-float-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md", "rate-limit": 0, @@ -6109,7 +6126,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateFloatColumn", "auth": { "Project": [], "Key": [] @@ -6221,6 +6237,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createIntegerColumn", "demo": "databases\/create-integer-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md", "rate-limit": 0, @@ -6231,7 +6249,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createIntegerColumn", "auth": { "Project": [], "Key": [] @@ -6341,6 +6358,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateIntegerColumn", "demo": "databases\/update-integer-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md", "rate-limit": 0, @@ -6351,7 +6370,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateIntegerColumn", "auth": { "Project": [], "Key": [] @@ -6463,6 +6481,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createIpColumn", "demo": "databases\/create-ip-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md", "rate-limit": 0, @@ -6473,7 +6493,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createIpColumn", "auth": { "Project": [], "Key": [] @@ -6571,6 +6590,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateIpColumn", "demo": "databases\/update-ip-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md", "rate-limit": 0, @@ -6581,7 +6602,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateIpColumn", "auth": { "Project": [], "Key": [] @@ -6681,6 +6701,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createRelationshipColumn", "demo": "databases\/create-relationship-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md", "rate-limit": 0, @@ -6691,7 +6713,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createRelationshipColumn", "auth": { "Project": [], "Key": [] @@ -6816,6 +6837,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createStringColumn", "demo": "databases\/create-string-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md", "rate-limit": 0, @@ -6826,7 +6849,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createStringColumn", "auth": { "Project": [], "Key": [] @@ -6937,6 +6959,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateStringColumn", "demo": "databases\/update-string-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md", "rate-limit": 0, @@ -6947,7 +6971,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateStringColumn", "auth": { "Project": [], "Key": [] @@ -7053,6 +7076,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createUrlColumn", "demo": "databases\/create-url-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md", "rate-limit": 0, @@ -7063,7 +7088,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createUrlColumn", "auth": { "Project": [], "Key": [] @@ -7161,6 +7185,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateUrlColumn", "demo": "databases\/update-url-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md", "rate-limit": 0, @@ -7171,7 +7197,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateUrlColumn", "auth": { "Project": [], "Key": [] @@ -7300,6 +7325,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.getColumn", "demo": "databases\/get-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md", "rate-limit": 0, @@ -7310,7 +7337,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getColumn", "auth": { "Project": [], "Key": [] @@ -7371,6 +7397,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteColumn", "demo": "databases\/delete-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md", "rate-limit": 0, @@ -7381,7 +7409,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteColumn", "auth": { "Project": [], "Key": [] @@ -7449,6 +7476,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateRelationshipColumn", "demo": "databases\/update-relationship-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md", "rate-limit": 0, @@ -7459,7 +7488,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateRelationshipColumn", "auth": { "Project": [], "Key": [] @@ -7553,6 +7581,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listRows", "demo": "databases\/list-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", "rate-limit": 0, @@ -7565,7 +7595,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listRows", "auth": { "Project": [], "Session": [] @@ -7638,6 +7667,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createRow", "demo": "databases\/create-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", "rate-limit": 120, @@ -7650,7 +7681,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createRow", "methods": [ { "name": "createDocument", @@ -7804,6 +7834,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.upsertRows", "demo": "databases\/upsert-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-documents.md", "rate-limit": 120, @@ -7815,7 +7847,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.upsertRows", "methods": [ { "name": "upsertDocuments", @@ -7913,6 +7944,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateRows", "demo": "databases\/update-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-documents.md", "rate-limit": 120, @@ -7924,7 +7957,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateRows", "auth": { "Project": [], "Key": [] @@ -8007,6 +8039,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteRows", "demo": "databases\/delete-documents.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-documents.md", "rate-limit": 60, @@ -8018,7 +8052,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteRows", "auth": { "Project": [], "Key": [] @@ -8095,6 +8128,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.getRow", "demo": "databases\/get-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", "rate-limit": 0, @@ -8107,7 +8142,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getRow", "auth": { "Project": [], "Session": [] @@ -8188,6 +8222,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.upsertRow", "demo": "databases\/upsert-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/upsert-document.md", "rate-limit": 120, @@ -8200,7 +8236,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.upsertRow", "methods": [ { "name": "upsertDocument", @@ -8315,6 +8350,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.updateRow", "demo": "databases\/update-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", "rate-limit": 120, @@ -8327,7 +8364,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.updateRow", "auth": { "Project": [], "Session": [] @@ -8415,6 +8451,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteRow", "demo": "databases\/delete-document.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", "rate-limit": 60, @@ -8427,7 +8465,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteRow", "auth": { "Project": [], "Session": [] @@ -8498,6 +8535,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.decrementColumn", "demo": "databases\/decrement-document-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/decrement-document-attribute.md", "rate-limit": 120, @@ -8509,7 +8548,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.decrementColumn", "auth": { "Project": [], "Key": [] @@ -8606,6 +8644,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.incrementColumn", "demo": "databases\/increment-document-attribute.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/increment-document-attribute.md", "rate-limit": 120, @@ -8617,7 +8657,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.incrementColumn", "auth": { "Project": [], "Key": [] @@ -8712,6 +8751,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.listColumnIndexes", "demo": "databases\/list-indexes.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md", "rate-limit": 0, @@ -8722,7 +8763,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.listColumnIndexes", "auth": { "Project": [], "Key": [] @@ -8793,6 +8833,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.createColumnIndex", "demo": "databases\/create-index.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md", "rate-limit": 0, @@ -8803,7 +8845,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.createColumnIndex", "auth": { "Project": [], "Key": [] @@ -8922,6 +8963,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.getColumnIndex", "demo": "databases\/get-index.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md", "rate-limit": 0, @@ -8932,7 +8975,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.getColumnIndex", "auth": { "Project": [], "Key": [] @@ -8993,6 +9035,8 @@ "cookies": false, "type": "", "deprecated": true, + "deprecatedVersion": "1.8.0", + "replaceWith": "tables.deleteColumnIndex", "demo": "databases\/delete-index.md", "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md", "rate-limit": 0, @@ -9003,7 +9047,6 @@ "server" ], "packaging": false, - "replaceWith": "tables.deleteColumnIndex", "auth": { "Project": [], "Key": [] diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Create.php index 367442a52e..f6322a8a67 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Create.php @@ -54,6 +54,7 @@ class Create extends Action ], deprecated: [ 'replaceWith' => 'tables.createBooleanColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Update.php index 75683241fc..dc766d1001 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Update.php @@ -55,6 +55,7 @@ class Update extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.updateBooleanColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Create.php index 0982ec1d26..48b3970147 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Create.php @@ -55,6 +55,7 @@ class Create extends Action ], deprecated: [ 'replaceWith' => 'tables.createDatetimeColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Update.php index a1a53e8ae1..87d91b8feb 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Update.php @@ -56,6 +56,7 @@ class Update extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.updateDatetimeColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Delete.php index 1a37452995..8290e65692 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Delete.php @@ -56,6 +56,7 @@ class Delete extends Action contentType: ContentType::NONE, deprecated: [ 'replaceWith' => 'tables.deleteColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Create.php index 288aa82acb..5de30e7389 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Create.php @@ -55,6 +55,7 @@ class Create extends Action ], deprecated: [ 'replaceWith' => 'tables.createEmailColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Update.php index 88b4329621..4e6d2fc015 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Update.php @@ -56,6 +56,7 @@ class Update extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.updateEmailColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Create.php index 0ca18aa4c4..d2aa375574 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Create.php @@ -57,6 +57,7 @@ class Create extends Action ], deprecated: [ 'replaceWith' => 'tables.createEnumColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Update.php index ac20825eae..2d8d181d82 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Update.php @@ -57,6 +57,7 @@ class Update extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.updateEnumColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Create.php index 0f2237d468..9ede351b20 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Create.php @@ -57,6 +57,7 @@ class Create extends Action ], deprecated: [ 'replaceWith' => 'tables.createFloatColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Update.php index 40c1676d69..84122b93be 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Update.php @@ -56,6 +56,7 @@ class Update extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.updateFloatColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Get.php index d41b03f22b..8e4e0842e1 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Get.php @@ -59,6 +59,7 @@ class Get extends Action ], deprecated: [ 'replaceWith' => 'tables.getColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Create.php index 8cf2c5b14d..3eff6defa6 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Create.php @@ -55,6 +55,7 @@ class Create extends Action ], deprecated: [ 'replaceWith' => 'tables.createIpColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Update.php index 427e8fad6f..7aee4c9d92 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Update.php @@ -56,6 +56,7 @@ class Update extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.updateIpColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Create.php index c4a66d99b7..6c94ca8644 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Create.php @@ -57,6 +57,7 @@ class Create extends Action ], deprecated: [ 'replaceWith' => 'tables.createIntegerColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php index 962bb5f6d6..258f4bd25e 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php @@ -56,6 +56,7 @@ class Update extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.updateIntegerColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Create.php index 2e47e9e8b2..b300c7d04c 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Create.php @@ -57,6 +57,7 @@ class Create extends Action ], deprecated: [ 'replaceWith' => 'tables.createRelationshipColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Update.php index 4e22fb5687..4bfb3b58d9 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Update.php @@ -54,6 +54,7 @@ class Update extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.updateRelationshipColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Create.php index 1ce1f51972..16aa7d1a7c 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Create.php @@ -58,6 +58,7 @@ class Create extends Action ], deprecated: [ 'replaceWith' => 'tables.createStringColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Update.php index 36652b44f2..85519cb216 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Update.php @@ -58,6 +58,7 @@ class Update extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.updateStringColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Create.php index ecaa0deffa..d88ffff2e2 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Create.php @@ -55,6 +55,7 @@ class Create extends Action ], deprecated: [ 'replaceWith' => 'tables.createUrlColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Update.php index 76212364f1..c9add5e099 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Update.php @@ -56,6 +56,7 @@ class Update extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.updateUrlColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/XList.php index c9a446ae78..71a0fe2853 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/XList.php @@ -53,6 +53,7 @@ class XList extends Action ], deprecated: [ 'replaceWith' => 'tables.listColumns', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Create.php index 9d3b56f5f1..5e159e19c1 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Create.php @@ -64,6 +64,7 @@ class Create extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.create', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Delete.php index 4cf7b3854c..99320a0c8e 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Delete.php @@ -54,6 +54,7 @@ class Delete extends Action contentType: ContentType::NONE, deprecated: [ 'replaceWith' => 'tables.delete', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Decrement.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Decrement.php index 08af647b47..57c327d9ff 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Decrement.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Decrement.php @@ -64,6 +64,7 @@ class Decrement extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.decrementColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Increment.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Increment.php index a77da9b2c4..64792cc1d5 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Increment.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Increment.php @@ -64,6 +64,7 @@ class Increment extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.incrementColumn', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Delete.php index 83df3caf32..e37593e887 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Delete.php @@ -62,6 +62,7 @@ class Delete extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.deleteRows', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php index 2e305330e7..22ad7a45ad 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php @@ -65,6 +65,7 @@ class Update extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.updateRows', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Upsert.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Upsert.php index d884015007..b2c5814c4c 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Upsert.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Upsert.php @@ -63,6 +63,7 @@ class Upsert extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.upsertRows', + 'version' => '1.8.0', ], ) ]) diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php index d96c0b6e27..84354bc103 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php @@ -83,6 +83,7 @@ class Create extends Action ], deprecated: [ 'replaceWith' => 'tables.createRow', + 'version' => '1.8.0', ], ), new Method( diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Delete.php index 7be6c3e5aa..c5c4344466 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Delete.php @@ -64,6 +64,7 @@ class Delete extends Action contentType: ContentType::NONE, deprecated: [ 'replaceWith' => 'tables.deleteRow', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Get.php index f0b6c11a0e..12462c121e 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Get.php @@ -55,6 +55,7 @@ class Get extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.getRow', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Logs/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Logs/XList.php index 3fe25b9441..c614d7bab0 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Logs/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Logs/XList.php @@ -59,6 +59,10 @@ class XList extends Action ) ], contentType: ContentType::JSON, + deprecated: [ + 'replaceWith' => 'tables.listLogs', + 'version' => '1.8.0', + ], )) ->param('databaseId', '', new UID(), 'Database ID.') ->param('collectionId', '', new UID(), 'Collection ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php index 0ea75359fb..6f7feb3983 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php @@ -68,6 +68,7 @@ class Update extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.updateRow', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php index 608dd04f25..f7432c19cc 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php @@ -70,6 +70,7 @@ class Upsert extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.upsertRow', + 'version' => '1.8.0', ], ), ]) diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php index 219420037f..d95e013c0d 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php @@ -58,6 +58,7 @@ class XList extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.listRows', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Get.php index ed54aa6bf9..4e5b6f7ab8 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Get.php @@ -49,6 +49,7 @@ class Get extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.get', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php index 8e8daed75f..48633de2f8 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php @@ -64,6 +64,7 @@ class Create extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.createColumnIndex', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Delete.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Delete.php index 8f5475f7a7..3fee780733 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Delete.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Delete.php @@ -59,6 +59,7 @@ class Delete extends Action contentType: ContentType::NONE, deprecated: [ 'replaceWith' => 'tables.deleteColumnIndex', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Get.php index 82379265a5..01d17366f4 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Get.php @@ -50,6 +50,7 @@ class Get extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.getColumnIndex', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/XList.php index 791493ff0a..2183266ec9 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/XList.php @@ -55,6 +55,7 @@ class XList extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.listColumnIndexes', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Logs/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Logs/XList.php index 2cabce49ae..9d59e02092 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Logs/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Logs/XList.php @@ -61,6 +61,7 @@ class XList extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.listTableLogs', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Update.php index 69e04574ad..c8f50a533c 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Update.php @@ -57,6 +57,7 @@ class Update extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.update', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Usage/Get.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Usage/Get.php index 4dadaad87c..782d1a5bd4 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Usage/Get.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Usage/Get.php @@ -54,6 +54,7 @@ class Get extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.getTableUsage', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/XList.php index b36572c5fc..fb9d2530df 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/XList.php @@ -56,6 +56,7 @@ class XList extends Action contentType: ContentType::JSON, deprecated: [ 'replaceWith' => 'tables.list', + 'version' => '1.8.0', ], )) ->param('databaseId', '', new UID(), 'Database ID.') diff --git a/src/Appwrite/SDK/Method.php b/src/Appwrite/SDK/Method.php index c1481f2d5f..9f53c36986 100644 --- a/src/Appwrite/SDK/Method.php +++ b/src/Appwrite/SDK/Method.php @@ -180,33 +180,26 @@ class Method return $this->deprecated !== null; } - /** - * Get the deprecation info array - * @return array - */ public function getDeprecationInfo(): array { return $this->deprecated ?? []; } - /** - * Get the deprecation message if set - * @return string|null - */ public function getDeprecationMessage(): ?string { return $this->deprecated['message'] ?? ''; } - /** - * Get the replacement method if set - * @return string|null - */ public function getDeprecationReplacement(): ?string { return $this->deprecated['replaceWith'] ?? ''; } + public function getDeprecationVersion(): ?string + { + return $this->deprecated['version'] ?? ''; + } + public function isHidden(): bool|array { return $this->hide ?? false; @@ -285,11 +278,6 @@ class Method return $this; } - /** - * Set the deprecation info array - * @param array $deprecated - * @return self - */ public function setDeprecated(array $deprecated): self { $this->deprecated = $deprecated; diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index b087fd406f..65ab60ed3a 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -159,6 +159,9 @@ class OpenAPI3 extends Format 'cookies' => $route->getLabel('sdk.cookies', false), 'type' => $sdk->getType()->value ?? '', 'deprecated' => $sdk->isDeprecated(), + ...(!empty($sdk->getDeprecationMessage()) ? ['deprecatedMessage' => $sdk->getDeprecationMessage()] : []), + ...(!empty($sdk->getDeprecationVersion()) ? ['deprecatedVersion' => $sdk->getDeprecationVersion()] : []), + ...(!empty($sdk->getDeprecationReplacement()) ? ['replaceWith' => $sdk->getDeprecationReplacement()] : []), 'demo' => Template::fromCamelCaseToDash($namespace) . '/' . Template::fromCamelCaseToDash($method) . '.md', 'edit' => 'https://github.com/appwrite/appwrite/edit/master' . $sdk->getDescription() ?? '', 'rate-limit' => $route->getLabel('abuse-limit', 0), @@ -170,14 +173,6 @@ class OpenAPI3 extends Format ], ]; - if (!empty($sdk->getDeprecationReplacement())) { - $temp['x-appwrite']['replaceWith'] = $sdk->getDeprecationReplacement(); - } - - if (!empty($sdk->getDeprecationMessage())) { - $temp['x-appwrite']['deprecatedMessage'] = $sdk->getDeprecationMessage(); - } - if (!empty($additionalMethods)) { $temp['x-appwrite']['methods'] = []; foreach ($additionalMethods as $method) { diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 7b9ffcbaf8..2bb7651d1d 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -161,6 +161,9 @@ class Swagger2 extends Format 'cookies' => $route->getLabel('sdk.cookies', false), 'type' => $sdk->getType()->value ?? '', 'deprecated' => $sdk->isDeprecated(), + ...(!empty($sdk->getDeprecationMessage()) ? ['deprecatedMessage' => $sdk->getDeprecationMessage()] : []), + ...(!empty($sdk->getDeprecationVersion()) ? ['deprecatedVersion' => $sdk->getDeprecationVersion()] : []), + ...(!empty($sdk->getDeprecationReplacement()) ? ['replaceWith' => $sdk->getDeprecationReplacement()] : []), 'demo' => Template::fromCamelCaseToDash($namespace) . '/' . Template::fromCamelCaseToDash($method) . '.md', 'edit' => 'https://github.com/appwrite/appwrite/edit/master' . $sdk->getDescription() ?? '', 'rate-limit' => $route->getLabel('abuse-limit', 0), @@ -172,14 +175,6 @@ class Swagger2 extends Format ], ]; - if (!empty($sdk->getDeprecationReplacement())) { - $temp['x-appwrite']['replaceWith'] = $sdk->getDeprecationReplacement(); - } - - if (!empty($sdk->getDeprecationMessage())) { - $temp['x-appwrite']['deprecatedMessage'] = $sdk->getDeprecationMessage(); - } - if ($produces) { $temp['produces'][] = $produces; }