diff --git a/app/config/platforms.php b/app/config/platforms.php index a67381b596..beed6c0b54 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -226,7 +226,7 @@ return [ [ 'key' => 'cli', 'name' => 'Command Line', - 'version' => '9.0.2', + 'version' => '9.1.0', 'url' => 'https://github.com/appwrite/sdk-for-cli', 'package' => 'https://www.npmjs.com/package/appwrite-cli', 'enabled' => true, 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 c72300e004..81530d8ecd 100644 --- a/app/config/specs/open-api3-1.8.x-client.json +++ b/app/config/specs/open-api3-1.8.x-client.json @@ -1891,7 +1891,7 @@ "prefs": { "type": "object", "description": "Prefs key-value JSON object.", - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -4830,7 +4830,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -4919,7 +4919,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -5020,7 +5020,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -5069,7 +5069,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -5168,7 +5168,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -5316,7 +5316,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -5419,7 +5419,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -5507,7 +5507,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -5626,7 +5626,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -6010,7 +6010,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -6062,7 +6062,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -6530,7 +6530,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -6613,7 +6613,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -6688,7 +6688,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -6774,7 +6774,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -6872,7 +6872,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -6944,7 +6944,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -7033,7 +7033,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -7100,7 +7100,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -7178,7 +7178,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -7406,7 +7406,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -7491,7 +7491,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -7579,7 +7579,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -7675,7 +7675,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -7724,7 +7724,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -7822,7 +7822,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -7961,7 +7961,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -8063,7 +8063,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -8150,7 +8150,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -8268,7 +8268,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -8386,7 +8386,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -8462,7 +8462,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -8547,7 +8547,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -8609,7 +8609,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -8683,7 +8683,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -8747,7 +8747,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -8833,7 +8833,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -8944,7 +8944,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -9016,7 +9016,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -9103,7 +9103,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -9177,7 +9177,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -9275,7 +9275,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -9336,7 +9336,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", 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 b39181e025..53137becbb 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -1911,7 +1911,7 @@ "prefs": { "type": "object", "description": "Prefs key-value JSON object.", - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -4828,7 +4828,7 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 257, + "weight": 256, "cookies": false, "type": "", "demo": "assistant\/chat.md", @@ -4963,7 +4963,7 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 256, + "weight": 255, "cookies": false, "type": "", "demo": "console\/variables.md", @@ -5011,7 +5011,7 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 321, + "weight": 320, "cookies": false, "type": "", "demo": "databases\/list.md", @@ -5115,7 +5115,7 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 317, + "weight": 316, "cookies": false, "type": "", "demo": "databases\/create.md", @@ -5229,7 +5229,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 324, + "weight": 323, "cookies": false, "type": "", "demo": "databases\/list-usage.md", @@ -5331,7 +5331,7 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 318, + "weight": 317, "cookies": false, "type": "", "demo": "databases\/get.md", @@ -5422,7 +5422,7 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 319, + "weight": 318, "cookies": false, "type": "", "demo": "databases\/update.md", @@ -5533,7 +5533,7 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 320, + "weight": 319, "cookies": false, "type": "", "demo": "databases\/delete.md", @@ -5625,7 +5625,7 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 329, + "weight": 328, "cookies": false, "type": "", "demo": "databases\/list-collections.md", @@ -5712,7 +5712,7 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 325, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/create-collection.md", @@ -5820,7 +5820,7 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 326, + "weight": 325, "cookies": false, "type": "", "demo": "databases\/get-collection.md", @@ -5893,7 +5893,7 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 327, + "weight": 326, "cookies": false, "type": "", "demo": "databases\/update-collection.md", @@ -5996,7 +5996,7 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 328, + "weight": 327, "cookies": false, "type": "", "demo": "databases\/delete-collection.md", @@ -6071,7 +6071,7 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 346, + "weight": 345, "cookies": false, "type": "", "demo": "databases\/list-attributes.md", @@ -6159,7 +6159,7 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 346, "cookies": false, "type": "", "demo": "databases\/create-boolean-attribute.md", @@ -6269,7 +6269,7 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 348, + "weight": 347, "cookies": false, "type": "", "demo": "databases\/update-boolean-attribute.md", @@ -6384,7 +6384,7 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 348, "cookies": false, "type": "", "demo": "databases\/create-datetime-attribute.md", @@ -6494,7 +6494,7 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 350, + "weight": 349, "cookies": false, "type": "", "demo": "databases\/update-datetime-attribute.md", @@ -6609,7 +6609,7 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 350, "cookies": false, "type": "", "demo": "databases\/create-email-attribute.md", @@ -6719,7 +6719,7 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 352, + "weight": 351, "cookies": false, "type": "", "demo": "databases\/update-email-attribute.md", @@ -6834,7 +6834,7 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 352, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", @@ -6953,7 +6953,7 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 354, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/update-enum-attribute.md", @@ -7077,7 +7077,7 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 354, "cookies": false, "type": "", "demo": "databases\/create-float-attribute.md", @@ -7197,7 +7197,7 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 356, + "weight": 355, "cookies": false, "type": "", "demo": "databases\/update-float-attribute.md", @@ -7322,7 +7322,7 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 356, "cookies": false, "type": "", "demo": "databases\/create-integer-attribute.md", @@ -7442,7 +7442,7 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 358, + "weight": 357, "cookies": false, "type": "", "demo": "databases\/update-integer-attribute.md", @@ -7567,7 +7567,7 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 359, + "weight": 358, "cookies": false, "type": "", "demo": "databases\/create-ip-attribute.md", @@ -7677,7 +7677,7 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 360, + "weight": 359, "cookies": false, "type": "", "demo": "databases\/update-ip-attribute.md", @@ -7792,7 +7792,7 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 361, + "weight": 360, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", @@ -7858,9 +7858,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -7898,7 +7905,7 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 362, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", @@ -7968,9 +7975,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -8012,7 +8026,7 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 363, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", @@ -8078,9 +8092,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -8118,7 +8139,7 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 364, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", @@ -8188,9 +8209,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -8232,7 +8260,7 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", @@ -8298,9 +8326,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -8338,7 +8373,7 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 366, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", @@ -8408,9 +8443,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -8452,7 +8494,7 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/create-relationship-attribute.md", @@ -8587,7 +8629,7 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 369, + "weight": 368, "cookies": false, "type": "", "demo": "databases\/create-string-attribute.md", @@ -8708,7 +8750,7 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 370, + "weight": 369, "cookies": false, "type": "", "demo": "databases\/update-string-attribute.md", @@ -8828,7 +8870,7 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 370, "cookies": false, "type": "", "demo": "databases\/create-url-attribute.md", @@ -8938,7 +8980,7 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 372, + "weight": 371, "cookies": false, "type": "", "demo": "databases\/update-url-attribute.md", @@ -9084,7 +9126,7 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 344, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/get-attribute.md", @@ -9159,7 +9201,7 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 345, + "weight": 344, "cookies": false, "type": "", "demo": "databases\/delete-attribute.md", @@ -9243,7 +9285,7 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 368, + "weight": 367, "cookies": false, "type": "", "demo": "databases\/update-relationship-attribute.md", @@ -9355,7 +9397,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -9444,7 +9486,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -9575,7 +9617,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -9622,7 +9664,7 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 337, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", @@ -9750,7 +9792,7 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 335, + "weight": 334, "cookies": false, "type": "", "demo": "databases\/update-documents.md", @@ -9848,7 +9890,7 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 339, + "weight": 338, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", @@ -9943,7 +9985,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -10042,7 +10084,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -10190,7 +10232,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -10293,7 +10335,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -10381,7 +10423,7 @@ "x-appwrite": { "method": "listDocumentLogs", "group": "logs", - "weight": 341, + "weight": 340, "cookies": false, "type": "", "demo": "databases\/list-document-logs.md", @@ -10478,7 +10520,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -10597,7 +10639,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -10716,7 +10758,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 376, + "weight": 375, "cookies": false, "type": "", "demo": "databases\/list-indexes.md", @@ -10802,7 +10844,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 373, + "weight": 372, "cookies": false, "type": "", "demo": "databases\/create-index.md", @@ -10935,7 +10977,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 374, + "weight": 373, "cookies": false, "type": "", "demo": "databases\/get-index.md", @@ -11010,7 +11052,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 375, + "weight": 374, "cookies": false, "type": "", "demo": "databases\/delete-index.md", @@ -11094,7 +11136,7 @@ "x-appwrite": { "method": "listCollectionLogs", "group": "collections", - "weight": 330, + "weight": 329, "cookies": false, "type": "", "demo": "databases\/list-collection-logs.md", @@ -11181,7 +11223,7 @@ "x-appwrite": { "method": "getCollectionUsage", "group": null, - "weight": 331, + "weight": 330, "cookies": false, "type": "", "demo": "databases\/get-collection-usage.md", @@ -11277,7 +11319,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 322, + "weight": 321, "cookies": false, "type": "", "demo": "databases\/list-logs.md", @@ -11383,7 +11425,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 323, + "weight": 322, "cookies": false, "type": "", "demo": "databases\/get-usage.md", @@ -14106,7 +14148,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -14158,7 +14200,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -15150,7 +15192,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "tags": [ "health" @@ -15921,7 +15963,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 309, + "weight": 308, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -15997,7 +16039,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 306, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -16141,7 +16183,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 313, + "weight": 312, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -16287,7 +16329,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 308, + "weight": 307, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -16461,7 +16503,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 315, + "weight": 314, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -16639,7 +16681,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 307, + "weight": 306, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -16816,7 +16858,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 314, + "weight": 313, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -16994,7 +17036,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 312, + "weight": 311, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -17047,7 +17089,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 316, + "weight": 315, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -17109,7 +17151,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 310, + "weight": 309, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -17184,7 +17226,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 311, + "weight": 310, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -17259,7 +17301,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 281, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -17335,7 +17377,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 280, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -17510,7 +17552,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 293, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -17686,7 +17728,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 279, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -17833,7 +17875,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 292, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -17981,7 +18023,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 271, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -18096,7 +18138,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 284, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -18214,7 +18256,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 274, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -18309,7 +18351,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 287, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -18407,7 +18449,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 272, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -18512,7 +18554,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 285, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -18620,7 +18662,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 273, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -18847,7 +18889,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 286, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -19072,7 +19114,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 275, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -19167,7 +19209,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 288, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -19265,7 +19307,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 276, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -19360,7 +19402,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 289, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -19458,7 +19500,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 277, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -19553,7 +19595,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 290, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -19651,7 +19693,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 278, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -19746,7 +19788,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 291, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -19844,7 +19886,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 283, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -19897,7 +19939,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 294, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -19959,7 +20001,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 282, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -20034,7 +20076,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 303, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -20109,7 +20151,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 296, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -20183,7 +20225,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 295, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -20266,7 +20308,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 298, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -20326,7 +20368,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 299, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -20403,7 +20445,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 300, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -20465,7 +20507,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 297, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -20540,7 +20582,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 302, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -20624,7 +20666,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -20714,7 +20756,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 304, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -20777,7 +20819,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -20852,7 +20894,7 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 263, + "weight": 262, "cookies": false, "type": "", "demo": "migrations\/list.md", @@ -20926,7 +20968,7 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 258, + "weight": 257, "cookies": false, "type": "", "demo": "migrations\/create-appwrite-migration.md", @@ -21014,7 +21056,7 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 265, + "weight": 264, "cookies": false, "type": "", "demo": "migrations\/get-appwrite-report.md", @@ -21107,7 +21149,7 @@ "x-appwrite": { "method": "createCsvMigration", "group": null, - "weight": 262, + "weight": 261, "cookies": false, "type": "", "demo": "migrations\/create-csv-migration.md", @@ -21191,7 +21233,7 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 259, + "weight": 258, "cookies": false, "type": "", "demo": "migrations\/create-firebase-migration.md", @@ -21267,7 +21309,7 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 266, + "weight": 265, "cookies": false, "type": "", "demo": "migrations\/get-firebase-report.md", @@ -21339,7 +21381,7 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 261, + "weight": 260, "cookies": false, "type": "", "demo": "migrations\/create-n-host-migration.md", @@ -21450,7 +21492,7 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 268, + "weight": 267, "cookies": false, "type": "", "demo": "migrations\/get-n-host-report.md", @@ -21583,7 +21625,7 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 260, + "weight": 259, "cookies": false, "type": "", "demo": "migrations\/create-supabase-migration.md", @@ -21688,7 +21730,7 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 267, + "weight": 266, "cookies": false, "type": "", "demo": "migrations\/get-supabase-report.md", @@ -21812,7 +21854,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 264, + "weight": 263, "cookies": false, "type": "", "demo": "migrations\/get.md", @@ -21870,7 +21912,7 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 269, + "weight": 268, "cookies": false, "type": "", "demo": "migrations\/retry.md", @@ -21921,7 +21963,7 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 270, + "weight": 269, "cookies": false, "type": "", "demo": "migrations\/delete.md", @@ -21981,7 +22023,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 149, + "weight": 148, "cookies": false, "type": "", "demo": "project\/get-usage.md", @@ -22069,7 +22111,7 @@ "x-appwrite": { "method": "listVariables", "group": null, - "weight": 151, + "weight": 150, "cookies": false, "type": "", "demo": "project\/list-variables.md", @@ -22115,7 +22157,7 @@ "x-appwrite": { "method": "createVariable", "group": null, - "weight": 150, + "weight": 149, "cookies": false, "type": "", "demo": "project\/create-variable.md", @@ -22193,7 +22235,7 @@ "x-appwrite": { "method": "getVariable", "group": null, - "weight": 152, + "weight": 151, "cookies": false, "type": "", "demo": "project\/get-variable.md", @@ -22251,7 +22293,7 @@ "x-appwrite": { "method": "updateVariable", "group": null, - "weight": 153, + "weight": 152, "cookies": false, "type": "", "demo": "project\/update-variable.md", @@ -22331,7 +22373,7 @@ "x-appwrite": { "method": "deleteVariable", "group": null, - "weight": 154, + "weight": 153, "cookies": false, "type": "", "demo": "project\/delete-variable.md", @@ -22391,11 +22433,11 @@ "x-appwrite": { "method": "list", "group": "projects", - "weight": 103, + "weight": 440, "cookies": false, "type": "", "demo": "projects\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all projects. You can use the query params to filter your results. ", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -22597,7 +22639,7 @@ "x-appwrite": { "method": "get", "group": "projects", - "weight": 104, + "weight": 103, "cookies": false, "type": "", "demo": "projects\/get.md", @@ -22655,7 +22697,7 @@ "x-appwrite": { "method": "update", "group": "projects", - "weight": 105, + "weight": 104, "cookies": false, "type": "", "demo": "projects\/update.md", @@ -22770,7 +22812,7 @@ "x-appwrite": { "method": "delete", "group": "projects", - "weight": 122, + "weight": 121, "cookies": false, "type": "", "demo": "projects\/delete.md", @@ -22830,7 +22872,7 @@ "x-appwrite": { "method": "updateApiStatus", "group": "projects", - "weight": 109, + "weight": 108, "cookies": false, "type": "", "demo": "projects\/update-api-status.md", @@ -22984,7 +23026,7 @@ "x-appwrite": { "method": "updateApiStatusAll", "group": "projects", - "weight": 110, + "weight": 109, "cookies": false, "type": "", "demo": "projects\/update-api-status-all.md", @@ -23121,7 +23163,7 @@ "x-appwrite": { "method": "updateAuthDuration", "group": "auth", - "weight": 115, + "weight": 114, "cookies": false, "type": "", "demo": "projects\/update-auth-duration.md", @@ -23200,7 +23242,7 @@ "x-appwrite": { "method": "updateAuthLimit", "group": "auth", - "weight": 114, + "weight": 113, "cookies": false, "type": "", "demo": "projects\/update-auth-limit.md", @@ -23279,7 +23321,7 @@ "x-appwrite": { "method": "updateAuthSessionsLimit", "group": "auth", - "weight": 120, + "weight": 119, "cookies": false, "type": "", "demo": "projects\/update-auth-sessions-limit.md", @@ -23358,7 +23400,7 @@ "x-appwrite": { "method": "updateMembershipsPrivacy", "group": "auth", - "weight": 113, + "weight": 112, "cookies": false, "type": "", "demo": "projects\/update-memberships-privacy.md", @@ -23449,7 +23491,7 @@ "x-appwrite": { "method": "updateMockNumbers", "group": "auth", - "weight": 121, + "weight": 120, "cookies": false, "type": "", "demo": "projects\/update-mock-numbers.md", @@ -23531,7 +23573,7 @@ "x-appwrite": { "method": "updateAuthPasswordDictionary", "group": "auth", - "weight": 118, + "weight": 117, "cookies": false, "type": "", "demo": "projects\/update-auth-password-dictionary.md", @@ -23610,7 +23652,7 @@ "x-appwrite": { "method": "updateAuthPasswordHistory", "group": "auth", - "weight": 117, + "weight": 116, "cookies": false, "type": "", "demo": "projects\/update-auth-password-history.md", @@ -23689,7 +23731,7 @@ "x-appwrite": { "method": "updatePersonalDataCheck", "group": "auth", - "weight": 119, + "weight": 118, "cookies": false, "type": "", "demo": "projects\/update-personal-data-check.md", @@ -23768,7 +23810,7 @@ "x-appwrite": { "method": "updateSessionAlerts", "group": "auth", - "weight": 112, + "weight": 111, "cookies": false, "type": "", "demo": "projects\/update-session-alerts.md", @@ -23847,7 +23889,7 @@ "x-appwrite": { "method": "updateSessionInvalidation", "group": "auth", - "weight": 148, + "weight": 147, "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", @@ -23926,7 +23968,7 @@ "x-appwrite": { "method": "updateAuthStatus", "group": "auth", - "weight": 116, + "weight": 115, "cookies": false, "type": "", "demo": "projects\/update-auth-status.md", @@ -24026,7 +24068,7 @@ "x-appwrite": { "method": "listDevKeys", "group": "devKeys", - "weight": 439, + "weight": 438, "cookies": false, "type": "", "demo": "projects\/list-dev-keys.md", @@ -24094,7 +24136,7 @@ "x-appwrite": { "method": "createDevKey", "group": "devKeys", - "weight": 436, + "weight": 435, "cookies": false, "type": "", "demo": "projects\/create-dev-key.md", @@ -24179,7 +24221,7 @@ "x-appwrite": { "method": "getDevKey", "group": "devKeys", - "weight": 438, + "weight": 437, "cookies": false, "type": "", "demo": "projects\/get-dev-key.md", @@ -24247,7 +24289,7 @@ "x-appwrite": { "method": "updateDevKey", "group": "devKeys", - "weight": 437, + "weight": 436, "cookies": false, "type": "", "demo": "projects\/update-dev-key.md", @@ -24333,7 +24375,7 @@ "x-appwrite": { "method": "deleteDevKey", "group": "devKeys", - "weight": 440, + "weight": 439, "cookies": false, "type": "", "demo": "projects\/delete-dev-key.md", @@ -24403,7 +24445,7 @@ "x-appwrite": { "method": "createJWT", "group": "auth", - "weight": 134, + "weight": 133, "cookies": false, "type": "", "demo": "projects\/create-jwt.md", @@ -24490,7 +24532,7 @@ "x-appwrite": { "method": "listKeys", "group": "keys", - "weight": 130, + "weight": 129, "cookies": false, "type": "", "demo": "projects\/list-keys.md", @@ -24548,7 +24590,7 @@ "x-appwrite": { "method": "createKey", "group": "keys", - "weight": 129, + "weight": 128, "cookies": false, "type": "", "demo": "projects\/create-key.md", @@ -24641,7 +24683,7 @@ "x-appwrite": { "method": "getKey", "group": "keys", - "weight": 131, + "weight": 130, "cookies": false, "type": "", "demo": "projects\/get-key.md", @@ -24709,7 +24751,7 @@ "x-appwrite": { "method": "updateKey", "group": "keys", - "weight": 132, + "weight": 131, "cookies": false, "type": "", "demo": "projects\/update-key.md", @@ -24803,7 +24845,7 @@ "x-appwrite": { "method": "deleteKey", "group": "keys", - "weight": 133, + "weight": 132, "cookies": false, "type": "", "demo": "projects\/delete-key.md", @@ -24873,7 +24915,7 @@ "x-appwrite": { "method": "updateOAuth2", "group": "auth", - "weight": 111, + "weight": 110, "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.md", @@ -25011,7 +25053,7 @@ "x-appwrite": { "method": "listPlatforms", "group": "platforms", - "weight": 136, + "weight": 135, "cookies": false, "type": "", "demo": "projects\/list-platforms.md", @@ -25069,7 +25111,7 @@ "x-appwrite": { "method": "createPlatform", "group": "platforms", - "weight": 135, + "weight": 134, "cookies": false, "type": "", "demo": "projects\/create-platform.md", @@ -25188,7 +25230,7 @@ "x-appwrite": { "method": "getPlatform", "group": "platforms", - "weight": 137, + "weight": 136, "cookies": false, "type": "", "demo": "projects\/get-platform.md", @@ -25256,7 +25298,7 @@ "x-appwrite": { "method": "updatePlatform", "group": "platforms", - "weight": 138, + "weight": 137, "cookies": false, "type": "", "demo": "projects\/update-platform.md", @@ -25351,7 +25393,7 @@ "x-appwrite": { "method": "deletePlatform", "group": "platforms", - "weight": 139, + "weight": 138, "cookies": false, "type": "", "demo": "projects\/delete-platform.md", @@ -25421,7 +25463,7 @@ "x-appwrite": { "method": "updateServiceStatus", "group": "projects", - "weight": 107, + "weight": 106, "cookies": false, "type": "", "demo": "projects\/update-service-status.md", @@ -25523,7 +25565,7 @@ "x-appwrite": { "method": "updateServiceStatusAll", "group": "projects", - "weight": 108, + "weight": 107, "cookies": false, "type": "", "demo": "projects\/update-service-status-all.md", @@ -25602,7 +25644,7 @@ "x-appwrite": { "method": "updateSmtp", "group": "templates", - "weight": 140, + "weight": 139, "cookies": false, "type": "", "demo": "projects\/update-smtp.md", @@ -25794,7 +25836,7 @@ "x-appwrite": { "method": "createSmtpTest", "group": "templates", - "weight": 141, + "weight": 140, "cookies": false, "type": "", "demo": "projects\/create-smtp-test.md", @@ -26003,7 +26045,7 @@ "x-appwrite": { "method": "updateTeam", "group": "projects", - "weight": 106, + "weight": 105, "cookies": false, "type": "", "demo": "projects\/update-team.md", @@ -26082,7 +26124,7 @@ "x-appwrite": { "method": "getEmailTemplate", "group": "templates", - "weight": 143, + "weight": 142, "cookies": false, "type": "", "demo": "projects\/get-email-template.md", @@ -26306,7 +26348,7 @@ "x-appwrite": { "method": "updateEmailTemplate", "group": "templates", - "weight": 145, + "weight": 144, "cookies": false, "type": "", "demo": "projects\/update-email-template.md", @@ -26570,7 +26612,7 @@ "x-appwrite": { "method": "deleteEmailTemplate", "group": "templates", - "weight": 147, + "weight": 146, "cookies": false, "type": "", "demo": "projects\/delete-email-template.md", @@ -26796,7 +26838,7 @@ "x-appwrite": { "method": "getSmsTemplate", "group": "templates", - "weight": 142, + "weight": 141, "cookies": false, "type": "", "demo": "projects\/get-sms-template.md", @@ -27079,7 +27121,7 @@ "x-appwrite": { "method": "updateSmsTemplate", "group": "templates", - "weight": 144, + "weight": 143, "cookies": false, "type": "", "demo": "projects\/update-sms-template.md", @@ -27385,7 +27427,7 @@ "x-appwrite": { "method": "deleteSmsTemplate", "group": "templates", - "weight": 146, + "weight": 145, "cookies": false, "type": "", "demo": "projects\/delete-sms-template.md", @@ -27670,7 +27712,7 @@ "x-appwrite": { "method": "listWebhooks", "group": "webhooks", - "weight": 124, + "weight": 123, "cookies": false, "type": "", "demo": "projects\/list-webhooks.md", @@ -27728,7 +27770,7 @@ "x-appwrite": { "method": "createWebhook", "group": "webhooks", - "weight": 123, + "weight": 122, "cookies": false, "type": "", "demo": "projects\/create-webhook.md", @@ -27843,7 +27885,7 @@ "x-appwrite": { "method": "getWebhook", "group": "webhooks", - "weight": 125, + "weight": 124, "cookies": false, "type": "", "demo": "projects\/get-webhook.md", @@ -27911,7 +27953,7 @@ "x-appwrite": { "method": "updateWebhook", "group": "webhooks", - "weight": 126, + "weight": 125, "cookies": false, "type": "", "demo": "projects\/update-webhook.md", @@ -28027,7 +28069,7 @@ "x-appwrite": { "method": "deleteWebhook", "group": "webhooks", - "weight": 128, + "weight": 127, "cookies": false, "type": "", "demo": "projects\/delete-webhook.md", @@ -28097,7 +28139,7 @@ "x-appwrite": { "method": "updateWebhookSignature", "group": "webhooks", - "weight": 127, + "weight": 126, "cookies": false, "type": "", "demo": "projects\/update-webhook-signature.md", @@ -28167,7 +28209,7 @@ "x-appwrite": { "method": "listRules", "group": null, - "weight": 241, + "weight": 240, "cookies": false, "type": "", "demo": "proxy\/list-rules.md", @@ -28577,7 +28619,7 @@ "x-appwrite": { "method": "getRule", "group": null, - "weight": 242, + "weight": 241, "cookies": false, "type": "", "demo": "proxy\/get-rule.md", @@ -28628,7 +28670,7 @@ "x-appwrite": { "method": "deleteRule", "group": null, - "weight": 243, + "weight": 242, "cookies": false, "type": "", "demo": "proxy\/delete-rule.md", @@ -28688,7 +28730,7 @@ "x-appwrite": { "method": "updateRuleVerification", "group": null, - "weight": 244, + "weight": 243, "cookies": false, "type": "", "demo": "proxy\/update-rule-verification.md", @@ -31262,7 +31304,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 155, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -31335,7 +31377,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 154, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -31462,7 +31504,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 156, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -31521,7 +31563,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -31645,7 +31687,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -31706,7 +31748,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -31792,7 +31834,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -31890,7 +31932,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -31962,7 +32004,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -32051,7 +32093,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -32118,7 +32160,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -32196,7 +32238,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -32424,7 +32466,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -32509,7 +32551,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 169, + "weight": 168, "cookies": false, "type": "", "demo": "storage\/get-usage.md", @@ -32581,7 +32623,7 @@ "x-appwrite": { "method": "getBucketUsage", "group": null, - "weight": 170, + "weight": 169, "cookies": false, "type": "", "demo": "storage\/get-bucket-usage.md", @@ -32663,7 +32705,7 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 381, + "weight": 380, "cookies": false, "type": "", "demo": "tablesdb\/list.md", @@ -32736,7 +32778,7 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 377, + "weight": 376, "cookies": false, "type": "", "demo": "tablesdb\/create.md", @@ -32815,7 +32857,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 383, + "weight": 382, "cookies": false, "type": "", "demo": "tablesdb\/list-usage.md", @@ -32912,7 +32954,7 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 378, + "weight": 377, "cookies": false, "type": "", "demo": "tablesdb\/get.md", @@ -32971,7 +33013,7 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 379, + "weight": 378, "cookies": false, "type": "", "demo": "tablesdb\/update.md", @@ -33047,7 +33089,7 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 380, + "weight": 379, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", @@ -33108,7 +33150,7 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 388, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", @@ -33194,7 +33236,7 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 384, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", @@ -33301,7 +33343,7 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 385, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", @@ -33373,7 +33415,7 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 386, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", @@ -33475,7 +33517,7 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 387, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", @@ -33549,7 +33591,7 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 393, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", @@ -33636,7 +33678,7 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 394, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", @@ -33745,7 +33787,7 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 395, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", @@ -33859,7 +33901,7 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 396, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", @@ -33968,7 +34010,7 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 397, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", @@ -34082,7 +34124,7 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 398, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", @@ -34191,7 +34233,7 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 399, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", @@ -34305,7 +34347,7 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 400, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", @@ -34423,7 +34465,7 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 401, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", @@ -34546,7 +34588,7 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 402, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", @@ -34665,7 +34707,7 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 403, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", @@ -34789,7 +34831,7 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 404, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", @@ -34908,7 +34950,7 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 405, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", @@ -35032,7 +35074,7 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 406, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", @@ -35141,7 +35183,7 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 407, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", @@ -35255,7 +35297,7 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 408, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", @@ -35320,9 +35362,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -35360,7 +35409,7 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 409, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", @@ -35429,9 +35478,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -35473,7 +35529,7 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 410, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", @@ -35538,9 +35594,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -35578,7 +35641,7 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 411, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", @@ -35647,9 +35710,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -35691,7 +35761,7 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 412, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", @@ -35756,9 +35826,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -35796,7 +35873,7 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 413, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", @@ -35865,9 +35942,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -35909,7 +35993,7 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 414, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", @@ -36043,7 +36127,7 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 416, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", @@ -36163,7 +36247,7 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 417, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", @@ -36282,7 +36366,7 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 418, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", @@ -36391,7 +36475,7 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 419, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", @@ -36536,7 +36620,7 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 391, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", @@ -36610,7 +36694,7 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 392, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", @@ -36693,7 +36777,7 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 415, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", @@ -36804,7 +36888,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 423, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", @@ -36889,7 +36973,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 420, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", @@ -37021,7 +37105,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 421, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", @@ -37095,7 +37179,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 422, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", @@ -37178,7 +37262,7 @@ "x-appwrite": { "method": "listTableLogs", "group": "tables", - "weight": 389, + "weight": 388, "cookies": false, "type": "", "demo": "tablesdb\/list-table-logs.md", @@ -37264,7 +37348,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -37352,7 +37436,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -37474,7 +37558,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -37521,7 +37605,7 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 429, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", @@ -37644,7 +37728,7 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 427, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", @@ -37741,7 +37825,7 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 431, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", @@ -37835,7 +37919,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -37933,7 +38017,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -38072,7 +38156,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -38174,7 +38258,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -38261,7 +38345,7 @@ "x-appwrite": { "method": "listRowLogs", "group": "logs", - "weight": 433, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/list-row-logs.md", @@ -38357,7 +38441,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -38475,7 +38559,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -38593,7 +38677,7 @@ "x-appwrite": { "method": "getTableUsage", "group": null, - "weight": 390, + "weight": 389, "cookies": false, "type": "", "demo": "tablesdb\/get-table-usage.md", @@ -38688,7 +38772,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 382, + "weight": 381, "cookies": false, "type": "", "demo": "tablesdb\/get-usage.md", @@ -38798,7 +38882,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -38874,7 +38958,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -38959,7 +39043,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -39021,7 +39105,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -39095,7 +39179,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -39159,7 +39243,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 184, + "weight": 183, "cookies": false, "type": "", "demo": "teams\/list-logs.md", @@ -39232,7 +39316,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -39318,7 +39402,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -39429,7 +39513,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -39501,7 +39585,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -39588,7 +39672,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -39662,7 +39746,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -39759,7 +39843,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -39819,7 +39903,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -40261,7 +40345,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 193, "cookies": false, "type": "", "demo": "users\/list.md", @@ -40334,7 +40418,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 184, "cookies": false, "type": "", "demo": "users\/create.md", @@ -40422,7 +40506,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 187, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -40507,7 +40591,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 185, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -40592,7 +40676,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 201, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -40660,7 +40744,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 224, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -40721,7 +40805,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 186, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -40806,7 +40890,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 189, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -40891,7 +40975,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 190, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -41006,7 +41090,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 191, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -41109,7 +41193,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -41214,7 +41298,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 227, + "weight": 226, "cookies": false, "type": "", "demo": "users\/get-usage.md", @@ -41286,7 +41370,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 194, "cookies": false, "type": "", "demo": "users\/get.md", @@ -41338,7 +41422,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 222, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -41399,7 +41483,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -41479,7 +41563,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 225, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -41561,7 +41645,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -41644,7 +41728,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 199, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -41718,7 +41802,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 198, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -41803,7 +41887,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 212, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -41934,7 +42018,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 217, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -42066,7 +42150,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 213, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -42181,7 +42265,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 214, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -42294,7 +42378,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 216, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -42407,7 +42491,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 215, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -42522,7 +42606,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 205, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -42602,7 +42686,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 206, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -42682,7 +42766,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 208, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -42762,7 +42846,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 195, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -42821,7 +42905,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 210, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -42901,7 +42985,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 197, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -42960,7 +43044,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 218, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -43012,7 +43096,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 221, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -43066,7 +43150,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 220, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -43137,7 +43221,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -43217,7 +43301,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 200, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -43290,7 +43374,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 192, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -43400,7 +43484,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 196, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -43470,7 +43554,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 211, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -43559,7 +43643,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 223, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -43631,7 +43715,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 219, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -43713,7 +43797,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 209, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -43793,7 +43877,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 204, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -43873,7 +43957,7 @@ "x-appwrite": { "method": "createRepositoryDetection", "group": "repositories", - "weight": 231, + "weight": 230, "cookies": false, "type": "", "demo": "vcs\/create-repository-detection.md", @@ -43969,7 +44053,7 @@ "x-appwrite": { "method": "listRepositories", "group": "repositories", - "weight": 232, + "weight": 231, "cookies": false, "type": "", "demo": "vcs\/list-repositories.md", @@ -44054,7 +44138,7 @@ "x-appwrite": { "method": "createRepository", "group": "repositories", - "weight": 233, + "weight": 232, "cookies": false, "type": "", "demo": "vcs\/create-repository.md", @@ -44139,7 +44223,7 @@ "x-appwrite": { "method": "getRepository", "group": "repositories", - "weight": 234, + "weight": 233, "cookies": false, "type": "", "demo": "vcs\/get-repository.md", @@ -44209,7 +44293,7 @@ "x-appwrite": { "method": "listRepositoryBranches", "group": "repositories", - "weight": 235, + "weight": 234, "cookies": false, "type": "", "demo": "vcs\/list-repository-branches.md", @@ -44279,7 +44363,7 @@ "x-appwrite": { "method": "getRepositoryContents", "group": "repositories", - "weight": 230, + "weight": 229, "cookies": false, "type": "", "demo": "vcs\/get-repository-contents.md", @@ -44364,7 +44448,7 @@ "x-appwrite": { "method": "updateExternalDeployments", "group": "repositories", - "weight": 240, + "weight": 239, "cookies": false, "type": "", "demo": "vcs\/update-external-deployments.md", @@ -44453,7 +44537,7 @@ "x-appwrite": { "method": "listInstallations", "group": "installations", - "weight": 237, + "weight": 236, "cookies": false, "type": "", "demo": "vcs\/list-installations.md", @@ -44527,7 +44611,7 @@ "x-appwrite": { "method": "getInstallation", "group": "installations", - "weight": 238, + "weight": 237, "cookies": false, "type": "", "demo": "vcs\/get-installation.md", @@ -44578,7 +44662,7 @@ "x-appwrite": { "method": "deleteInstallation", "group": "installations", - "weight": 239, + "weight": 238, "cookies": false, "type": "", "demo": "vcs\/delete-installation.md", @@ -47265,9 +47349,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "nullable": true } }, @@ -47289,7 +47376,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "attributeLine": { @@ -47338,9 +47428,18 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[0, 0], [1, 1]]", + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], "nullable": true } }, @@ -47362,7 +47461,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "attributePolygon": { @@ -47411,9 +47519,30 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]", + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], "nullable": true } }, @@ -47435,7 +47564,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "table": { @@ -48544,9 +48694,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "nullable": true } }, @@ -48568,7 +48721,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "columnLine": { @@ -48617,9 +48773,18 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[0, 0], [1, 1]]", + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], "nullable": true } }, @@ -48641,7 +48806,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "columnPolygon": { @@ -48690,9 +48864,30 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]", + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], "nullable": true } }, @@ -48714,7 +48909,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "index": { 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 22f0affafa..ee0b6f59ac 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -1926,7 +1926,7 @@ "prefs": { "type": "object", "description": "Prefs key-value JSON object.", - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -4545,7 +4545,7 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 321, + "weight": 320, "cookies": false, "type": "", "demo": "databases\/list.md", @@ -4651,7 +4651,7 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 317, + "weight": 316, "cookies": false, "type": "", "demo": "databases\/create.md", @@ -4767,7 +4767,7 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 318, + "weight": 317, "cookies": false, "type": "", "demo": "databases\/get.md", @@ -4860,7 +4860,7 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 319, + "weight": 318, "cookies": false, "type": "", "demo": "databases\/update.md", @@ -4973,7 +4973,7 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 320, + "weight": 319, "cookies": false, "type": "", "demo": "databases\/delete.md", @@ -5067,7 +5067,7 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 329, + "weight": 328, "cookies": false, "type": "", "demo": "databases\/list-collections.md", @@ -5155,7 +5155,7 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 325, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/create-collection.md", @@ -5264,7 +5264,7 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 326, + "weight": 325, "cookies": false, "type": "", "demo": "databases\/get-collection.md", @@ -5338,7 +5338,7 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 327, + "weight": 326, "cookies": false, "type": "", "demo": "databases\/update-collection.md", @@ -5442,7 +5442,7 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 328, + "weight": 327, "cookies": false, "type": "", "demo": "databases\/delete-collection.md", @@ -5518,7 +5518,7 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 346, + "weight": 345, "cookies": false, "type": "", "demo": "databases\/list-attributes.md", @@ -5607,7 +5607,7 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 346, "cookies": false, "type": "", "demo": "databases\/create-boolean-attribute.md", @@ -5718,7 +5718,7 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 348, + "weight": 347, "cookies": false, "type": "", "demo": "databases\/update-boolean-attribute.md", @@ -5834,7 +5834,7 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 348, "cookies": false, "type": "", "demo": "databases\/create-datetime-attribute.md", @@ -5945,7 +5945,7 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 350, + "weight": 349, "cookies": false, "type": "", "demo": "databases\/update-datetime-attribute.md", @@ -6061,7 +6061,7 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 350, "cookies": false, "type": "", "demo": "databases\/create-email-attribute.md", @@ -6172,7 +6172,7 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 352, + "weight": 351, "cookies": false, "type": "", "demo": "databases\/update-email-attribute.md", @@ -6288,7 +6288,7 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 352, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", @@ -6408,7 +6408,7 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 354, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/update-enum-attribute.md", @@ -6533,7 +6533,7 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 354, "cookies": false, "type": "", "demo": "databases\/create-float-attribute.md", @@ -6654,7 +6654,7 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 356, + "weight": 355, "cookies": false, "type": "", "demo": "databases\/update-float-attribute.md", @@ -6780,7 +6780,7 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 356, "cookies": false, "type": "", "demo": "databases\/create-integer-attribute.md", @@ -6901,7 +6901,7 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 358, + "weight": 357, "cookies": false, "type": "", "demo": "databases\/update-integer-attribute.md", @@ -7027,7 +7027,7 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 359, + "weight": 358, "cookies": false, "type": "", "demo": "databases\/create-ip-attribute.md", @@ -7138,7 +7138,7 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 360, + "weight": 359, "cookies": false, "type": "", "demo": "databases\/update-ip-attribute.md", @@ -7254,7 +7254,7 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 361, + "weight": 360, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", @@ -7321,9 +7321,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -7361,7 +7368,7 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 362, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", @@ -7432,9 +7439,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -7476,7 +7490,7 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 363, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", @@ -7543,9 +7557,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -7583,7 +7604,7 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 364, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", @@ -7654,9 +7675,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -7698,7 +7726,7 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", @@ -7765,9 +7793,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -7805,7 +7840,7 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 366, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", @@ -7876,9 +7911,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -7920,7 +7962,7 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/create-relationship-attribute.md", @@ -8056,7 +8098,7 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 369, + "weight": 368, "cookies": false, "type": "", "demo": "databases\/create-string-attribute.md", @@ -8178,7 +8220,7 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 370, + "weight": 369, "cookies": false, "type": "", "demo": "databases\/update-string-attribute.md", @@ -8299,7 +8341,7 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 370, "cookies": false, "type": "", "demo": "databases\/create-url-attribute.md", @@ -8410,7 +8452,7 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 372, + "weight": 371, "cookies": false, "type": "", "demo": "databases\/update-url-attribute.md", @@ -8557,7 +8599,7 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 344, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/get-attribute.md", @@ -8633,7 +8675,7 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 345, + "weight": 344, "cookies": false, "type": "", "demo": "databases\/delete-attribute.md", @@ -8718,7 +8760,7 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 368, + "weight": 367, "cookies": false, "type": "", "demo": "databases\/update-relationship-attribute.md", @@ -8831,7 +8873,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -8922,7 +8964,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -9057,7 +9099,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -9104,7 +9146,7 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 337, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", @@ -9234,7 +9276,7 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 335, + "weight": 334, "cookies": false, "type": "", "demo": "databases\/update-documents.md", @@ -9333,7 +9375,7 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 339, + "weight": 338, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", @@ -9429,7 +9471,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -9530,7 +9572,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -9681,7 +9723,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -9786,7 +9828,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -9876,7 +9918,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -9997,7 +10039,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -10118,7 +10160,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 376, + "weight": 375, "cookies": false, "type": "", "demo": "databases\/list-indexes.md", @@ -10205,7 +10247,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 373, + "weight": 372, "cookies": false, "type": "", "demo": "databases\/create-index.md", @@ -10339,7 +10381,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 374, + "weight": 373, "cookies": false, "type": "", "demo": "databases\/get-index.md", @@ -10415,7 +10457,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 375, + "weight": 374, "cookies": false, "type": "", "demo": "databases\/delete-index.md", @@ -12823,7 +12865,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -12877,7 +12919,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -13887,7 +13929,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "tags": [ "health" @@ -14680,7 +14722,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 309, + "weight": 308, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -14757,7 +14799,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 306, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -14902,7 +14944,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 313, + "weight": 312, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -15049,7 +15091,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 308, + "weight": 307, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -15224,7 +15266,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 315, + "weight": 314, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -15403,7 +15445,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 307, + "weight": 306, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -15583,7 +15625,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 314, + "weight": 313, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -15764,7 +15806,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 312, + "weight": 311, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -15818,7 +15860,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 316, + "weight": 315, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -15881,7 +15923,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 310, + "weight": 309, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -15957,7 +15999,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 311, + "weight": 310, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -16033,7 +16075,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 281, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -16110,7 +16152,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 280, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -16288,7 +16330,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 293, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -16467,7 +16509,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 279, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -16617,7 +16659,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 292, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -16768,7 +16810,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 271, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -16884,7 +16926,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 284, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -17003,7 +17045,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 274, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -17099,7 +17141,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 287, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -17198,7 +17240,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 272, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -17304,7 +17346,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 285, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -17413,7 +17455,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 273, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -17643,7 +17685,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 286, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -17871,7 +17913,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 275, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -17967,7 +18009,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 288, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -18066,7 +18108,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 276, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -18162,7 +18204,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 289, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -18261,7 +18303,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 277, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -18357,7 +18399,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 290, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -18456,7 +18498,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 278, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -18552,7 +18594,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 291, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -18651,7 +18693,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 283, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -18705,7 +18747,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 294, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -18768,7 +18810,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 282, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -18844,7 +18886,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 303, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -18920,7 +18962,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 296, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -18995,7 +19037,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 295, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -19079,7 +19121,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 298, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -19140,7 +19182,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 299, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -19218,7 +19260,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 300, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -19281,7 +19323,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 297, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -19357,7 +19399,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 302, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -19442,7 +19484,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -19534,7 +19576,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 304, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -19598,7 +19640,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -21900,7 +21942,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 155, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -21974,7 +22016,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 154, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -22102,7 +22144,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 156, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -22162,7 +22204,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -22287,7 +22329,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -22349,7 +22391,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -22437,7 +22479,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -22537,7 +22579,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -22611,7 +22653,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -22702,7 +22744,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -22771,7 +22813,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -22851,7 +22893,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -23081,7 +23123,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -23168,7 +23210,7 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 381, + "weight": 380, "cookies": false, "type": "", "demo": "tablesdb\/list.md", @@ -23242,7 +23284,7 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 377, + "weight": 376, "cookies": false, "type": "", "demo": "tablesdb\/create.md", @@ -23322,7 +23364,7 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 378, + "weight": 377, "cookies": false, "type": "", "demo": "tablesdb\/get.md", @@ -23382,7 +23424,7 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 379, + "weight": 378, "cookies": false, "type": "", "demo": "tablesdb\/update.md", @@ -23459,7 +23501,7 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 380, + "weight": 379, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", @@ -23521,7 +23563,7 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 388, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", @@ -23608,7 +23650,7 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 384, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", @@ -23716,7 +23758,7 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 385, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", @@ -23789,7 +23831,7 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 386, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", @@ -23892,7 +23934,7 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 387, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", @@ -23967,7 +24009,7 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 393, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", @@ -24055,7 +24097,7 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 394, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", @@ -24165,7 +24207,7 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 395, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", @@ -24280,7 +24322,7 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 396, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", @@ -24390,7 +24432,7 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 397, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", @@ -24505,7 +24547,7 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 398, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", @@ -24615,7 +24657,7 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 399, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", @@ -24730,7 +24772,7 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 400, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", @@ -24849,7 +24891,7 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 401, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", @@ -24973,7 +25015,7 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 402, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", @@ -25093,7 +25135,7 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 403, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", @@ -25218,7 +25260,7 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 404, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", @@ -25338,7 +25380,7 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 405, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", @@ -25463,7 +25505,7 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 406, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", @@ -25573,7 +25615,7 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 407, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", @@ -25688,7 +25730,7 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 408, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", @@ -25754,9 +25796,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -25794,7 +25843,7 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 409, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", @@ -25864,9 +25913,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -25908,7 +25964,7 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 410, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", @@ -25974,9 +26030,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -26014,7 +26077,7 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 411, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", @@ -26084,9 +26147,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -26128,7 +26198,7 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 412, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", @@ -26194,9 +26264,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -26234,7 +26311,7 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 413, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", @@ -26304,9 +26381,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -26348,7 +26432,7 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 414, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", @@ -26483,7 +26567,7 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 416, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", @@ -26604,7 +26688,7 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 417, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", @@ -26724,7 +26808,7 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 418, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", @@ -26834,7 +26918,7 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 419, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", @@ -26980,7 +27064,7 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 391, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", @@ -27055,7 +27139,7 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 392, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", @@ -27139,7 +27223,7 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 415, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", @@ -27251,7 +27335,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 423, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", @@ -27337,7 +27421,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 420, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", @@ -27470,7 +27554,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 421, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", @@ -27545,7 +27629,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 422, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", @@ -27629,7 +27713,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -27719,7 +27803,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -27845,7 +27929,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -27892,7 +27976,7 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 429, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", @@ -28017,7 +28101,7 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 427, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", @@ -28115,7 +28199,7 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 431, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", @@ -28210,7 +28294,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -28310,7 +28394,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -28452,7 +28536,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -28556,7 +28640,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -28645,7 +28729,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -28765,7 +28849,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -28885,7 +28969,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -28963,7 +29047,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -29050,7 +29134,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -29114,7 +29198,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -29190,7 +29274,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -29256,7 +29340,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -29344,7 +29428,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -29457,7 +29541,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -29531,7 +29615,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -29620,7 +29704,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -29696,7 +29780,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -29795,7 +29879,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -29857,7 +29941,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -30306,7 +30390,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 193, "cookies": false, "type": "", "demo": "users\/list.md", @@ -30380,7 +30464,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 184, "cookies": false, "type": "", "demo": "users\/create.md", @@ -30469,7 +30553,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 187, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -30555,7 +30639,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 185, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -30641,7 +30725,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 201, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -30710,7 +30794,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 224, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -30772,7 +30856,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 186, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -30858,7 +30942,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 189, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -30944,7 +31028,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 190, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -31060,7 +31144,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 191, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -31164,7 +31248,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -31270,7 +31354,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 194, "cookies": false, "type": "", "demo": "users\/get.md", @@ -31323,7 +31407,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 222, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -31385,7 +31469,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -31466,7 +31550,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 225, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -31549,7 +31633,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -31633,7 +31717,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 199, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -31708,7 +31792,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 198, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -31794,7 +31878,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 212, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -31928,7 +32012,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 217, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -32063,7 +32147,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 213, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -32181,7 +32265,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 214, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -32297,7 +32381,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 216, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -32413,7 +32497,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 215, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -32531,7 +32615,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 205, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -32612,7 +32696,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 206, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -32693,7 +32777,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 208, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -32774,7 +32858,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 195, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -32834,7 +32918,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 210, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -32915,7 +32999,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 197, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -32975,7 +33059,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 218, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -33028,7 +33112,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 221, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -33083,7 +33167,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 220, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -33155,7 +33239,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -33236,7 +33320,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 200, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -33310,7 +33394,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 192, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -33421,7 +33505,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 196, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -33492,7 +33576,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 211, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -33582,7 +33666,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 223, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -33655,7 +33739,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 219, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -33738,7 +33822,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 209, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -33819,7 +33903,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 204, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -36135,9 +36219,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "nullable": true } }, @@ -36159,7 +36246,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "attributeLine": { @@ -36208,9 +36298,18 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[0, 0], [1, 1]]", + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], "nullable": true } }, @@ -36232,7 +36331,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "attributePolygon": { @@ -36281,9 +36389,30 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]", + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], "nullable": true } }, @@ -36305,7 +36434,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "table": { @@ -37414,9 +37564,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "nullable": true } }, @@ -37438,7 +37591,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "columnLine": { @@ -37487,9 +37643,18 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[0, 0], [1, 1]]", + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], "nullable": true } }, @@ -37511,7 +37676,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "columnPolygon": { @@ -37560,9 +37734,30 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]", + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], "nullable": true } }, @@ -37584,7 +37779,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "index": { diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index c72300e004..81530d8ecd 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -1891,7 +1891,7 @@ "prefs": { "type": "object", "description": "Prefs key-value JSON object.", - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -4830,7 +4830,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -4919,7 +4919,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -5020,7 +5020,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -5069,7 +5069,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -5168,7 +5168,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -5316,7 +5316,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -5419,7 +5419,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -5507,7 +5507,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -5626,7 +5626,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -6010,7 +6010,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -6062,7 +6062,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -6530,7 +6530,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -6613,7 +6613,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -6688,7 +6688,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -6774,7 +6774,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -6872,7 +6872,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -6944,7 +6944,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -7033,7 +7033,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -7100,7 +7100,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -7178,7 +7178,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -7406,7 +7406,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -7491,7 +7491,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -7579,7 +7579,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -7675,7 +7675,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -7724,7 +7724,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -7822,7 +7822,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -7961,7 +7961,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -8063,7 +8063,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -8150,7 +8150,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -8268,7 +8268,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -8386,7 +8386,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -8462,7 +8462,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -8547,7 +8547,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -8609,7 +8609,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -8683,7 +8683,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -8747,7 +8747,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -8833,7 +8833,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -8944,7 +8944,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -9016,7 +9016,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -9103,7 +9103,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -9177,7 +9177,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -9275,7 +9275,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -9336,7 +9336,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index b39181e025..53137becbb 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -1911,7 +1911,7 @@ "prefs": { "type": "object", "description": "Prefs key-value JSON object.", - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -4828,7 +4828,7 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 257, + "weight": 256, "cookies": false, "type": "", "demo": "assistant\/chat.md", @@ -4963,7 +4963,7 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 256, + "weight": 255, "cookies": false, "type": "", "demo": "console\/variables.md", @@ -5011,7 +5011,7 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 321, + "weight": 320, "cookies": false, "type": "", "demo": "databases\/list.md", @@ -5115,7 +5115,7 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 317, + "weight": 316, "cookies": false, "type": "", "demo": "databases\/create.md", @@ -5229,7 +5229,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 324, + "weight": 323, "cookies": false, "type": "", "demo": "databases\/list-usage.md", @@ -5331,7 +5331,7 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 318, + "weight": 317, "cookies": false, "type": "", "demo": "databases\/get.md", @@ -5422,7 +5422,7 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 319, + "weight": 318, "cookies": false, "type": "", "demo": "databases\/update.md", @@ -5533,7 +5533,7 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 320, + "weight": 319, "cookies": false, "type": "", "demo": "databases\/delete.md", @@ -5625,7 +5625,7 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 329, + "weight": 328, "cookies": false, "type": "", "demo": "databases\/list-collections.md", @@ -5712,7 +5712,7 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 325, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/create-collection.md", @@ -5820,7 +5820,7 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 326, + "weight": 325, "cookies": false, "type": "", "demo": "databases\/get-collection.md", @@ -5893,7 +5893,7 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 327, + "weight": 326, "cookies": false, "type": "", "demo": "databases\/update-collection.md", @@ -5996,7 +5996,7 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 328, + "weight": 327, "cookies": false, "type": "", "demo": "databases\/delete-collection.md", @@ -6071,7 +6071,7 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 346, + "weight": 345, "cookies": false, "type": "", "demo": "databases\/list-attributes.md", @@ -6159,7 +6159,7 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 346, "cookies": false, "type": "", "demo": "databases\/create-boolean-attribute.md", @@ -6269,7 +6269,7 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 348, + "weight": 347, "cookies": false, "type": "", "demo": "databases\/update-boolean-attribute.md", @@ -6384,7 +6384,7 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 348, "cookies": false, "type": "", "demo": "databases\/create-datetime-attribute.md", @@ -6494,7 +6494,7 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 350, + "weight": 349, "cookies": false, "type": "", "demo": "databases\/update-datetime-attribute.md", @@ -6609,7 +6609,7 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 350, "cookies": false, "type": "", "demo": "databases\/create-email-attribute.md", @@ -6719,7 +6719,7 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 352, + "weight": 351, "cookies": false, "type": "", "demo": "databases\/update-email-attribute.md", @@ -6834,7 +6834,7 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 352, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", @@ -6953,7 +6953,7 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 354, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/update-enum-attribute.md", @@ -7077,7 +7077,7 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 354, "cookies": false, "type": "", "demo": "databases\/create-float-attribute.md", @@ -7197,7 +7197,7 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 356, + "weight": 355, "cookies": false, "type": "", "demo": "databases\/update-float-attribute.md", @@ -7322,7 +7322,7 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 356, "cookies": false, "type": "", "demo": "databases\/create-integer-attribute.md", @@ -7442,7 +7442,7 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 358, + "weight": 357, "cookies": false, "type": "", "demo": "databases\/update-integer-attribute.md", @@ -7567,7 +7567,7 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 359, + "weight": 358, "cookies": false, "type": "", "demo": "databases\/create-ip-attribute.md", @@ -7677,7 +7677,7 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 360, + "weight": 359, "cookies": false, "type": "", "demo": "databases\/update-ip-attribute.md", @@ -7792,7 +7792,7 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 361, + "weight": 360, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", @@ -7858,9 +7858,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -7898,7 +7905,7 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 362, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", @@ -7968,9 +7975,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -8012,7 +8026,7 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 363, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", @@ -8078,9 +8092,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -8118,7 +8139,7 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 364, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", @@ -8188,9 +8209,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -8232,7 +8260,7 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", @@ -8298,9 +8326,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -8338,7 +8373,7 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 366, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", @@ -8408,9 +8443,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -8452,7 +8494,7 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/create-relationship-attribute.md", @@ -8587,7 +8629,7 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 369, + "weight": 368, "cookies": false, "type": "", "demo": "databases\/create-string-attribute.md", @@ -8708,7 +8750,7 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 370, + "weight": 369, "cookies": false, "type": "", "demo": "databases\/update-string-attribute.md", @@ -8828,7 +8870,7 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 370, "cookies": false, "type": "", "demo": "databases\/create-url-attribute.md", @@ -8938,7 +8980,7 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 372, + "weight": 371, "cookies": false, "type": "", "demo": "databases\/update-url-attribute.md", @@ -9084,7 +9126,7 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 344, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/get-attribute.md", @@ -9159,7 +9201,7 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 345, + "weight": 344, "cookies": false, "type": "", "demo": "databases\/delete-attribute.md", @@ -9243,7 +9285,7 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 368, + "weight": 367, "cookies": false, "type": "", "demo": "databases\/update-relationship-attribute.md", @@ -9355,7 +9397,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -9444,7 +9486,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -9575,7 +9617,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -9622,7 +9664,7 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 337, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", @@ -9750,7 +9792,7 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 335, + "weight": 334, "cookies": false, "type": "", "demo": "databases\/update-documents.md", @@ -9848,7 +9890,7 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 339, + "weight": 338, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", @@ -9943,7 +9985,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -10042,7 +10084,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -10190,7 +10232,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -10293,7 +10335,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -10381,7 +10423,7 @@ "x-appwrite": { "method": "listDocumentLogs", "group": "logs", - "weight": 341, + "weight": 340, "cookies": false, "type": "", "demo": "databases\/list-document-logs.md", @@ -10478,7 +10520,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -10597,7 +10639,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -10716,7 +10758,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 376, + "weight": 375, "cookies": false, "type": "", "demo": "databases\/list-indexes.md", @@ -10802,7 +10844,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 373, + "weight": 372, "cookies": false, "type": "", "demo": "databases\/create-index.md", @@ -10935,7 +10977,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 374, + "weight": 373, "cookies": false, "type": "", "demo": "databases\/get-index.md", @@ -11010,7 +11052,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 375, + "weight": 374, "cookies": false, "type": "", "demo": "databases\/delete-index.md", @@ -11094,7 +11136,7 @@ "x-appwrite": { "method": "listCollectionLogs", "group": "collections", - "weight": 330, + "weight": 329, "cookies": false, "type": "", "demo": "databases\/list-collection-logs.md", @@ -11181,7 +11223,7 @@ "x-appwrite": { "method": "getCollectionUsage", "group": null, - "weight": 331, + "weight": 330, "cookies": false, "type": "", "demo": "databases\/get-collection-usage.md", @@ -11277,7 +11319,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 322, + "weight": 321, "cookies": false, "type": "", "demo": "databases\/list-logs.md", @@ -11383,7 +11425,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 323, + "weight": 322, "cookies": false, "type": "", "demo": "databases\/get-usage.md", @@ -14106,7 +14148,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -14158,7 +14200,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -15150,7 +15192,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "tags": [ "health" @@ -15921,7 +15963,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 309, + "weight": 308, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -15997,7 +16039,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 306, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -16141,7 +16183,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 313, + "weight": 312, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -16287,7 +16329,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 308, + "weight": 307, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -16461,7 +16503,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 315, + "weight": 314, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -16639,7 +16681,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 307, + "weight": 306, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -16816,7 +16858,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 314, + "weight": 313, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -16994,7 +17036,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 312, + "weight": 311, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -17047,7 +17089,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 316, + "weight": 315, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -17109,7 +17151,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 310, + "weight": 309, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -17184,7 +17226,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 311, + "weight": 310, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -17259,7 +17301,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 281, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -17335,7 +17377,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 280, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -17510,7 +17552,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 293, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -17686,7 +17728,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 279, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -17833,7 +17875,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 292, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -17981,7 +18023,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 271, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -18096,7 +18138,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 284, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -18214,7 +18256,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 274, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -18309,7 +18351,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 287, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -18407,7 +18449,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 272, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -18512,7 +18554,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 285, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -18620,7 +18662,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 273, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -18847,7 +18889,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 286, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -19072,7 +19114,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 275, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -19167,7 +19209,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 288, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -19265,7 +19307,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 276, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -19360,7 +19402,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 289, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -19458,7 +19500,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 277, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -19553,7 +19595,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 290, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -19651,7 +19693,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 278, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -19746,7 +19788,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 291, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -19844,7 +19886,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 283, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -19897,7 +19939,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 294, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -19959,7 +20001,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 282, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -20034,7 +20076,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 303, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -20109,7 +20151,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 296, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -20183,7 +20225,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 295, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -20266,7 +20308,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 298, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -20326,7 +20368,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 299, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -20403,7 +20445,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 300, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -20465,7 +20507,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 297, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -20540,7 +20582,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 302, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -20624,7 +20666,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -20714,7 +20756,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 304, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -20777,7 +20819,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -20852,7 +20894,7 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 263, + "weight": 262, "cookies": false, "type": "", "demo": "migrations\/list.md", @@ -20926,7 +20968,7 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 258, + "weight": 257, "cookies": false, "type": "", "demo": "migrations\/create-appwrite-migration.md", @@ -21014,7 +21056,7 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 265, + "weight": 264, "cookies": false, "type": "", "demo": "migrations\/get-appwrite-report.md", @@ -21107,7 +21149,7 @@ "x-appwrite": { "method": "createCsvMigration", "group": null, - "weight": 262, + "weight": 261, "cookies": false, "type": "", "demo": "migrations\/create-csv-migration.md", @@ -21191,7 +21233,7 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 259, + "weight": 258, "cookies": false, "type": "", "demo": "migrations\/create-firebase-migration.md", @@ -21267,7 +21309,7 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 266, + "weight": 265, "cookies": false, "type": "", "demo": "migrations\/get-firebase-report.md", @@ -21339,7 +21381,7 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 261, + "weight": 260, "cookies": false, "type": "", "demo": "migrations\/create-n-host-migration.md", @@ -21450,7 +21492,7 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 268, + "weight": 267, "cookies": false, "type": "", "demo": "migrations\/get-n-host-report.md", @@ -21583,7 +21625,7 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 260, + "weight": 259, "cookies": false, "type": "", "demo": "migrations\/create-supabase-migration.md", @@ -21688,7 +21730,7 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 267, + "weight": 266, "cookies": false, "type": "", "demo": "migrations\/get-supabase-report.md", @@ -21812,7 +21854,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 264, + "weight": 263, "cookies": false, "type": "", "demo": "migrations\/get.md", @@ -21870,7 +21912,7 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 269, + "weight": 268, "cookies": false, "type": "", "demo": "migrations\/retry.md", @@ -21921,7 +21963,7 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 270, + "weight": 269, "cookies": false, "type": "", "demo": "migrations\/delete.md", @@ -21981,7 +22023,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 149, + "weight": 148, "cookies": false, "type": "", "demo": "project\/get-usage.md", @@ -22069,7 +22111,7 @@ "x-appwrite": { "method": "listVariables", "group": null, - "weight": 151, + "weight": 150, "cookies": false, "type": "", "demo": "project\/list-variables.md", @@ -22115,7 +22157,7 @@ "x-appwrite": { "method": "createVariable", "group": null, - "weight": 150, + "weight": 149, "cookies": false, "type": "", "demo": "project\/create-variable.md", @@ -22193,7 +22235,7 @@ "x-appwrite": { "method": "getVariable", "group": null, - "weight": 152, + "weight": 151, "cookies": false, "type": "", "demo": "project\/get-variable.md", @@ -22251,7 +22293,7 @@ "x-appwrite": { "method": "updateVariable", "group": null, - "weight": 153, + "weight": 152, "cookies": false, "type": "", "demo": "project\/update-variable.md", @@ -22331,7 +22373,7 @@ "x-appwrite": { "method": "deleteVariable", "group": null, - "weight": 154, + "weight": 153, "cookies": false, "type": "", "demo": "project\/delete-variable.md", @@ -22391,11 +22433,11 @@ "x-appwrite": { "method": "list", "group": "projects", - "weight": 103, + "weight": 440, "cookies": false, "type": "", "demo": "projects\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all projects. You can use the query params to filter your results. ", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -22597,7 +22639,7 @@ "x-appwrite": { "method": "get", "group": "projects", - "weight": 104, + "weight": 103, "cookies": false, "type": "", "demo": "projects\/get.md", @@ -22655,7 +22697,7 @@ "x-appwrite": { "method": "update", "group": "projects", - "weight": 105, + "weight": 104, "cookies": false, "type": "", "demo": "projects\/update.md", @@ -22770,7 +22812,7 @@ "x-appwrite": { "method": "delete", "group": "projects", - "weight": 122, + "weight": 121, "cookies": false, "type": "", "demo": "projects\/delete.md", @@ -22830,7 +22872,7 @@ "x-appwrite": { "method": "updateApiStatus", "group": "projects", - "weight": 109, + "weight": 108, "cookies": false, "type": "", "demo": "projects\/update-api-status.md", @@ -22984,7 +23026,7 @@ "x-appwrite": { "method": "updateApiStatusAll", "group": "projects", - "weight": 110, + "weight": 109, "cookies": false, "type": "", "demo": "projects\/update-api-status-all.md", @@ -23121,7 +23163,7 @@ "x-appwrite": { "method": "updateAuthDuration", "group": "auth", - "weight": 115, + "weight": 114, "cookies": false, "type": "", "demo": "projects\/update-auth-duration.md", @@ -23200,7 +23242,7 @@ "x-appwrite": { "method": "updateAuthLimit", "group": "auth", - "weight": 114, + "weight": 113, "cookies": false, "type": "", "demo": "projects\/update-auth-limit.md", @@ -23279,7 +23321,7 @@ "x-appwrite": { "method": "updateAuthSessionsLimit", "group": "auth", - "weight": 120, + "weight": 119, "cookies": false, "type": "", "demo": "projects\/update-auth-sessions-limit.md", @@ -23358,7 +23400,7 @@ "x-appwrite": { "method": "updateMembershipsPrivacy", "group": "auth", - "weight": 113, + "weight": 112, "cookies": false, "type": "", "demo": "projects\/update-memberships-privacy.md", @@ -23449,7 +23491,7 @@ "x-appwrite": { "method": "updateMockNumbers", "group": "auth", - "weight": 121, + "weight": 120, "cookies": false, "type": "", "demo": "projects\/update-mock-numbers.md", @@ -23531,7 +23573,7 @@ "x-appwrite": { "method": "updateAuthPasswordDictionary", "group": "auth", - "weight": 118, + "weight": 117, "cookies": false, "type": "", "demo": "projects\/update-auth-password-dictionary.md", @@ -23610,7 +23652,7 @@ "x-appwrite": { "method": "updateAuthPasswordHistory", "group": "auth", - "weight": 117, + "weight": 116, "cookies": false, "type": "", "demo": "projects\/update-auth-password-history.md", @@ -23689,7 +23731,7 @@ "x-appwrite": { "method": "updatePersonalDataCheck", "group": "auth", - "weight": 119, + "weight": 118, "cookies": false, "type": "", "demo": "projects\/update-personal-data-check.md", @@ -23768,7 +23810,7 @@ "x-appwrite": { "method": "updateSessionAlerts", "group": "auth", - "weight": 112, + "weight": 111, "cookies": false, "type": "", "demo": "projects\/update-session-alerts.md", @@ -23847,7 +23889,7 @@ "x-appwrite": { "method": "updateSessionInvalidation", "group": "auth", - "weight": 148, + "weight": 147, "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", @@ -23926,7 +23968,7 @@ "x-appwrite": { "method": "updateAuthStatus", "group": "auth", - "weight": 116, + "weight": 115, "cookies": false, "type": "", "demo": "projects\/update-auth-status.md", @@ -24026,7 +24068,7 @@ "x-appwrite": { "method": "listDevKeys", "group": "devKeys", - "weight": 439, + "weight": 438, "cookies": false, "type": "", "demo": "projects\/list-dev-keys.md", @@ -24094,7 +24136,7 @@ "x-appwrite": { "method": "createDevKey", "group": "devKeys", - "weight": 436, + "weight": 435, "cookies": false, "type": "", "demo": "projects\/create-dev-key.md", @@ -24179,7 +24221,7 @@ "x-appwrite": { "method": "getDevKey", "group": "devKeys", - "weight": 438, + "weight": 437, "cookies": false, "type": "", "demo": "projects\/get-dev-key.md", @@ -24247,7 +24289,7 @@ "x-appwrite": { "method": "updateDevKey", "group": "devKeys", - "weight": 437, + "weight": 436, "cookies": false, "type": "", "demo": "projects\/update-dev-key.md", @@ -24333,7 +24375,7 @@ "x-appwrite": { "method": "deleteDevKey", "group": "devKeys", - "weight": 440, + "weight": 439, "cookies": false, "type": "", "demo": "projects\/delete-dev-key.md", @@ -24403,7 +24445,7 @@ "x-appwrite": { "method": "createJWT", "group": "auth", - "weight": 134, + "weight": 133, "cookies": false, "type": "", "demo": "projects\/create-jwt.md", @@ -24490,7 +24532,7 @@ "x-appwrite": { "method": "listKeys", "group": "keys", - "weight": 130, + "weight": 129, "cookies": false, "type": "", "demo": "projects\/list-keys.md", @@ -24548,7 +24590,7 @@ "x-appwrite": { "method": "createKey", "group": "keys", - "weight": 129, + "weight": 128, "cookies": false, "type": "", "demo": "projects\/create-key.md", @@ -24641,7 +24683,7 @@ "x-appwrite": { "method": "getKey", "group": "keys", - "weight": 131, + "weight": 130, "cookies": false, "type": "", "demo": "projects\/get-key.md", @@ -24709,7 +24751,7 @@ "x-appwrite": { "method": "updateKey", "group": "keys", - "weight": 132, + "weight": 131, "cookies": false, "type": "", "demo": "projects\/update-key.md", @@ -24803,7 +24845,7 @@ "x-appwrite": { "method": "deleteKey", "group": "keys", - "weight": 133, + "weight": 132, "cookies": false, "type": "", "demo": "projects\/delete-key.md", @@ -24873,7 +24915,7 @@ "x-appwrite": { "method": "updateOAuth2", "group": "auth", - "weight": 111, + "weight": 110, "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.md", @@ -25011,7 +25053,7 @@ "x-appwrite": { "method": "listPlatforms", "group": "platforms", - "weight": 136, + "weight": 135, "cookies": false, "type": "", "demo": "projects\/list-platforms.md", @@ -25069,7 +25111,7 @@ "x-appwrite": { "method": "createPlatform", "group": "platforms", - "weight": 135, + "weight": 134, "cookies": false, "type": "", "demo": "projects\/create-platform.md", @@ -25188,7 +25230,7 @@ "x-appwrite": { "method": "getPlatform", "group": "platforms", - "weight": 137, + "weight": 136, "cookies": false, "type": "", "demo": "projects\/get-platform.md", @@ -25256,7 +25298,7 @@ "x-appwrite": { "method": "updatePlatform", "group": "platforms", - "weight": 138, + "weight": 137, "cookies": false, "type": "", "demo": "projects\/update-platform.md", @@ -25351,7 +25393,7 @@ "x-appwrite": { "method": "deletePlatform", "group": "platforms", - "weight": 139, + "weight": 138, "cookies": false, "type": "", "demo": "projects\/delete-platform.md", @@ -25421,7 +25463,7 @@ "x-appwrite": { "method": "updateServiceStatus", "group": "projects", - "weight": 107, + "weight": 106, "cookies": false, "type": "", "demo": "projects\/update-service-status.md", @@ -25523,7 +25565,7 @@ "x-appwrite": { "method": "updateServiceStatusAll", "group": "projects", - "weight": 108, + "weight": 107, "cookies": false, "type": "", "demo": "projects\/update-service-status-all.md", @@ -25602,7 +25644,7 @@ "x-appwrite": { "method": "updateSmtp", "group": "templates", - "weight": 140, + "weight": 139, "cookies": false, "type": "", "demo": "projects\/update-smtp.md", @@ -25794,7 +25836,7 @@ "x-appwrite": { "method": "createSmtpTest", "group": "templates", - "weight": 141, + "weight": 140, "cookies": false, "type": "", "demo": "projects\/create-smtp-test.md", @@ -26003,7 +26045,7 @@ "x-appwrite": { "method": "updateTeam", "group": "projects", - "weight": 106, + "weight": 105, "cookies": false, "type": "", "demo": "projects\/update-team.md", @@ -26082,7 +26124,7 @@ "x-appwrite": { "method": "getEmailTemplate", "group": "templates", - "weight": 143, + "weight": 142, "cookies": false, "type": "", "demo": "projects\/get-email-template.md", @@ -26306,7 +26348,7 @@ "x-appwrite": { "method": "updateEmailTemplate", "group": "templates", - "weight": 145, + "weight": 144, "cookies": false, "type": "", "demo": "projects\/update-email-template.md", @@ -26570,7 +26612,7 @@ "x-appwrite": { "method": "deleteEmailTemplate", "group": "templates", - "weight": 147, + "weight": 146, "cookies": false, "type": "", "demo": "projects\/delete-email-template.md", @@ -26796,7 +26838,7 @@ "x-appwrite": { "method": "getSmsTemplate", "group": "templates", - "weight": 142, + "weight": 141, "cookies": false, "type": "", "demo": "projects\/get-sms-template.md", @@ -27079,7 +27121,7 @@ "x-appwrite": { "method": "updateSmsTemplate", "group": "templates", - "weight": 144, + "weight": 143, "cookies": false, "type": "", "demo": "projects\/update-sms-template.md", @@ -27385,7 +27427,7 @@ "x-appwrite": { "method": "deleteSmsTemplate", "group": "templates", - "weight": 146, + "weight": 145, "cookies": false, "type": "", "demo": "projects\/delete-sms-template.md", @@ -27670,7 +27712,7 @@ "x-appwrite": { "method": "listWebhooks", "group": "webhooks", - "weight": 124, + "weight": 123, "cookies": false, "type": "", "demo": "projects\/list-webhooks.md", @@ -27728,7 +27770,7 @@ "x-appwrite": { "method": "createWebhook", "group": "webhooks", - "weight": 123, + "weight": 122, "cookies": false, "type": "", "demo": "projects\/create-webhook.md", @@ -27843,7 +27885,7 @@ "x-appwrite": { "method": "getWebhook", "group": "webhooks", - "weight": 125, + "weight": 124, "cookies": false, "type": "", "demo": "projects\/get-webhook.md", @@ -27911,7 +27953,7 @@ "x-appwrite": { "method": "updateWebhook", "group": "webhooks", - "weight": 126, + "weight": 125, "cookies": false, "type": "", "demo": "projects\/update-webhook.md", @@ -28027,7 +28069,7 @@ "x-appwrite": { "method": "deleteWebhook", "group": "webhooks", - "weight": 128, + "weight": 127, "cookies": false, "type": "", "demo": "projects\/delete-webhook.md", @@ -28097,7 +28139,7 @@ "x-appwrite": { "method": "updateWebhookSignature", "group": "webhooks", - "weight": 127, + "weight": 126, "cookies": false, "type": "", "demo": "projects\/update-webhook-signature.md", @@ -28167,7 +28209,7 @@ "x-appwrite": { "method": "listRules", "group": null, - "weight": 241, + "weight": 240, "cookies": false, "type": "", "demo": "proxy\/list-rules.md", @@ -28577,7 +28619,7 @@ "x-appwrite": { "method": "getRule", "group": null, - "weight": 242, + "weight": 241, "cookies": false, "type": "", "demo": "proxy\/get-rule.md", @@ -28628,7 +28670,7 @@ "x-appwrite": { "method": "deleteRule", "group": null, - "weight": 243, + "weight": 242, "cookies": false, "type": "", "demo": "proxy\/delete-rule.md", @@ -28688,7 +28730,7 @@ "x-appwrite": { "method": "updateRuleVerification", "group": null, - "weight": 244, + "weight": 243, "cookies": false, "type": "", "demo": "proxy\/update-rule-verification.md", @@ -31262,7 +31304,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 155, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -31335,7 +31377,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 154, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -31462,7 +31504,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 156, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -31521,7 +31563,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -31645,7 +31687,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -31706,7 +31748,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -31792,7 +31834,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -31890,7 +31932,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -31962,7 +32004,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -32051,7 +32093,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -32118,7 +32160,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -32196,7 +32238,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -32424,7 +32466,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -32509,7 +32551,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 169, + "weight": 168, "cookies": false, "type": "", "demo": "storage\/get-usage.md", @@ -32581,7 +32623,7 @@ "x-appwrite": { "method": "getBucketUsage", "group": null, - "weight": 170, + "weight": 169, "cookies": false, "type": "", "demo": "storage\/get-bucket-usage.md", @@ -32663,7 +32705,7 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 381, + "weight": 380, "cookies": false, "type": "", "demo": "tablesdb\/list.md", @@ -32736,7 +32778,7 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 377, + "weight": 376, "cookies": false, "type": "", "demo": "tablesdb\/create.md", @@ -32815,7 +32857,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 383, + "weight": 382, "cookies": false, "type": "", "demo": "tablesdb\/list-usage.md", @@ -32912,7 +32954,7 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 378, + "weight": 377, "cookies": false, "type": "", "demo": "tablesdb\/get.md", @@ -32971,7 +33013,7 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 379, + "weight": 378, "cookies": false, "type": "", "demo": "tablesdb\/update.md", @@ -33047,7 +33089,7 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 380, + "weight": 379, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", @@ -33108,7 +33150,7 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 388, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", @@ -33194,7 +33236,7 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 384, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", @@ -33301,7 +33343,7 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 385, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", @@ -33373,7 +33415,7 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 386, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", @@ -33475,7 +33517,7 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 387, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", @@ -33549,7 +33591,7 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 393, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", @@ -33636,7 +33678,7 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 394, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", @@ -33745,7 +33787,7 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 395, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", @@ -33859,7 +33901,7 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 396, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", @@ -33968,7 +34010,7 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 397, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", @@ -34082,7 +34124,7 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 398, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", @@ -34191,7 +34233,7 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 399, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", @@ -34305,7 +34347,7 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 400, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", @@ -34423,7 +34465,7 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 401, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", @@ -34546,7 +34588,7 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 402, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", @@ -34665,7 +34707,7 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 403, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", @@ -34789,7 +34831,7 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 404, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", @@ -34908,7 +34950,7 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 405, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", @@ -35032,7 +35074,7 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 406, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", @@ -35141,7 +35183,7 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 407, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", @@ -35255,7 +35297,7 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 408, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", @@ -35320,9 +35362,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -35360,7 +35409,7 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 409, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", @@ -35429,9 +35478,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -35473,7 +35529,7 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 410, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", @@ -35538,9 +35594,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -35578,7 +35641,7 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 411, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", @@ -35647,9 +35710,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -35691,7 +35761,7 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 412, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", @@ -35756,9 +35826,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -35796,7 +35873,7 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 413, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", @@ -35865,9 +35942,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -35909,7 +35993,7 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 414, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", @@ -36043,7 +36127,7 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 416, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", @@ -36163,7 +36247,7 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 417, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", @@ -36282,7 +36366,7 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 418, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", @@ -36391,7 +36475,7 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 419, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", @@ -36536,7 +36620,7 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 391, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", @@ -36610,7 +36694,7 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 392, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", @@ -36693,7 +36777,7 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 415, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", @@ -36804,7 +36888,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 423, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", @@ -36889,7 +36973,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 420, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", @@ -37021,7 +37105,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 421, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", @@ -37095,7 +37179,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 422, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", @@ -37178,7 +37262,7 @@ "x-appwrite": { "method": "listTableLogs", "group": "tables", - "weight": 389, + "weight": 388, "cookies": false, "type": "", "demo": "tablesdb\/list-table-logs.md", @@ -37264,7 +37348,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -37352,7 +37436,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -37474,7 +37558,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -37521,7 +37605,7 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 429, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", @@ -37644,7 +37728,7 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 427, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", @@ -37741,7 +37825,7 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 431, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", @@ -37835,7 +37919,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -37933,7 +38017,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -38072,7 +38156,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -38174,7 +38258,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -38261,7 +38345,7 @@ "x-appwrite": { "method": "listRowLogs", "group": "logs", - "weight": 433, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/list-row-logs.md", @@ -38357,7 +38441,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -38475,7 +38559,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -38593,7 +38677,7 @@ "x-appwrite": { "method": "getTableUsage", "group": null, - "weight": 390, + "weight": 389, "cookies": false, "type": "", "demo": "tablesdb\/get-table-usage.md", @@ -38688,7 +38772,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 382, + "weight": 381, "cookies": false, "type": "", "demo": "tablesdb\/get-usage.md", @@ -38798,7 +38882,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -38874,7 +38958,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -38959,7 +39043,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -39021,7 +39105,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -39095,7 +39179,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -39159,7 +39243,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 184, + "weight": 183, "cookies": false, "type": "", "demo": "teams\/list-logs.md", @@ -39232,7 +39316,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -39318,7 +39402,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -39429,7 +39513,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -39501,7 +39585,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -39588,7 +39672,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -39662,7 +39746,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -39759,7 +39843,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -39819,7 +39903,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -40261,7 +40345,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 193, "cookies": false, "type": "", "demo": "users\/list.md", @@ -40334,7 +40418,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 184, "cookies": false, "type": "", "demo": "users\/create.md", @@ -40422,7 +40506,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 187, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -40507,7 +40591,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 185, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -40592,7 +40676,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 201, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -40660,7 +40744,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 224, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -40721,7 +40805,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 186, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -40806,7 +40890,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 189, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -40891,7 +40975,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 190, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -41006,7 +41090,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 191, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -41109,7 +41193,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -41214,7 +41298,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 227, + "weight": 226, "cookies": false, "type": "", "demo": "users\/get-usage.md", @@ -41286,7 +41370,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 194, "cookies": false, "type": "", "demo": "users\/get.md", @@ -41338,7 +41422,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 222, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -41399,7 +41483,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -41479,7 +41563,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 225, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -41561,7 +41645,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -41644,7 +41728,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 199, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -41718,7 +41802,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 198, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -41803,7 +41887,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 212, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -41934,7 +42018,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 217, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -42066,7 +42150,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 213, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -42181,7 +42265,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 214, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -42294,7 +42378,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 216, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -42407,7 +42491,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 215, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -42522,7 +42606,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 205, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -42602,7 +42686,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 206, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -42682,7 +42766,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 208, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -42762,7 +42846,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 195, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -42821,7 +42905,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 210, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -42901,7 +42985,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 197, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -42960,7 +43044,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 218, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -43012,7 +43096,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 221, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -43066,7 +43150,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 220, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -43137,7 +43221,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -43217,7 +43301,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 200, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -43290,7 +43374,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 192, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -43400,7 +43484,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 196, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -43470,7 +43554,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 211, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -43559,7 +43643,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 223, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -43631,7 +43715,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 219, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -43713,7 +43797,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 209, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -43793,7 +43877,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 204, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -43873,7 +43957,7 @@ "x-appwrite": { "method": "createRepositoryDetection", "group": "repositories", - "weight": 231, + "weight": 230, "cookies": false, "type": "", "demo": "vcs\/create-repository-detection.md", @@ -43969,7 +44053,7 @@ "x-appwrite": { "method": "listRepositories", "group": "repositories", - "weight": 232, + "weight": 231, "cookies": false, "type": "", "demo": "vcs\/list-repositories.md", @@ -44054,7 +44138,7 @@ "x-appwrite": { "method": "createRepository", "group": "repositories", - "weight": 233, + "weight": 232, "cookies": false, "type": "", "demo": "vcs\/create-repository.md", @@ -44139,7 +44223,7 @@ "x-appwrite": { "method": "getRepository", "group": "repositories", - "weight": 234, + "weight": 233, "cookies": false, "type": "", "demo": "vcs\/get-repository.md", @@ -44209,7 +44293,7 @@ "x-appwrite": { "method": "listRepositoryBranches", "group": "repositories", - "weight": 235, + "weight": 234, "cookies": false, "type": "", "demo": "vcs\/list-repository-branches.md", @@ -44279,7 +44363,7 @@ "x-appwrite": { "method": "getRepositoryContents", "group": "repositories", - "weight": 230, + "weight": 229, "cookies": false, "type": "", "demo": "vcs\/get-repository-contents.md", @@ -44364,7 +44448,7 @@ "x-appwrite": { "method": "updateExternalDeployments", "group": "repositories", - "weight": 240, + "weight": 239, "cookies": false, "type": "", "demo": "vcs\/update-external-deployments.md", @@ -44453,7 +44537,7 @@ "x-appwrite": { "method": "listInstallations", "group": "installations", - "weight": 237, + "weight": 236, "cookies": false, "type": "", "demo": "vcs\/list-installations.md", @@ -44527,7 +44611,7 @@ "x-appwrite": { "method": "getInstallation", "group": "installations", - "weight": 238, + "weight": 237, "cookies": false, "type": "", "demo": "vcs\/get-installation.md", @@ -44578,7 +44662,7 @@ "x-appwrite": { "method": "deleteInstallation", "group": "installations", - "weight": 239, + "weight": 238, "cookies": false, "type": "", "demo": "vcs\/delete-installation.md", @@ -47265,9 +47349,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "nullable": true } }, @@ -47289,7 +47376,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "attributeLine": { @@ -47338,9 +47428,18 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[0, 0], [1, 1]]", + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], "nullable": true } }, @@ -47362,7 +47461,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "attributePolygon": { @@ -47411,9 +47519,30 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]", + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], "nullable": true } }, @@ -47435,7 +47564,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "table": { @@ -48544,9 +48694,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "nullable": true } }, @@ -48568,7 +48721,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "columnLine": { @@ -48617,9 +48773,18 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[0, 0], [1, 1]]", + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], "nullable": true } }, @@ -48641,7 +48806,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "columnPolygon": { @@ -48690,9 +48864,30 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]", + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], "nullable": true } }, @@ -48714,7 +48909,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "index": { diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 22f0affafa..ee0b6f59ac 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -1926,7 +1926,7 @@ "prefs": { "type": "object", "description": "Prefs key-value JSON object.", - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -4545,7 +4545,7 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 321, + "weight": 320, "cookies": false, "type": "", "demo": "databases\/list.md", @@ -4651,7 +4651,7 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 317, + "weight": 316, "cookies": false, "type": "", "demo": "databases\/create.md", @@ -4767,7 +4767,7 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 318, + "weight": 317, "cookies": false, "type": "", "demo": "databases\/get.md", @@ -4860,7 +4860,7 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 319, + "weight": 318, "cookies": false, "type": "", "demo": "databases\/update.md", @@ -4973,7 +4973,7 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 320, + "weight": 319, "cookies": false, "type": "", "demo": "databases\/delete.md", @@ -5067,7 +5067,7 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 329, + "weight": 328, "cookies": false, "type": "", "demo": "databases\/list-collections.md", @@ -5155,7 +5155,7 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 325, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/create-collection.md", @@ -5264,7 +5264,7 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 326, + "weight": 325, "cookies": false, "type": "", "demo": "databases\/get-collection.md", @@ -5338,7 +5338,7 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 327, + "weight": 326, "cookies": false, "type": "", "demo": "databases\/update-collection.md", @@ -5442,7 +5442,7 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 328, + "weight": 327, "cookies": false, "type": "", "demo": "databases\/delete-collection.md", @@ -5518,7 +5518,7 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 346, + "weight": 345, "cookies": false, "type": "", "demo": "databases\/list-attributes.md", @@ -5607,7 +5607,7 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 346, "cookies": false, "type": "", "demo": "databases\/create-boolean-attribute.md", @@ -5718,7 +5718,7 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 348, + "weight": 347, "cookies": false, "type": "", "demo": "databases\/update-boolean-attribute.md", @@ -5834,7 +5834,7 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 348, "cookies": false, "type": "", "demo": "databases\/create-datetime-attribute.md", @@ -5945,7 +5945,7 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 350, + "weight": 349, "cookies": false, "type": "", "demo": "databases\/update-datetime-attribute.md", @@ -6061,7 +6061,7 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 350, "cookies": false, "type": "", "demo": "databases\/create-email-attribute.md", @@ -6172,7 +6172,7 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 352, + "weight": 351, "cookies": false, "type": "", "demo": "databases\/update-email-attribute.md", @@ -6288,7 +6288,7 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 352, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", @@ -6408,7 +6408,7 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 354, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/update-enum-attribute.md", @@ -6533,7 +6533,7 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 354, "cookies": false, "type": "", "demo": "databases\/create-float-attribute.md", @@ -6654,7 +6654,7 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 356, + "weight": 355, "cookies": false, "type": "", "demo": "databases\/update-float-attribute.md", @@ -6780,7 +6780,7 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 356, "cookies": false, "type": "", "demo": "databases\/create-integer-attribute.md", @@ -6901,7 +6901,7 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 358, + "weight": 357, "cookies": false, "type": "", "demo": "databases\/update-integer-attribute.md", @@ -7027,7 +7027,7 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 359, + "weight": 358, "cookies": false, "type": "", "demo": "databases\/create-ip-attribute.md", @@ -7138,7 +7138,7 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 360, + "weight": 359, "cookies": false, "type": "", "demo": "databases\/update-ip-attribute.md", @@ -7254,7 +7254,7 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 361, + "weight": 360, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", @@ -7321,9 +7321,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -7361,7 +7368,7 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 362, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", @@ -7432,9 +7439,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -7476,7 +7490,7 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 363, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", @@ -7543,9 +7557,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -7583,7 +7604,7 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 364, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", @@ -7654,9 +7675,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -7698,7 +7726,7 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", @@ -7765,9 +7793,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -7805,7 +7840,7 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 366, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", @@ -7876,9 +7911,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", - "x-example": null, + "type": "array", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -7920,7 +7962,7 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/create-relationship-attribute.md", @@ -8056,7 +8098,7 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 369, + "weight": 368, "cookies": false, "type": "", "demo": "databases\/create-string-attribute.md", @@ -8178,7 +8220,7 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 370, + "weight": 369, "cookies": false, "type": "", "demo": "databases\/update-string-attribute.md", @@ -8299,7 +8341,7 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 370, "cookies": false, "type": "", "demo": "databases\/create-url-attribute.md", @@ -8410,7 +8452,7 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 372, + "weight": 371, "cookies": false, "type": "", "demo": "databases\/update-url-attribute.md", @@ -8557,7 +8599,7 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 344, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/get-attribute.md", @@ -8633,7 +8675,7 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 345, + "weight": 344, "cookies": false, "type": "", "demo": "databases\/delete-attribute.md", @@ -8718,7 +8760,7 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 368, + "weight": 367, "cookies": false, "type": "", "demo": "databases\/update-relationship-attribute.md", @@ -8831,7 +8873,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -8922,7 +8964,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -9057,7 +9099,7 @@ "data": { "type": "object", "description": "Document data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -9104,7 +9146,7 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 337, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", @@ -9234,7 +9276,7 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 335, + "weight": 334, "cookies": false, "type": "", "demo": "databases\/update-documents.md", @@ -9333,7 +9375,7 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 339, + "weight": 338, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", @@ -9429,7 +9471,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -9530,7 +9572,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -9681,7 +9723,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -9786,7 +9828,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -9876,7 +9918,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -9997,7 +10039,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -10118,7 +10160,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 376, + "weight": 375, "cookies": false, "type": "", "demo": "databases\/list-indexes.md", @@ -10205,7 +10247,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 373, + "weight": 372, "cookies": false, "type": "", "demo": "databases\/create-index.md", @@ -10339,7 +10381,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 374, + "weight": 373, "cookies": false, "type": "", "demo": "databases\/get-index.md", @@ -10415,7 +10457,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 375, + "weight": 374, "cookies": false, "type": "", "demo": "databases\/delete-index.md", @@ -12823,7 +12865,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -12877,7 +12919,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -13887,7 +13929,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "tags": [ "health" @@ -14680,7 +14722,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 309, + "weight": 308, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -14757,7 +14799,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 306, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -14902,7 +14944,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 313, + "weight": 312, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -15049,7 +15091,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 308, + "weight": 307, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -15224,7 +15266,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 315, + "weight": 314, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -15403,7 +15445,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 307, + "weight": 306, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -15583,7 +15625,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 314, + "weight": 313, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -15764,7 +15806,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 312, + "weight": 311, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -15818,7 +15860,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 316, + "weight": 315, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -15881,7 +15923,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 310, + "weight": 309, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -15957,7 +15999,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 311, + "weight": 310, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -16033,7 +16075,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 281, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -16110,7 +16152,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 280, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -16288,7 +16330,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 293, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -16467,7 +16509,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 279, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -16617,7 +16659,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 292, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -16768,7 +16810,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 271, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -16884,7 +16926,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 284, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -17003,7 +17045,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 274, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -17099,7 +17141,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 287, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -17198,7 +17240,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 272, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -17304,7 +17346,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 285, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -17413,7 +17455,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 273, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -17643,7 +17685,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 286, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -17871,7 +17913,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 275, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -17967,7 +18009,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 288, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -18066,7 +18108,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 276, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -18162,7 +18204,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 289, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -18261,7 +18303,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 277, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -18357,7 +18399,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 290, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -18456,7 +18498,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 278, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -18552,7 +18594,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 291, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -18651,7 +18693,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 283, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -18705,7 +18747,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 294, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -18768,7 +18810,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 282, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -18844,7 +18886,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 303, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -18920,7 +18962,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 296, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -18995,7 +19037,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 295, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -19079,7 +19121,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 298, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -19140,7 +19182,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 299, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -19218,7 +19260,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 300, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -19281,7 +19323,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 297, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -19357,7 +19399,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 302, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -19442,7 +19484,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -19534,7 +19576,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 304, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -19598,7 +19640,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -21900,7 +21942,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 155, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -21974,7 +22016,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 154, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -22102,7 +22144,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 156, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -22162,7 +22204,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -22287,7 +22329,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -22349,7 +22391,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -22437,7 +22479,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -22537,7 +22579,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -22611,7 +22653,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -22702,7 +22744,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -22771,7 +22813,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -22851,7 +22893,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -23081,7 +23123,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -23168,7 +23210,7 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 381, + "weight": 380, "cookies": false, "type": "", "demo": "tablesdb\/list.md", @@ -23242,7 +23284,7 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 377, + "weight": 376, "cookies": false, "type": "", "demo": "tablesdb\/create.md", @@ -23322,7 +23364,7 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 378, + "weight": 377, "cookies": false, "type": "", "demo": "tablesdb\/get.md", @@ -23382,7 +23424,7 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 379, + "weight": 378, "cookies": false, "type": "", "demo": "tablesdb\/update.md", @@ -23459,7 +23501,7 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 380, + "weight": 379, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", @@ -23521,7 +23563,7 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 388, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", @@ -23608,7 +23650,7 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 384, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", @@ -23716,7 +23758,7 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 385, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", @@ -23789,7 +23831,7 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 386, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", @@ -23892,7 +23934,7 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 387, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", @@ -23967,7 +24009,7 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 393, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", @@ -24055,7 +24097,7 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 394, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", @@ -24165,7 +24207,7 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 395, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", @@ -24280,7 +24322,7 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 396, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", @@ -24390,7 +24432,7 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 397, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", @@ -24505,7 +24547,7 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 398, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", @@ -24615,7 +24657,7 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 399, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", @@ -24730,7 +24772,7 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 400, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", @@ -24849,7 +24891,7 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 401, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", @@ -24973,7 +25015,7 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 402, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", @@ -25093,7 +25135,7 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 403, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", @@ -25218,7 +25260,7 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 404, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", @@ -25338,7 +25380,7 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 405, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", @@ -25463,7 +25505,7 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 406, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", @@ -25573,7 +25615,7 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 407, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", @@ -25688,7 +25730,7 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 408, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", @@ -25754,9 +25796,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -25794,7 +25843,7 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 409, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", @@ -25864,9 +25913,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -25908,7 +25964,7 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 410, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", @@ -25974,9 +26030,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -26014,7 +26077,7 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 411, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", @@ -26084,9 +26147,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -26128,7 +26198,7 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 412, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", @@ -26194,9 +26264,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true } }, @@ -26234,7 +26311,7 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 413, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", @@ -26304,9 +26381,16 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", - "x-example": null, + "type": "array", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", + "x-example": "[[1,2], [3, 4]]", + "items": { + "oneOf": [ + { + "type": "array" + } + ] + }, "x-nullable": true }, "newKey": { @@ -26348,7 +26432,7 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 414, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", @@ -26483,7 +26567,7 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 416, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", @@ -26604,7 +26688,7 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 417, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", @@ -26724,7 +26808,7 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 418, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", @@ -26834,7 +26918,7 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 419, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", @@ -26980,7 +27064,7 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 391, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", @@ -27055,7 +27139,7 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 392, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", @@ -27139,7 +27223,7 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 415, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", @@ -27251,7 +27335,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 423, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", @@ -27337,7 +27421,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 420, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", @@ -27470,7 +27554,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 421, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", @@ -27545,7 +27629,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 422, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", @@ -27629,7 +27713,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -27719,7 +27803,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -27845,7 +27929,7 @@ "data": { "type": "object", "description": "Row data as JSON object.", - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -27892,7 +27976,7 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 429, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", @@ -28017,7 +28101,7 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 427, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", @@ -28115,7 +28199,7 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 431, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", @@ -28210,7 +28294,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -28310,7 +28394,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -28452,7 +28536,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -28556,7 +28640,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -28645,7 +28729,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -28765,7 +28849,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -28885,7 +28969,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -28963,7 +29047,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -29050,7 +29134,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -29114,7 +29198,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -29190,7 +29274,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -29256,7 +29340,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -29344,7 +29428,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -29457,7 +29541,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -29531,7 +29615,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -29620,7 +29704,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -29696,7 +29780,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -29795,7 +29879,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -29857,7 +29941,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -30306,7 +30390,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 193, "cookies": false, "type": "", "demo": "users\/list.md", @@ -30380,7 +30464,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 184, "cookies": false, "type": "", "demo": "users\/create.md", @@ -30469,7 +30553,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 187, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -30555,7 +30639,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 185, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -30641,7 +30725,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 201, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -30710,7 +30794,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 224, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -30772,7 +30856,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 186, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -30858,7 +30942,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 189, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -30944,7 +31028,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 190, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -31060,7 +31144,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 191, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -31164,7 +31248,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -31270,7 +31354,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 194, "cookies": false, "type": "", "demo": "users\/get.md", @@ -31323,7 +31407,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 222, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -31385,7 +31469,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -31466,7 +31550,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 225, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -31549,7 +31633,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -31633,7 +31717,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 199, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -31708,7 +31792,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 198, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -31794,7 +31878,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 212, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -31928,7 +32012,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 217, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -32063,7 +32147,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 213, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -32181,7 +32265,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 214, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -32297,7 +32381,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 216, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -32413,7 +32497,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 215, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -32531,7 +32615,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 205, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -32612,7 +32696,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 206, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -32693,7 +32777,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 208, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -32774,7 +32858,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 195, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -32834,7 +32918,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 210, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -32915,7 +32999,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 197, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -32975,7 +33059,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 218, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -33028,7 +33112,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 221, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -33083,7 +33167,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 220, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -33155,7 +33239,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -33236,7 +33320,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 200, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -33310,7 +33394,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 192, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -33421,7 +33505,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 196, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -33492,7 +33576,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 211, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -33582,7 +33666,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 223, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -33655,7 +33739,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 219, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -33738,7 +33822,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 209, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -33819,7 +33903,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 204, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -36135,9 +36219,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "nullable": true } }, @@ -36159,7 +36246,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "attributeLine": { @@ -36208,9 +36298,18 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[0, 0], [1, 1]]", + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], "nullable": true } }, @@ -36232,7 +36331,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "attributePolygon": { @@ -36281,9 +36389,30 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]", + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], "nullable": true } }, @@ -36305,7 +36434,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "table": { @@ -37414,9 +37564,12 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]", + "x-example": [ + 0, + 0 + ], "nullable": true } }, @@ -37438,7 +37591,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "columnLine": { @@ -37487,9 +37643,18 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[0, 0], [1, 1]]", + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], "nullable": true } }, @@ -37511,7 +37676,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "columnPolygon": { @@ -37560,9 +37734,30 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]", + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], "nullable": true } }, @@ -37584,7 +37779,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "index": { diff --git a/app/config/specs/swagger2-1.8.x-client.json b/app/config/specs/swagger2-1.8.x-client.json index ea98bd764b..42ccc1b896 100644 --- a/app/config/specs/swagger2-1.8.x-client.json +++ b/app/config/specs/swagger2-1.8.x-client.json @@ -1979,7 +1979,7 @@ "type": "object", "description": "Prefs key-value JSON object.", "default": {}, - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -4972,7 +4972,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -5057,7 +5057,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -5154,7 +5154,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -5204,7 +5204,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -5297,7 +5297,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -5440,7 +5440,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -5540,7 +5540,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -5623,7 +5623,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -5735,7 +5735,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -6106,7 +6106,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -6179,7 +6179,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -6660,7 +6660,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -6744,7 +6744,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -6814,7 +6814,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -6896,7 +6896,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -6985,7 +6985,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -7054,7 +7054,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -7142,7 +7142,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -7211,7 +7211,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -7289,7 +7289,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -7495,7 +7495,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -7573,7 +7573,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -7657,7 +7657,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -7749,7 +7749,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -7799,7 +7799,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -7891,7 +7891,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -8025,7 +8025,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -8124,7 +8124,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -8206,7 +8206,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -8317,7 +8317,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -8426,7 +8426,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -8500,7 +8500,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -8589,7 +8589,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -8650,7 +8650,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -8724,7 +8724,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -8785,7 +8785,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -8867,7 +8867,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -8979,7 +8979,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -9048,7 +9048,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -9133,7 +9133,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -9204,7 +9204,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -9298,7 +9298,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -9359,7 +9359,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 03435662b0..393c2ce9c8 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -2009,7 +2009,7 @@ "type": "object", "description": "Prefs key-value JSON object.", "default": {}, - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -4989,7 +4989,7 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 257, + "weight": 256, "cookies": false, "type": "", "demo": "assistant\/chat.md", @@ -5123,7 +5123,7 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 256, + "weight": 255, "cookies": false, "type": "", "demo": "console\/variables.md", @@ -5171,7 +5171,7 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 321, + "weight": 320, "cookies": false, "type": "", "demo": "databases\/list.md", @@ -5274,7 +5274,7 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 317, + "weight": 316, "cookies": false, "type": "", "demo": "databases\/create.md", @@ -5391,7 +5391,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 324, + "weight": 323, "cookies": false, "type": "", "demo": "databases\/list-usage.md", @@ -5491,7 +5491,7 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 318, + "weight": 317, "cookies": false, "type": "", "demo": "databases\/get.md", @@ -5582,7 +5582,7 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 319, + "weight": 318, "cookies": false, "type": "", "demo": "databases\/update.md", @@ -5695,7 +5695,7 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 320, + "weight": 319, "cookies": false, "type": "", "demo": "databases\/delete.md", @@ -5785,7 +5785,7 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 329, + "weight": 328, "cookies": false, "type": "", "demo": "databases\/list-collections.md", @@ -5869,7 +5869,7 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 325, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/create-collection.md", @@ -5978,7 +5978,7 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 326, + "weight": 325, "cookies": false, "type": "", "demo": "databases\/get-collection.md", @@ -6049,7 +6049,7 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 327, + "weight": 326, "cookies": false, "type": "", "demo": "databases\/update-collection.md", @@ -6154,7 +6154,7 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 328, + "weight": 327, "cookies": false, "type": "", "demo": "databases\/delete-collection.md", @@ -6225,7 +6225,7 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 346, + "weight": 345, "cookies": false, "type": "", "demo": "databases\/list-attributes.md", @@ -6310,7 +6310,7 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 346, "cookies": false, "type": "", "demo": "databases\/create-boolean-attribute.md", @@ -6420,7 +6420,7 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 348, + "weight": 347, "cookies": false, "type": "", "demo": "databases\/update-boolean-attribute.md", @@ -6532,7 +6532,7 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 348, "cookies": false, "type": "", "demo": "databases\/create-datetime-attribute.md", @@ -6642,7 +6642,7 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 350, + "weight": 349, "cookies": false, "type": "", "demo": "databases\/update-datetime-attribute.md", @@ -6754,7 +6754,7 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 350, "cookies": false, "type": "", "demo": "databases\/create-email-attribute.md", @@ -6864,7 +6864,7 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 352, + "weight": 351, "cookies": false, "type": "", "demo": "databases\/update-email-attribute.md", @@ -6976,7 +6976,7 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 352, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", @@ -7096,7 +7096,7 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 354, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/update-enum-attribute.md", @@ -7218,7 +7218,7 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 354, "cookies": false, "type": "", "demo": "databases\/create-float-attribute.md", @@ -7340,7 +7340,7 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 356, + "weight": 355, "cookies": false, "type": "", "demo": "databases\/update-float-attribute.md", @@ -7464,7 +7464,7 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 356, "cookies": false, "type": "", "demo": "databases\/create-integer-attribute.md", @@ -7586,7 +7586,7 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 358, + "weight": 357, "cookies": false, "type": "", "demo": "databases\/update-integer-attribute.md", @@ -7710,7 +7710,7 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 359, + "weight": 358, "cookies": false, "type": "", "demo": "databases\/create-ip-attribute.md", @@ -7820,7 +7820,7 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 360, + "weight": 359, "cookies": false, "type": "", "demo": "databases\/update-ip-attribute.md", @@ -7932,7 +7932,7 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 361, + "weight": 360, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", @@ -7995,10 +7995,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -8037,7 +8037,7 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 362, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", @@ -8101,10 +8101,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -8148,7 +8148,7 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 363, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", @@ -8211,10 +8211,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -8253,7 +8253,7 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 364, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", @@ -8317,10 +8317,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -8364,7 +8364,7 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", @@ -8427,10 +8427,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -8469,7 +8469,7 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 366, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", @@ -8533,10 +8533,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -8580,7 +8580,7 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/create-relationship-attribute.md", @@ -8717,7 +8717,7 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 369, + "weight": 368, "cookies": false, "type": "", "demo": "databases\/create-string-attribute.md", @@ -8840,7 +8840,7 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 370, + "weight": 369, "cookies": false, "type": "", "demo": "databases\/update-string-attribute.md", @@ -8958,7 +8958,7 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 370, "cookies": false, "type": "", "demo": "databases\/create-url-attribute.md", @@ -9068,7 +9068,7 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 372, + "weight": 371, "cookies": false, "type": "", "demo": "databases\/update-url-attribute.md", @@ -9209,7 +9209,7 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 344, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/get-attribute.md", @@ -9282,7 +9282,7 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 345, + "weight": 344, "cookies": false, "type": "", "demo": "databases\/delete-attribute.md", @@ -9362,7 +9362,7 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 368, + "weight": 367, "cookies": false, "type": "", "demo": "databases\/update-relationship-attribute.md", @@ -9468,7 +9468,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -9553,7 +9553,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -9680,7 +9680,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -9730,7 +9730,7 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 337, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", @@ -9855,7 +9855,7 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 335, + "weight": 334, "cookies": false, "type": "", "demo": "databases\/update-documents.md", @@ -9951,7 +9951,7 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 339, + "weight": 338, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", @@ -10041,7 +10041,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -10134,7 +10134,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -10277,7 +10277,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -10377,7 +10377,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -10458,7 +10458,7 @@ "x-appwrite": { "method": "listDocumentLogs", "group": "logs", - "weight": 341, + "weight": 340, "cookies": false, "type": "", "demo": "databases\/list-document-logs.md", @@ -10550,7 +10550,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -10662,7 +10662,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -10772,7 +10772,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 376, + "weight": 375, "cookies": false, "type": "", "demo": "databases\/list-indexes.md", @@ -10855,7 +10855,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 373, + "weight": 372, "cookies": false, "type": "", "demo": "databases\/create-index.md", @@ -10987,7 +10987,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 374, + "weight": 373, "cookies": false, "type": "", "demo": "databases\/get-index.md", @@ -11060,7 +11060,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 375, + "weight": 374, "cookies": false, "type": "", "demo": "databases\/delete-index.md", @@ -11138,7 +11138,7 @@ "x-appwrite": { "method": "listCollectionLogs", "group": "collections", - "weight": 330, + "weight": 329, "cookies": false, "type": "", "demo": "databases\/list-collection-logs.md", @@ -11220,7 +11220,7 @@ "x-appwrite": { "method": "getCollectionUsage", "group": null, - "weight": 331, + "weight": 330, "cookies": false, "type": "", "demo": "databases\/get-collection-usage.md", @@ -11310,7 +11310,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 322, + "weight": 321, "cookies": false, "type": "", "demo": "databases\/list-logs.md", @@ -11413,7 +11413,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 323, + "weight": 322, "cookies": false, "type": "", "demo": "databases\/get-usage.md", @@ -14128,7 +14128,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -14201,7 +14201,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -15186,7 +15186,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "consumes": [], "produces": [ @@ -15943,7 +15943,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 309, + "weight": 308, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -16018,7 +16018,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 306, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -16176,7 +16176,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 313, + "weight": 312, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -16331,7 +16331,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 308, + "weight": 307, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -16526,7 +16526,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 315, + "weight": 314, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -16720,7 +16720,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 307, + "weight": 306, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -16906,7 +16906,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 314, + "weight": 313, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -17086,7 +17086,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 312, + "weight": 311, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -17141,7 +17141,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 316, + "weight": 315, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -17201,7 +17201,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 310, + "weight": 309, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -17273,7 +17273,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 311, + "weight": 310, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -17345,7 +17345,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 281, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -17420,7 +17420,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 280, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -17605,7 +17605,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 293, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -17786,7 +17786,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 279, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -17939,7 +17939,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 292, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -18088,7 +18088,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 271, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -18215,7 +18215,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 284, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -18340,7 +18340,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 274, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -18443,7 +18443,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 287, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -18544,7 +18544,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 272, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -18659,7 +18659,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 285, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -18772,7 +18772,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 273, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -19015,7 +19015,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 286, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -19251,7 +19251,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 275, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -19354,7 +19354,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 288, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -19455,7 +19455,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 276, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -19558,7 +19558,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 289, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -19659,7 +19659,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 277, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -19762,7 +19762,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 290, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -19863,7 +19863,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 278, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -19966,7 +19966,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 291, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -20065,7 +20065,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 283, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -20120,7 +20120,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 294, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -20180,7 +20180,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 282, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -20252,7 +20252,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 303, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -20324,7 +20324,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 296, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -20397,7 +20397,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 295, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -20485,7 +20485,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 298, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -20545,7 +20545,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 299, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -20624,7 +20624,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 300, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -20684,7 +20684,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 297, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -20756,7 +20756,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 302, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -20837,7 +20837,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -20924,7 +20924,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 304, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -20987,7 +20987,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -21057,7 +21057,7 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 263, + "weight": 262, "cookies": false, "type": "", "demo": "migrations\/list.md", @@ -21130,7 +21130,7 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 258, + "weight": 257, "cookies": false, "type": "", "demo": "migrations\/create-appwrite-migration.md", @@ -21222,7 +21222,7 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 265, + "weight": 264, "cookies": false, "type": "", "demo": "migrations\/get-appwrite-report.md", @@ -21310,7 +21310,7 @@ "x-appwrite": { "method": "createCsvMigration", "group": null, - "weight": 262, + "weight": 261, "cookies": false, "type": "", "demo": "migrations\/create-csv-migration.md", @@ -21400,7 +21400,7 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 259, + "weight": 258, "cookies": false, "type": "", "demo": "migrations\/create-firebase-migration.md", @@ -21478,7 +21478,7 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 266, + "weight": 265, "cookies": false, "type": "", "demo": "migrations\/get-firebase-report.md", @@ -21549,7 +21549,7 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 261, + "weight": 260, "cookies": false, "type": "", "demo": "migrations\/create-n-host-migration.md", @@ -21668,7 +21668,7 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 268, + "weight": 267, "cookies": false, "type": "", "demo": "migrations\/get-n-host-report.md", @@ -21788,7 +21788,7 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 260, + "weight": 259, "cookies": false, "type": "", "demo": "migrations\/create-supabase-migration.md", @@ -21900,7 +21900,7 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 267, + "weight": 266, "cookies": false, "type": "", "demo": "migrations\/get-supabase-report.md", @@ -22011,7 +22011,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 264, + "weight": 263, "cookies": false, "type": "", "demo": "migrations\/get.md", @@ -22069,7 +22069,7 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 269, + "weight": 268, "cookies": false, "type": "", "demo": "migrations\/retry.md", @@ -22122,7 +22122,7 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 270, + "weight": 269, "cookies": false, "type": "", "demo": "migrations\/delete.md", @@ -22180,7 +22180,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 149, + "weight": 148, "cookies": false, "type": "", "demo": "project\/get-usage.md", @@ -22262,7 +22262,7 @@ "x-appwrite": { "method": "listVariables", "group": null, - "weight": 151, + "weight": 150, "cookies": false, "type": "", "demo": "project\/list-variables.md", @@ -22310,7 +22310,7 @@ "x-appwrite": { "method": "createVariable", "group": null, - "weight": 150, + "weight": 149, "cookies": false, "type": "", "demo": "project\/create-variable.md", @@ -22391,7 +22391,7 @@ "x-appwrite": { "method": "getVariable", "group": null, - "weight": 152, + "weight": 151, "cookies": false, "type": "", "demo": "project\/get-variable.md", @@ -22449,7 +22449,7 @@ "x-appwrite": { "method": "updateVariable", "group": null, - "weight": 153, + "weight": 152, "cookies": false, "type": "", "demo": "project\/update-variable.md", @@ -22532,7 +22532,7 @@ "x-appwrite": { "method": "deleteVariable", "group": null, - "weight": 154, + "weight": 153, "cookies": false, "type": "", "demo": "project\/delete-variable.md", @@ -22590,11 +22590,11 @@ "x-appwrite": { "method": "list", "group": "projects", - "weight": 103, + "weight": 440, "cookies": false, "type": "", "demo": "projects\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all projects. You can use the query params to filter your results. ", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -22808,7 +22808,7 @@ "x-appwrite": { "method": "get", "group": "projects", - "weight": 104, + "weight": 103, "cookies": false, "type": "", "demo": "projects\/get.md", @@ -22866,7 +22866,7 @@ "x-appwrite": { "method": "update", "group": "projects", - "weight": 105, + "weight": 104, "cookies": false, "type": "", "demo": "projects\/update.md", @@ -22991,7 +22991,7 @@ "x-appwrite": { "method": "delete", "group": "projects", - "weight": 122, + "weight": 121, "cookies": false, "type": "", "demo": "projects\/delete.md", @@ -23051,7 +23051,7 @@ "x-appwrite": { "method": "updateApiStatus", "group": "projects", - "weight": 109, + "weight": 108, "cookies": false, "type": "", "demo": "projects\/update-api-status.md", @@ -23205,7 +23205,7 @@ "x-appwrite": { "method": "updateApiStatusAll", "group": "projects", - "weight": 110, + "weight": 109, "cookies": false, "type": "", "demo": "projects\/update-api-status-all.md", @@ -23341,7 +23341,7 @@ "x-appwrite": { "method": "updateAuthDuration", "group": "auth", - "weight": 115, + "weight": 114, "cookies": false, "type": "", "demo": "projects\/update-auth-duration.md", @@ -23419,7 +23419,7 @@ "x-appwrite": { "method": "updateAuthLimit", "group": "auth", - "weight": 114, + "weight": 113, "cookies": false, "type": "", "demo": "projects\/update-auth-limit.md", @@ -23497,7 +23497,7 @@ "x-appwrite": { "method": "updateAuthSessionsLimit", "group": "auth", - "weight": 120, + "weight": 119, "cookies": false, "type": "", "demo": "projects\/update-auth-sessions-limit.md", @@ -23575,7 +23575,7 @@ "x-appwrite": { "method": "updateMembershipsPrivacy", "group": "auth", - "weight": 113, + "weight": 112, "cookies": false, "type": "", "demo": "projects\/update-memberships-privacy.md", @@ -23667,7 +23667,7 @@ "x-appwrite": { "method": "updateMockNumbers", "group": "auth", - "weight": 121, + "weight": 120, "cookies": false, "type": "", "demo": "projects\/update-mock-numbers.md", @@ -23748,7 +23748,7 @@ "x-appwrite": { "method": "updateAuthPasswordDictionary", "group": "auth", - "weight": 118, + "weight": 117, "cookies": false, "type": "", "demo": "projects\/update-auth-password-dictionary.md", @@ -23826,7 +23826,7 @@ "x-appwrite": { "method": "updateAuthPasswordHistory", "group": "auth", - "weight": 117, + "weight": 116, "cookies": false, "type": "", "demo": "projects\/update-auth-password-history.md", @@ -23904,7 +23904,7 @@ "x-appwrite": { "method": "updatePersonalDataCheck", "group": "auth", - "weight": 119, + "weight": 118, "cookies": false, "type": "", "demo": "projects\/update-personal-data-check.md", @@ -23982,7 +23982,7 @@ "x-appwrite": { "method": "updateSessionAlerts", "group": "auth", - "weight": 112, + "weight": 111, "cookies": false, "type": "", "demo": "projects\/update-session-alerts.md", @@ -24060,7 +24060,7 @@ "x-appwrite": { "method": "updateSessionInvalidation", "group": "auth", - "weight": 148, + "weight": 147, "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", @@ -24138,7 +24138,7 @@ "x-appwrite": { "method": "updateAuthStatus", "group": "auth", - "weight": 116, + "weight": 115, "cookies": false, "type": "", "demo": "projects\/update-auth-status.md", @@ -24233,7 +24233,7 @@ "x-appwrite": { "method": "listDevKeys", "group": "devKeys", - "weight": 439, + "weight": 438, "cookies": false, "type": "", "demo": "projects\/list-dev-keys.md", @@ -24303,7 +24303,7 @@ "x-appwrite": { "method": "createDevKey", "group": "devKeys", - "weight": 436, + "weight": 435, "cookies": false, "type": "", "demo": "projects\/create-dev-key.md", @@ -24386,7 +24386,7 @@ "x-appwrite": { "method": "getDevKey", "group": "devKeys", - "weight": 438, + "weight": 437, "cookies": false, "type": "", "demo": "projects\/get-dev-key.md", @@ -24452,7 +24452,7 @@ "x-appwrite": { "method": "updateDevKey", "group": "devKeys", - "weight": 437, + "weight": 436, "cookies": false, "type": "", "demo": "projects\/update-dev-key.md", @@ -24538,7 +24538,7 @@ "x-appwrite": { "method": "deleteDevKey", "group": "devKeys", - "weight": 440, + "weight": 439, "cookies": false, "type": "", "demo": "projects\/delete-dev-key.md", @@ -24606,7 +24606,7 @@ "x-appwrite": { "method": "createJWT", "group": "auth", - "weight": 134, + "weight": 133, "cookies": false, "type": "", "demo": "projects\/create-jwt.md", @@ -24691,7 +24691,7 @@ "x-appwrite": { "method": "listKeys", "group": "keys", - "weight": 130, + "weight": 129, "cookies": false, "type": "", "demo": "projects\/list-keys.md", @@ -24749,7 +24749,7 @@ "x-appwrite": { "method": "createKey", "group": "keys", - "weight": 129, + "weight": 128, "cookies": false, "type": "", "demo": "projects\/create-key.md", @@ -24841,7 +24841,7 @@ "x-appwrite": { "method": "getKey", "group": "keys", - "weight": 131, + "weight": 130, "cookies": false, "type": "", "demo": "projects\/get-key.md", @@ -24907,7 +24907,7 @@ "x-appwrite": { "method": "updateKey", "group": "keys", - "weight": 132, + "weight": 131, "cookies": false, "type": "", "demo": "projects\/update-key.md", @@ -25002,7 +25002,7 @@ "x-appwrite": { "method": "deleteKey", "group": "keys", - "weight": 133, + "weight": 132, "cookies": false, "type": "", "demo": "projects\/delete-key.md", @@ -25070,7 +25070,7 @@ "x-appwrite": { "method": "updateOAuth2", "group": "auth", - "weight": 111, + "weight": 110, "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.md", @@ -25208,7 +25208,7 @@ "x-appwrite": { "method": "listPlatforms", "group": "platforms", - "weight": 136, + "weight": 135, "cookies": false, "type": "", "demo": "projects\/list-platforms.md", @@ -25266,7 +25266,7 @@ "x-appwrite": { "method": "createPlatform", "group": "platforms", - "weight": 135, + "weight": 134, "cookies": false, "type": "", "demo": "projects\/create-platform.md", @@ -25386,7 +25386,7 @@ "x-appwrite": { "method": "getPlatform", "group": "platforms", - "weight": 137, + "weight": 136, "cookies": false, "type": "", "demo": "projects\/get-platform.md", @@ -25452,7 +25452,7 @@ "x-appwrite": { "method": "updatePlatform", "group": "platforms", - "weight": 138, + "weight": 137, "cookies": false, "type": "", "demo": "projects\/update-platform.md", @@ -25549,7 +25549,7 @@ "x-appwrite": { "method": "deletePlatform", "group": "platforms", - "weight": 139, + "weight": 138, "cookies": false, "type": "", "demo": "projects\/delete-platform.md", @@ -25617,7 +25617,7 @@ "x-appwrite": { "method": "updateServiceStatus", "group": "projects", - "weight": 107, + "weight": 106, "cookies": false, "type": "", "demo": "projects\/update-service-status.md", @@ -25719,7 +25719,7 @@ "x-appwrite": { "method": "updateServiceStatusAll", "group": "projects", - "weight": 108, + "weight": 107, "cookies": false, "type": "", "demo": "projects\/update-service-status-all.md", @@ -25797,7 +25797,7 @@ "x-appwrite": { "method": "updateSmtp", "group": "templates", - "weight": 140, + "weight": 139, "cookies": false, "type": "", "demo": "projects\/update-smtp.md", @@ -26000,7 +26000,7 @@ "x-appwrite": { "method": "createSmtpTest", "group": "templates", - "weight": 141, + "weight": 140, "cookies": false, "type": "", "demo": "projects\/create-smtp-test.md", @@ -26216,7 +26216,7 @@ "x-appwrite": { "method": "updateTeam", "group": "projects", - "weight": 106, + "weight": 105, "cookies": false, "type": "", "demo": "projects\/update-team.md", @@ -26292,7 +26292,7 @@ "x-appwrite": { "method": "getEmailTemplate", "group": "templates", - "weight": 143, + "weight": 142, "cookies": false, "type": "", "demo": "projects\/get-email-template.md", @@ -26512,7 +26512,7 @@ "x-appwrite": { "method": "updateEmailTemplate", "group": "templates", - "weight": 145, + "weight": 144, "cookies": false, "type": "", "demo": "projects\/update-email-template.md", @@ -26775,7 +26775,7 @@ "x-appwrite": { "method": "deleteEmailTemplate", "group": "templates", - "weight": 147, + "weight": 146, "cookies": false, "type": "", "demo": "projects\/delete-email-template.md", @@ -26995,7 +26995,7 @@ "x-appwrite": { "method": "getSmsTemplate", "group": "templates", - "weight": 142, + "weight": 141, "cookies": false, "type": "", "demo": "projects\/get-sms-template.md", @@ -27274,7 +27274,7 @@ "x-appwrite": { "method": "updateSmsTemplate", "group": "templates", - "weight": 144, + "weight": 143, "cookies": false, "type": "", "demo": "projects\/update-sms-template.md", @@ -27575,7 +27575,7 @@ "x-appwrite": { "method": "deleteSmsTemplate", "group": "templates", - "weight": 146, + "weight": 145, "cookies": false, "type": "", "demo": "projects\/delete-sms-template.md", @@ -27854,7 +27854,7 @@ "x-appwrite": { "method": "listWebhooks", "group": "webhooks", - "weight": 124, + "weight": 123, "cookies": false, "type": "", "demo": "projects\/list-webhooks.md", @@ -27912,7 +27912,7 @@ "x-appwrite": { "method": "createWebhook", "group": "webhooks", - "weight": 123, + "weight": 122, "cookies": false, "type": "", "demo": "projects\/create-webhook.md", @@ -28030,7 +28030,7 @@ "x-appwrite": { "method": "getWebhook", "group": "webhooks", - "weight": 125, + "weight": 124, "cookies": false, "type": "", "demo": "projects\/get-webhook.md", @@ -28096,7 +28096,7 @@ "x-appwrite": { "method": "updateWebhook", "group": "webhooks", - "weight": 126, + "weight": 125, "cookies": false, "type": "", "demo": "projects\/update-webhook.md", @@ -28217,7 +28217,7 @@ "x-appwrite": { "method": "deleteWebhook", "group": "webhooks", - "weight": 128, + "weight": 127, "cookies": false, "type": "", "demo": "projects\/delete-webhook.md", @@ -28285,7 +28285,7 @@ "x-appwrite": { "method": "updateWebhookSignature", "group": "webhooks", - "weight": 127, + "weight": 126, "cookies": false, "type": "", "demo": "projects\/update-webhook-signature.md", @@ -28351,7 +28351,7 @@ "x-appwrite": { "method": "listRules", "group": null, - "weight": 241, + "weight": 240, "cookies": false, "type": "", "demo": "proxy\/list-rules.md", @@ -28778,7 +28778,7 @@ "x-appwrite": { "method": "getRule", "group": null, - "weight": 242, + "weight": 241, "cookies": false, "type": "", "demo": "proxy\/get-rule.md", @@ -28831,7 +28831,7 @@ "x-appwrite": { "method": "deleteRule", "group": null, - "weight": 243, + "weight": 242, "cookies": false, "type": "", "demo": "proxy\/delete-rule.md", @@ -28891,7 +28891,7 @@ "x-appwrite": { "method": "updateRuleVerification", "group": null, - "weight": 244, + "weight": 243, "cookies": false, "type": "", "demo": "proxy\/update-rule-verification.md", @@ -31466,7 +31466,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 155, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -31538,7 +31538,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 154, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -31675,7 +31675,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 156, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -31734,7 +31734,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -31867,7 +31867,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -31926,7 +31926,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -32008,7 +32008,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -32097,7 +32097,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -32166,7 +32166,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -32254,7 +32254,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -32323,7 +32323,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -32401,7 +32401,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -32607,7 +32607,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -32685,7 +32685,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 169, + "weight": 168, "cookies": false, "type": "", "demo": "storage\/get-usage.md", @@ -32755,7 +32755,7 @@ "x-appwrite": { "method": "getBucketUsage", "group": null, - "weight": 170, + "weight": 169, "cookies": false, "type": "", "demo": "storage\/get-bucket-usage.md", @@ -32833,7 +32833,7 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 381, + "weight": 380, "cookies": false, "type": "", "demo": "tablesdb\/list.md", @@ -32905,7 +32905,7 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 377, + "weight": 376, "cookies": false, "type": "", "demo": "tablesdb\/create.md", @@ -32987,7 +32987,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 383, + "weight": 382, "cookies": false, "type": "", "demo": "tablesdb\/list-usage.md", @@ -33082,7 +33082,7 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 378, + "weight": 377, "cookies": false, "type": "", "demo": "tablesdb\/get.md", @@ -33141,7 +33141,7 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 379, + "weight": 378, "cookies": false, "type": "", "demo": "tablesdb\/update.md", @@ -33219,7 +33219,7 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 380, + "weight": 379, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", @@ -33278,7 +33278,7 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 388, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", @@ -33361,7 +33361,7 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 384, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", @@ -33469,7 +33469,7 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 385, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", @@ -33539,7 +33539,7 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 386, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", @@ -33643,7 +33643,7 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 387, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", @@ -33713,7 +33713,7 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 393, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", @@ -33797,7 +33797,7 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 394, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", @@ -33906,7 +33906,7 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 395, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", @@ -34017,7 +34017,7 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 396, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", @@ -34126,7 +34126,7 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 397, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", @@ -34237,7 +34237,7 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 398, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", @@ -34346,7 +34346,7 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 399, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", @@ -34457,7 +34457,7 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 400, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", @@ -34576,7 +34576,7 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 401, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", @@ -34697,7 +34697,7 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 402, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", @@ -34818,7 +34818,7 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 403, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", @@ -34941,7 +34941,7 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 404, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", @@ -35062,7 +35062,7 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 405, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", @@ -35185,7 +35185,7 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 406, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", @@ -35294,7 +35294,7 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 407, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", @@ -35405,7 +35405,7 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 408, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", @@ -35467,10 +35467,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -35509,7 +35509,7 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 409, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", @@ -35572,10 +35572,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -35619,7 +35619,7 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 410, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", @@ -35681,10 +35681,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -35723,7 +35723,7 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 411, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", @@ -35786,10 +35786,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -35833,7 +35833,7 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 412, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", @@ -35895,10 +35895,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -35937,7 +35937,7 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 413, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", @@ -36000,10 +36000,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -36047,7 +36047,7 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 414, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", @@ -36183,7 +36183,7 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 416, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", @@ -36305,7 +36305,7 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 417, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", @@ -36422,7 +36422,7 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 418, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", @@ -36531,7 +36531,7 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 419, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", @@ -36671,7 +36671,7 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 391, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", @@ -36743,7 +36743,7 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 392, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", @@ -36822,7 +36822,7 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 415, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", @@ -36927,7 +36927,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 423, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", @@ -37009,7 +37009,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 420, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", @@ -37140,7 +37140,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 421, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", @@ -37212,7 +37212,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 422, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", @@ -37289,7 +37289,7 @@ "x-appwrite": { "method": "listTableLogs", "group": "tables", - "weight": 389, + "weight": 388, "cookies": false, "type": "", "demo": "tablesdb\/list-table-logs.md", @@ -37370,7 +37370,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -37454,7 +37454,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -37572,7 +37572,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -37622,7 +37622,7 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 429, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", @@ -37742,7 +37742,7 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 427, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", @@ -37837,7 +37837,7 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 431, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", @@ -37926,7 +37926,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -38018,7 +38018,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -38152,7 +38152,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -38251,7 +38251,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -38331,7 +38331,7 @@ "x-appwrite": { "method": "listRowLogs", "group": "logs", - "weight": 433, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/list-row-logs.md", @@ -38422,7 +38422,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -38533,7 +38533,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -38642,7 +38642,7 @@ "x-appwrite": { "method": "getTableUsage", "group": null, - "weight": 390, + "weight": 389, "cookies": false, "type": "", "demo": "tablesdb\/get-table-usage.md", @@ -38731,7 +38731,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 382, + "weight": 381, "cookies": false, "type": "", "demo": "tablesdb\/get-usage.md", @@ -38837,7 +38837,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -38911,7 +38911,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -39000,7 +39000,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -39061,7 +39061,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -39135,7 +39135,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -39196,7 +39196,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 184, + "weight": 183, "cookies": false, "type": "", "demo": "teams\/list-logs.md", @@ -39266,7 +39266,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -39348,7 +39348,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -39460,7 +39460,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -39529,7 +39529,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -39614,7 +39614,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -39685,7 +39685,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -39778,7 +39778,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -39838,7 +39838,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -40271,7 +40271,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 193, "cookies": false, "type": "", "demo": "users\/list.md", @@ -40343,7 +40343,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 184, "cookies": false, "type": "", "demo": "users\/create.md", @@ -40438,7 +40438,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 187, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -40529,7 +40529,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 185, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -40618,7 +40618,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 201, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -40687,7 +40687,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 224, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -40748,7 +40748,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 186, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -40839,7 +40839,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 189, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -40930,7 +40930,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 190, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -41056,7 +41056,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 191, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -41168,7 +41168,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -41278,7 +41278,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 227, + "weight": 226, "cookies": false, "type": "", "demo": "users\/get-usage.md", @@ -41348,7 +41348,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 194, "cookies": false, "type": "", "demo": "users\/get.md", @@ -41402,7 +41402,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 222, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -41463,7 +41463,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -41542,7 +41542,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 225, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -41624,7 +41624,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -41704,7 +41704,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 199, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -41775,7 +41775,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 198, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -41857,7 +41857,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 212, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -41989,7 +41989,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 217, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -42117,7 +42117,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 213, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -42230,7 +42230,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 214, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -42343,7 +42343,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 216, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -42456,7 +42456,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 215, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -42571,7 +42571,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 205, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -42650,7 +42650,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 206, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -42729,7 +42729,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 208, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -42806,7 +42806,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 195, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -42865,7 +42865,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 210, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -42942,7 +42942,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 197, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -43001,7 +43001,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 218, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -43055,7 +43055,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 221, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -43111,7 +43111,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 220, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -43180,7 +43180,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -43257,7 +43257,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 200, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -43329,7 +43329,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 192, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -43440,7 +43440,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 196, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -43508,7 +43508,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 211, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -43598,7 +43598,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 223, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -43668,7 +43668,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 219, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -43750,7 +43750,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 209, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -43829,7 +43829,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 204, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -43908,7 +43908,7 @@ "x-appwrite": { "method": "createRepositoryDetection", "group": "repositories", - "weight": 231, + "weight": 230, "cookies": false, "type": "", "demo": "vcs\/create-repository-detection.md", @@ -44003,7 +44003,7 @@ "x-appwrite": { "method": "listRepositories", "group": "repositories", - "weight": 232, + "weight": 231, "cookies": false, "type": "", "demo": "vcs\/list-repositories.md", @@ -44084,7 +44084,7 @@ "x-appwrite": { "method": "createRepository", "group": "repositories", - "weight": 233, + "weight": 232, "cookies": false, "type": "", "demo": "vcs\/create-repository.md", @@ -44167,7 +44167,7 @@ "x-appwrite": { "method": "getRepository", "group": "repositories", - "weight": 234, + "weight": 233, "cookies": false, "type": "", "demo": "vcs\/get-repository.md", @@ -44233,7 +44233,7 @@ "x-appwrite": { "method": "listRepositoryBranches", "group": "repositories", - "weight": 235, + "weight": 234, "cookies": false, "type": "", "demo": "vcs\/list-repository-branches.md", @@ -44299,7 +44299,7 @@ "x-appwrite": { "method": "getRepositoryContents", "group": "repositories", - "weight": 230, + "weight": 229, "cookies": false, "type": "", "demo": "vcs\/get-repository-contents.md", @@ -44382,7 +44382,7 @@ "x-appwrite": { "method": "updateExternalDeployments", "group": "repositories", - "weight": 240, + "weight": 239, "cookies": false, "type": "", "demo": "vcs\/update-external-deployments.md", @@ -44466,7 +44466,7 @@ "x-appwrite": { "method": "listInstallations", "group": "installations", - "weight": 237, + "weight": 236, "cookies": false, "type": "", "demo": "vcs\/list-installations.md", @@ -44537,7 +44537,7 @@ "x-appwrite": { "method": "getInstallation", "group": "installations", - "weight": 238, + "weight": 237, "cookies": false, "type": "", "demo": "vcs\/get-installation.md", @@ -44590,7 +44590,7 @@ "x-appwrite": { "method": "deleteInstallation", "group": "installations", - "weight": 239, + "weight": 238, "cookies": false, "type": "", "demo": "vcs\/delete-installation.md", @@ -47286,10 +47286,13 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[0, 0]" + "x-example": [ + 0, + 0 + ], + "x-nullable": true } }, "required": [ @@ -47310,7 +47313,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "attributeLine": { @@ -47359,10 +47365,19 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[0, 0], [1, 1]]" + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], + "x-nullable": true } }, "required": [ @@ -47383,7 +47398,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "attributePolygon": { @@ -47432,10 +47456,31 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], + "x-nullable": true } }, "required": [ @@ -47456,7 +47501,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "table": { @@ -48566,10 +48632,13 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]" + "x-example": [ + 0, + 0 + ], + "x-nullable": true } }, "required": [ @@ -48590,7 +48659,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "columnLine": { @@ -48639,10 +48711,19 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[0, 0], [1, 1]]" + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], + "x-nullable": true } }, "required": [ @@ -48663,7 +48744,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "columnPolygon": { @@ -48712,10 +48802,31 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], + "x-nullable": true } }, "required": [ @@ -48736,7 +48847,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "index": { diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index 5fb2c27cb9..812598f516 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -2023,7 +2023,7 @@ "type": "object", "description": "Prefs key-value JSON object.", "default": {}, - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -4693,7 +4693,7 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 321, + "weight": 320, "cookies": false, "type": "", "demo": "databases\/list.md", @@ -4798,7 +4798,7 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 317, + "weight": 316, "cookies": false, "type": "", "demo": "databases\/create.md", @@ -4917,7 +4917,7 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 318, + "weight": 317, "cookies": false, "type": "", "demo": "databases\/get.md", @@ -5010,7 +5010,7 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 319, + "weight": 318, "cookies": false, "type": "", "demo": "databases\/update.md", @@ -5125,7 +5125,7 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 320, + "weight": 319, "cookies": false, "type": "", "demo": "databases\/delete.md", @@ -5217,7 +5217,7 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 329, + "weight": 328, "cookies": false, "type": "", "demo": "databases\/list-collections.md", @@ -5302,7 +5302,7 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 325, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/create-collection.md", @@ -5412,7 +5412,7 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 326, + "weight": 325, "cookies": false, "type": "", "demo": "databases\/get-collection.md", @@ -5484,7 +5484,7 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 327, + "weight": 326, "cookies": false, "type": "", "demo": "databases\/update-collection.md", @@ -5590,7 +5590,7 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 328, + "weight": 327, "cookies": false, "type": "", "demo": "databases\/delete-collection.md", @@ -5662,7 +5662,7 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 346, + "weight": 345, "cookies": false, "type": "", "demo": "databases\/list-attributes.md", @@ -5748,7 +5748,7 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 346, "cookies": false, "type": "", "demo": "databases\/create-boolean-attribute.md", @@ -5859,7 +5859,7 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 348, + "weight": 347, "cookies": false, "type": "", "demo": "databases\/update-boolean-attribute.md", @@ -5972,7 +5972,7 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 348, "cookies": false, "type": "", "demo": "databases\/create-datetime-attribute.md", @@ -6083,7 +6083,7 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 350, + "weight": 349, "cookies": false, "type": "", "demo": "databases\/update-datetime-attribute.md", @@ -6196,7 +6196,7 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 350, "cookies": false, "type": "", "demo": "databases\/create-email-attribute.md", @@ -6307,7 +6307,7 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 352, + "weight": 351, "cookies": false, "type": "", "demo": "databases\/update-email-attribute.md", @@ -6420,7 +6420,7 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 352, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", @@ -6541,7 +6541,7 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 354, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/update-enum-attribute.md", @@ -6664,7 +6664,7 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 354, "cookies": false, "type": "", "demo": "databases\/create-float-attribute.md", @@ -6787,7 +6787,7 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 356, + "weight": 355, "cookies": false, "type": "", "demo": "databases\/update-float-attribute.md", @@ -6912,7 +6912,7 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 356, "cookies": false, "type": "", "demo": "databases\/create-integer-attribute.md", @@ -7035,7 +7035,7 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 358, + "weight": 357, "cookies": false, "type": "", "demo": "databases\/update-integer-attribute.md", @@ -7160,7 +7160,7 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 359, + "weight": 358, "cookies": false, "type": "", "demo": "databases\/create-ip-attribute.md", @@ -7271,7 +7271,7 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 360, + "weight": 359, "cookies": false, "type": "", "demo": "databases\/update-ip-attribute.md", @@ -7384,7 +7384,7 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 361, + "weight": 360, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", @@ -7448,10 +7448,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -7490,7 +7490,7 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 362, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", @@ -7555,10 +7555,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -7602,7 +7602,7 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 363, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", @@ -7666,10 +7666,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -7708,7 +7708,7 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 364, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", @@ -7773,10 +7773,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -7820,7 +7820,7 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", @@ -7884,10 +7884,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -7926,7 +7926,7 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 366, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", @@ -7991,10 +7991,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -8038,7 +8038,7 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/create-relationship-attribute.md", @@ -8176,7 +8176,7 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 369, + "weight": 368, "cookies": false, "type": "", "demo": "databases\/create-string-attribute.md", @@ -8300,7 +8300,7 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 370, + "weight": 369, "cookies": false, "type": "", "demo": "databases\/update-string-attribute.md", @@ -8419,7 +8419,7 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 370, "cookies": false, "type": "", "demo": "databases\/create-url-attribute.md", @@ -8530,7 +8530,7 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 372, + "weight": 371, "cookies": false, "type": "", "demo": "databases\/update-url-attribute.md", @@ -8672,7 +8672,7 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 344, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/get-attribute.md", @@ -8746,7 +8746,7 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 345, + "weight": 344, "cookies": false, "type": "", "demo": "databases\/delete-attribute.md", @@ -8827,7 +8827,7 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 368, + "weight": 367, "cookies": false, "type": "", "demo": "databases\/update-relationship-attribute.md", @@ -8934,7 +8934,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -9021,7 +9021,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -9152,7 +9152,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -9202,7 +9202,7 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 337, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", @@ -9329,7 +9329,7 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 335, + "weight": 334, "cookies": false, "type": "", "demo": "databases\/update-documents.md", @@ -9426,7 +9426,7 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 339, + "weight": 338, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", @@ -9517,7 +9517,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -9612,7 +9612,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -9758,7 +9758,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -9860,7 +9860,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -9945,7 +9945,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -10059,7 +10059,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -10171,7 +10171,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 376, + "weight": 375, "cookies": false, "type": "", "demo": "databases\/list-indexes.md", @@ -10255,7 +10255,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 373, + "weight": 372, "cookies": false, "type": "", "demo": "databases\/create-index.md", @@ -10388,7 +10388,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 374, + "weight": 373, "cookies": false, "type": "", "demo": "databases\/get-index.md", @@ -10462,7 +10462,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 375, + "weight": 374, "cookies": false, "type": "", "demo": "databases\/delete-index.md", @@ -12874,7 +12874,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -12949,7 +12949,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -13952,7 +13952,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "consumes": [], "produces": [ @@ -14731,7 +14731,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 309, + "weight": 308, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -14807,7 +14807,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 306, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -14966,7 +14966,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 313, + "weight": 312, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -15122,7 +15122,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 308, + "weight": 307, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -15318,7 +15318,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 315, + "weight": 314, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -15513,7 +15513,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 307, + "weight": 306, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -15702,7 +15702,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 314, + "weight": 313, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -15885,7 +15885,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 312, + "weight": 311, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -15941,7 +15941,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 316, + "weight": 315, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -16002,7 +16002,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 310, + "weight": 309, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -16075,7 +16075,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 311, + "weight": 310, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -16148,7 +16148,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 281, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -16224,7 +16224,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 280, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -16412,7 +16412,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 293, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -16596,7 +16596,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 279, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -16752,7 +16752,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 292, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -16904,7 +16904,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 271, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -17032,7 +17032,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 284, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -17158,7 +17158,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 274, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -17262,7 +17262,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 287, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -17364,7 +17364,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 272, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -17480,7 +17480,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 285, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -17594,7 +17594,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 273, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -17840,7 +17840,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 286, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -18079,7 +18079,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 275, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -18183,7 +18183,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 288, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -18285,7 +18285,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 276, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -18389,7 +18389,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 289, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -18491,7 +18491,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 277, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -18595,7 +18595,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 290, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -18697,7 +18697,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 278, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -18801,7 +18801,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 291, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -18901,7 +18901,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 283, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -18957,7 +18957,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 294, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -19018,7 +19018,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 282, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -19091,7 +19091,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 303, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -19164,7 +19164,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 296, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -19238,7 +19238,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 295, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -19327,7 +19327,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 298, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -19388,7 +19388,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 299, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -19468,7 +19468,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 300, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -19529,7 +19529,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 297, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -19602,7 +19602,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 302, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -19684,7 +19684,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -19773,7 +19773,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 304, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -19837,7 +19837,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -22151,7 +22151,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 155, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -22224,7 +22224,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 154, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -22362,7 +22362,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 156, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -22422,7 +22422,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -22556,7 +22556,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -22616,7 +22616,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -22700,7 +22700,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -22791,7 +22791,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -22862,7 +22862,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -22952,7 +22952,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -23023,7 +23023,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -23103,7 +23103,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -23311,7 +23311,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -23391,7 +23391,7 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 381, + "weight": 380, "cookies": false, "type": "", "demo": "tablesdb\/list.md", @@ -23464,7 +23464,7 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 377, + "weight": 376, "cookies": false, "type": "", "demo": "tablesdb\/create.md", @@ -23547,7 +23547,7 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 378, + "weight": 377, "cookies": false, "type": "", "demo": "tablesdb\/get.md", @@ -23607,7 +23607,7 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 379, + "weight": 378, "cookies": false, "type": "", "demo": "tablesdb\/update.md", @@ -23686,7 +23686,7 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 380, + "weight": 379, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", @@ -23746,7 +23746,7 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 388, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", @@ -23830,7 +23830,7 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 384, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", @@ -23939,7 +23939,7 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 385, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", @@ -24010,7 +24010,7 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 386, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", @@ -24115,7 +24115,7 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 387, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", @@ -24186,7 +24186,7 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 393, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", @@ -24271,7 +24271,7 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 394, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", @@ -24381,7 +24381,7 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 395, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", @@ -24493,7 +24493,7 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 396, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", @@ -24603,7 +24603,7 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 397, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", @@ -24715,7 +24715,7 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 398, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", @@ -24825,7 +24825,7 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 399, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", @@ -24937,7 +24937,7 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 400, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", @@ -25057,7 +25057,7 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 401, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", @@ -25179,7 +25179,7 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 402, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", @@ -25301,7 +25301,7 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 403, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", @@ -25425,7 +25425,7 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 404, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", @@ -25547,7 +25547,7 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 405, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", @@ -25671,7 +25671,7 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 406, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", @@ -25781,7 +25781,7 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 407, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", @@ -25893,7 +25893,7 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 408, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", @@ -25956,10 +25956,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -25998,7 +25998,7 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 409, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", @@ -26062,10 +26062,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -26109,7 +26109,7 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 410, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", @@ -26172,10 +26172,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -26214,7 +26214,7 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 411, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", @@ -26278,10 +26278,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -26325,7 +26325,7 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 412, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", @@ -26388,10 +26388,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -26430,7 +26430,7 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 413, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", @@ -26494,10 +26494,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -26541,7 +26541,7 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 414, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", @@ -26678,7 +26678,7 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 416, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", @@ -26801,7 +26801,7 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 417, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", @@ -26919,7 +26919,7 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 418, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", @@ -27029,7 +27029,7 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 419, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", @@ -27170,7 +27170,7 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 391, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", @@ -27243,7 +27243,7 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 392, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", @@ -27323,7 +27323,7 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 415, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", @@ -27429,7 +27429,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 423, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", @@ -27512,7 +27512,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 420, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", @@ -27644,7 +27644,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 421, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", @@ -27717,7 +27717,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 422, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", @@ -27795,7 +27795,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -27881,7 +27881,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -28003,7 +28003,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -28053,7 +28053,7 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 429, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", @@ -28175,7 +28175,7 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 427, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", @@ -28271,7 +28271,7 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 431, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", @@ -28361,7 +28361,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -28455,7 +28455,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -28592,7 +28592,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -28693,7 +28693,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -28777,7 +28777,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -28890,7 +28890,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -29001,7 +29001,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -29077,7 +29077,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -29168,7 +29168,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -29231,7 +29231,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -29307,7 +29307,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -29370,7 +29370,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -29454,7 +29454,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -29568,7 +29568,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -29639,7 +29639,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -29726,7 +29726,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -29799,7 +29799,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -29894,7 +29894,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -29956,7 +29956,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -30396,7 +30396,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 193, "cookies": false, "type": "", "demo": "users\/list.md", @@ -30469,7 +30469,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 184, "cookies": false, "type": "", "demo": "users\/create.md", @@ -30565,7 +30565,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 187, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -30657,7 +30657,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 185, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -30747,7 +30747,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 201, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -30817,7 +30817,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 224, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -30879,7 +30879,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 186, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -30971,7 +30971,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 189, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -31063,7 +31063,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 190, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -31190,7 +31190,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 191, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -31303,7 +31303,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -31414,7 +31414,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 194, "cookies": false, "type": "", "demo": "users\/get.md", @@ -31469,7 +31469,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 222, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -31531,7 +31531,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -31611,7 +31611,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 225, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -31694,7 +31694,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -31775,7 +31775,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 199, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -31847,7 +31847,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 198, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -31930,7 +31930,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 212, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -32065,7 +32065,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 217, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -32196,7 +32196,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 213, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -32312,7 +32312,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 214, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -32428,7 +32428,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 216, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -32544,7 +32544,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 215, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -32662,7 +32662,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 205, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -32742,7 +32742,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 206, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -32822,7 +32822,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 208, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -32900,7 +32900,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 195, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -32960,7 +32960,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 210, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -33038,7 +33038,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 197, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -33098,7 +33098,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 218, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -33153,7 +33153,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 221, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -33210,7 +33210,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 220, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -33280,7 +33280,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -33358,7 +33358,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 200, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -33431,7 +33431,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 192, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -33543,7 +33543,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 196, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -33612,7 +33612,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 211, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -33703,7 +33703,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 223, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -33774,7 +33774,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 219, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -33857,7 +33857,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 209, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -33937,7 +33937,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 204, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -36247,10 +36247,13 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[0, 0]" + "x-example": [ + 0, + 0 + ], + "x-nullable": true } }, "required": [ @@ -36271,7 +36274,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "attributeLine": { @@ -36320,10 +36326,19 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[0, 0], [1, 1]]" + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], + "x-nullable": true } }, "required": [ @@ -36344,7 +36359,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "attributePolygon": { @@ -36393,10 +36417,31 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], + "x-nullable": true } }, "required": [ @@ -36417,7 +36462,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "table": { @@ -37527,10 +37593,13 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]" + "x-example": [ + 0, + 0 + ], + "x-nullable": true } }, "required": [ @@ -37551,7 +37620,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "columnLine": { @@ -37600,10 +37672,19 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[0, 0], [1, 1]]" + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], + "x-nullable": true } }, "required": [ @@ -37624,7 +37705,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "columnPolygon": { @@ -37673,10 +37763,31 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], + "x-nullable": true } }, "required": [ @@ -37697,7 +37808,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "index": { diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index ea98bd764b..42ccc1b896 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -1979,7 +1979,7 @@ "type": "object", "description": "Prefs key-value JSON object.", "default": {}, - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -4972,7 +4972,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -5057,7 +5057,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -5154,7 +5154,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -5204,7 +5204,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -5297,7 +5297,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -5440,7 +5440,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -5540,7 +5540,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -5623,7 +5623,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -5735,7 +5735,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -6106,7 +6106,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -6179,7 +6179,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -6660,7 +6660,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -6744,7 +6744,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -6814,7 +6814,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -6896,7 +6896,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -6985,7 +6985,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -7054,7 +7054,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -7142,7 +7142,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -7211,7 +7211,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -7289,7 +7289,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -7495,7 +7495,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -7573,7 +7573,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -7657,7 +7657,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -7749,7 +7749,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -7799,7 +7799,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -7891,7 +7891,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -8025,7 +8025,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -8124,7 +8124,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -8206,7 +8206,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -8317,7 +8317,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -8426,7 +8426,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -8500,7 +8500,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -8589,7 +8589,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -8650,7 +8650,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -8724,7 +8724,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -8785,7 +8785,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -8867,7 +8867,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -8979,7 +8979,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -9048,7 +9048,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -9133,7 +9133,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -9204,7 +9204,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -9298,7 +9298,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -9359,7 +9359,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 03435662b0..393c2ce9c8 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -2009,7 +2009,7 @@ "type": "object", "description": "Prefs key-value JSON object.", "default": {}, - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -4989,7 +4989,7 @@ "x-appwrite": { "method": "chat", "group": "console", - "weight": 257, + "weight": 256, "cookies": false, "type": "", "demo": "assistant\/chat.md", @@ -5123,7 +5123,7 @@ "x-appwrite": { "method": "variables", "group": "console", - "weight": 256, + "weight": 255, "cookies": false, "type": "", "demo": "console\/variables.md", @@ -5171,7 +5171,7 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 321, + "weight": 320, "cookies": false, "type": "", "demo": "databases\/list.md", @@ -5274,7 +5274,7 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 317, + "weight": 316, "cookies": false, "type": "", "demo": "databases\/create.md", @@ -5391,7 +5391,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 324, + "weight": 323, "cookies": false, "type": "", "demo": "databases\/list-usage.md", @@ -5491,7 +5491,7 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 318, + "weight": 317, "cookies": false, "type": "", "demo": "databases\/get.md", @@ -5582,7 +5582,7 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 319, + "weight": 318, "cookies": false, "type": "", "demo": "databases\/update.md", @@ -5695,7 +5695,7 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 320, + "weight": 319, "cookies": false, "type": "", "demo": "databases\/delete.md", @@ -5785,7 +5785,7 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 329, + "weight": 328, "cookies": false, "type": "", "demo": "databases\/list-collections.md", @@ -5869,7 +5869,7 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 325, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/create-collection.md", @@ -5978,7 +5978,7 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 326, + "weight": 325, "cookies": false, "type": "", "demo": "databases\/get-collection.md", @@ -6049,7 +6049,7 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 327, + "weight": 326, "cookies": false, "type": "", "demo": "databases\/update-collection.md", @@ -6154,7 +6154,7 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 328, + "weight": 327, "cookies": false, "type": "", "demo": "databases\/delete-collection.md", @@ -6225,7 +6225,7 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 346, + "weight": 345, "cookies": false, "type": "", "demo": "databases\/list-attributes.md", @@ -6310,7 +6310,7 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 346, "cookies": false, "type": "", "demo": "databases\/create-boolean-attribute.md", @@ -6420,7 +6420,7 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 348, + "weight": 347, "cookies": false, "type": "", "demo": "databases\/update-boolean-attribute.md", @@ -6532,7 +6532,7 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 348, "cookies": false, "type": "", "demo": "databases\/create-datetime-attribute.md", @@ -6642,7 +6642,7 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 350, + "weight": 349, "cookies": false, "type": "", "demo": "databases\/update-datetime-attribute.md", @@ -6754,7 +6754,7 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 350, "cookies": false, "type": "", "demo": "databases\/create-email-attribute.md", @@ -6864,7 +6864,7 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 352, + "weight": 351, "cookies": false, "type": "", "demo": "databases\/update-email-attribute.md", @@ -6976,7 +6976,7 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 352, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", @@ -7096,7 +7096,7 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 354, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/update-enum-attribute.md", @@ -7218,7 +7218,7 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 354, "cookies": false, "type": "", "demo": "databases\/create-float-attribute.md", @@ -7340,7 +7340,7 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 356, + "weight": 355, "cookies": false, "type": "", "demo": "databases\/update-float-attribute.md", @@ -7464,7 +7464,7 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 356, "cookies": false, "type": "", "demo": "databases\/create-integer-attribute.md", @@ -7586,7 +7586,7 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 358, + "weight": 357, "cookies": false, "type": "", "demo": "databases\/update-integer-attribute.md", @@ -7710,7 +7710,7 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 359, + "weight": 358, "cookies": false, "type": "", "demo": "databases\/create-ip-attribute.md", @@ -7820,7 +7820,7 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 360, + "weight": 359, "cookies": false, "type": "", "demo": "databases\/update-ip-attribute.md", @@ -7932,7 +7932,7 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 361, + "weight": 360, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", @@ -7995,10 +7995,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -8037,7 +8037,7 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 362, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", @@ -8101,10 +8101,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -8148,7 +8148,7 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 363, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", @@ -8211,10 +8211,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -8253,7 +8253,7 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 364, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", @@ -8317,10 +8317,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -8364,7 +8364,7 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", @@ -8427,10 +8427,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -8469,7 +8469,7 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 366, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", @@ -8533,10 +8533,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -8580,7 +8580,7 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/create-relationship-attribute.md", @@ -8717,7 +8717,7 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 369, + "weight": 368, "cookies": false, "type": "", "demo": "databases\/create-string-attribute.md", @@ -8840,7 +8840,7 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 370, + "weight": 369, "cookies": false, "type": "", "demo": "databases\/update-string-attribute.md", @@ -8958,7 +8958,7 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 370, "cookies": false, "type": "", "demo": "databases\/create-url-attribute.md", @@ -9068,7 +9068,7 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 372, + "weight": 371, "cookies": false, "type": "", "demo": "databases\/update-url-attribute.md", @@ -9209,7 +9209,7 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 344, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/get-attribute.md", @@ -9282,7 +9282,7 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 345, + "weight": 344, "cookies": false, "type": "", "demo": "databases\/delete-attribute.md", @@ -9362,7 +9362,7 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 368, + "weight": 367, "cookies": false, "type": "", "demo": "databases\/update-relationship-attribute.md", @@ -9468,7 +9468,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -9553,7 +9553,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -9680,7 +9680,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -9730,7 +9730,7 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 337, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", @@ -9855,7 +9855,7 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 335, + "weight": 334, "cookies": false, "type": "", "demo": "databases\/update-documents.md", @@ -9951,7 +9951,7 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 339, + "weight": 338, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", @@ -10041,7 +10041,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -10134,7 +10134,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -10277,7 +10277,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -10377,7 +10377,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -10458,7 +10458,7 @@ "x-appwrite": { "method": "listDocumentLogs", "group": "logs", - "weight": 341, + "weight": 340, "cookies": false, "type": "", "demo": "databases\/list-document-logs.md", @@ -10550,7 +10550,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -10662,7 +10662,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -10772,7 +10772,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 376, + "weight": 375, "cookies": false, "type": "", "demo": "databases\/list-indexes.md", @@ -10855,7 +10855,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 373, + "weight": 372, "cookies": false, "type": "", "demo": "databases\/create-index.md", @@ -10987,7 +10987,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 374, + "weight": 373, "cookies": false, "type": "", "demo": "databases\/get-index.md", @@ -11060,7 +11060,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 375, + "weight": 374, "cookies": false, "type": "", "demo": "databases\/delete-index.md", @@ -11138,7 +11138,7 @@ "x-appwrite": { "method": "listCollectionLogs", "group": "collections", - "weight": 330, + "weight": 329, "cookies": false, "type": "", "demo": "databases\/list-collection-logs.md", @@ -11220,7 +11220,7 @@ "x-appwrite": { "method": "getCollectionUsage", "group": null, - "weight": 331, + "weight": 330, "cookies": false, "type": "", "demo": "databases\/get-collection-usage.md", @@ -11310,7 +11310,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 322, + "weight": 321, "cookies": false, "type": "", "demo": "databases\/list-logs.md", @@ -11413,7 +11413,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 323, + "weight": 322, "cookies": false, "type": "", "demo": "databases\/get-usage.md", @@ -14128,7 +14128,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -14201,7 +14201,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -15186,7 +15186,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "consumes": [], "produces": [ @@ -15943,7 +15943,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 309, + "weight": 308, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -16018,7 +16018,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 306, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -16176,7 +16176,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 313, + "weight": 312, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -16331,7 +16331,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 308, + "weight": 307, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -16526,7 +16526,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 315, + "weight": 314, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -16720,7 +16720,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 307, + "weight": 306, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -16906,7 +16906,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 314, + "weight": 313, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -17086,7 +17086,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 312, + "weight": 311, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -17141,7 +17141,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 316, + "weight": 315, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -17201,7 +17201,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 310, + "weight": 309, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -17273,7 +17273,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 311, + "weight": 310, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -17345,7 +17345,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 281, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -17420,7 +17420,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 280, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -17605,7 +17605,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 293, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -17786,7 +17786,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 279, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -17939,7 +17939,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 292, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -18088,7 +18088,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 271, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -18215,7 +18215,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 284, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -18340,7 +18340,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 274, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -18443,7 +18443,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 287, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -18544,7 +18544,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 272, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -18659,7 +18659,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 285, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -18772,7 +18772,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 273, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -19015,7 +19015,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 286, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -19251,7 +19251,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 275, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -19354,7 +19354,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 288, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -19455,7 +19455,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 276, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -19558,7 +19558,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 289, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -19659,7 +19659,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 277, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -19762,7 +19762,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 290, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -19863,7 +19863,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 278, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -19966,7 +19966,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 291, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -20065,7 +20065,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 283, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -20120,7 +20120,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 294, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -20180,7 +20180,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 282, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -20252,7 +20252,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 303, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -20324,7 +20324,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 296, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -20397,7 +20397,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 295, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -20485,7 +20485,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 298, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -20545,7 +20545,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 299, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -20624,7 +20624,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 300, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -20684,7 +20684,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 297, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -20756,7 +20756,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 302, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -20837,7 +20837,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -20924,7 +20924,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 304, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -20987,7 +20987,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -21057,7 +21057,7 @@ "x-appwrite": { "method": "list", "group": null, - "weight": 263, + "weight": 262, "cookies": false, "type": "", "demo": "migrations\/list.md", @@ -21130,7 +21130,7 @@ "x-appwrite": { "method": "createAppwriteMigration", "group": null, - "weight": 258, + "weight": 257, "cookies": false, "type": "", "demo": "migrations\/create-appwrite-migration.md", @@ -21222,7 +21222,7 @@ "x-appwrite": { "method": "getAppwriteReport", "group": null, - "weight": 265, + "weight": 264, "cookies": false, "type": "", "demo": "migrations\/get-appwrite-report.md", @@ -21310,7 +21310,7 @@ "x-appwrite": { "method": "createCsvMigration", "group": null, - "weight": 262, + "weight": 261, "cookies": false, "type": "", "demo": "migrations\/create-csv-migration.md", @@ -21400,7 +21400,7 @@ "x-appwrite": { "method": "createFirebaseMigration", "group": null, - "weight": 259, + "weight": 258, "cookies": false, "type": "", "demo": "migrations\/create-firebase-migration.md", @@ -21478,7 +21478,7 @@ "x-appwrite": { "method": "getFirebaseReport", "group": null, - "weight": 266, + "weight": 265, "cookies": false, "type": "", "demo": "migrations\/get-firebase-report.md", @@ -21549,7 +21549,7 @@ "x-appwrite": { "method": "createNHostMigration", "group": null, - "weight": 261, + "weight": 260, "cookies": false, "type": "", "demo": "migrations\/create-n-host-migration.md", @@ -21668,7 +21668,7 @@ "x-appwrite": { "method": "getNHostReport", "group": null, - "weight": 268, + "weight": 267, "cookies": false, "type": "", "demo": "migrations\/get-n-host-report.md", @@ -21788,7 +21788,7 @@ "x-appwrite": { "method": "createSupabaseMigration", "group": null, - "weight": 260, + "weight": 259, "cookies": false, "type": "", "demo": "migrations\/create-supabase-migration.md", @@ -21900,7 +21900,7 @@ "x-appwrite": { "method": "getSupabaseReport", "group": null, - "weight": 267, + "weight": 266, "cookies": false, "type": "", "demo": "migrations\/get-supabase-report.md", @@ -22011,7 +22011,7 @@ "x-appwrite": { "method": "get", "group": null, - "weight": 264, + "weight": 263, "cookies": false, "type": "", "demo": "migrations\/get.md", @@ -22069,7 +22069,7 @@ "x-appwrite": { "method": "retry", "group": null, - "weight": 269, + "weight": 268, "cookies": false, "type": "", "demo": "migrations\/retry.md", @@ -22122,7 +22122,7 @@ "x-appwrite": { "method": "delete", "group": null, - "weight": 270, + "weight": 269, "cookies": false, "type": "", "demo": "migrations\/delete.md", @@ -22180,7 +22180,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 149, + "weight": 148, "cookies": false, "type": "", "demo": "project\/get-usage.md", @@ -22262,7 +22262,7 @@ "x-appwrite": { "method": "listVariables", "group": null, - "weight": 151, + "weight": 150, "cookies": false, "type": "", "demo": "project\/list-variables.md", @@ -22310,7 +22310,7 @@ "x-appwrite": { "method": "createVariable", "group": null, - "weight": 150, + "weight": 149, "cookies": false, "type": "", "demo": "project\/create-variable.md", @@ -22391,7 +22391,7 @@ "x-appwrite": { "method": "getVariable", "group": null, - "weight": 152, + "weight": 151, "cookies": false, "type": "", "demo": "project\/get-variable.md", @@ -22449,7 +22449,7 @@ "x-appwrite": { "method": "updateVariable", "group": null, - "weight": 153, + "weight": 152, "cookies": false, "type": "", "demo": "project\/update-variable.md", @@ -22532,7 +22532,7 @@ "x-appwrite": { "method": "deleteVariable", "group": null, - "weight": 154, + "weight": 153, "cookies": false, "type": "", "demo": "project\/delete-variable.md", @@ -22590,11 +22590,11 @@ "x-appwrite": { "method": "list", "group": "projects", - "weight": 103, + "weight": 440, "cookies": false, "type": "", "demo": "projects\/list.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterGet a list of all projects. You can use the query params to filter your results. ", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -22808,7 +22808,7 @@ "x-appwrite": { "method": "get", "group": "projects", - "weight": 104, + "weight": 103, "cookies": false, "type": "", "demo": "projects\/get.md", @@ -22866,7 +22866,7 @@ "x-appwrite": { "method": "update", "group": "projects", - "weight": 105, + "weight": 104, "cookies": false, "type": "", "demo": "projects\/update.md", @@ -22991,7 +22991,7 @@ "x-appwrite": { "method": "delete", "group": "projects", - "weight": 122, + "weight": 121, "cookies": false, "type": "", "demo": "projects\/delete.md", @@ -23051,7 +23051,7 @@ "x-appwrite": { "method": "updateApiStatus", "group": "projects", - "weight": 109, + "weight": 108, "cookies": false, "type": "", "demo": "projects\/update-api-status.md", @@ -23205,7 +23205,7 @@ "x-appwrite": { "method": "updateApiStatusAll", "group": "projects", - "weight": 110, + "weight": 109, "cookies": false, "type": "", "demo": "projects\/update-api-status-all.md", @@ -23341,7 +23341,7 @@ "x-appwrite": { "method": "updateAuthDuration", "group": "auth", - "weight": 115, + "weight": 114, "cookies": false, "type": "", "demo": "projects\/update-auth-duration.md", @@ -23419,7 +23419,7 @@ "x-appwrite": { "method": "updateAuthLimit", "group": "auth", - "weight": 114, + "weight": 113, "cookies": false, "type": "", "demo": "projects\/update-auth-limit.md", @@ -23497,7 +23497,7 @@ "x-appwrite": { "method": "updateAuthSessionsLimit", "group": "auth", - "weight": 120, + "weight": 119, "cookies": false, "type": "", "demo": "projects\/update-auth-sessions-limit.md", @@ -23575,7 +23575,7 @@ "x-appwrite": { "method": "updateMembershipsPrivacy", "group": "auth", - "weight": 113, + "weight": 112, "cookies": false, "type": "", "demo": "projects\/update-memberships-privacy.md", @@ -23667,7 +23667,7 @@ "x-appwrite": { "method": "updateMockNumbers", "group": "auth", - "weight": 121, + "weight": 120, "cookies": false, "type": "", "demo": "projects\/update-mock-numbers.md", @@ -23748,7 +23748,7 @@ "x-appwrite": { "method": "updateAuthPasswordDictionary", "group": "auth", - "weight": 118, + "weight": 117, "cookies": false, "type": "", "demo": "projects\/update-auth-password-dictionary.md", @@ -23826,7 +23826,7 @@ "x-appwrite": { "method": "updateAuthPasswordHistory", "group": "auth", - "weight": 117, + "weight": 116, "cookies": false, "type": "", "demo": "projects\/update-auth-password-history.md", @@ -23904,7 +23904,7 @@ "x-appwrite": { "method": "updatePersonalDataCheck", "group": "auth", - "weight": 119, + "weight": 118, "cookies": false, "type": "", "demo": "projects\/update-personal-data-check.md", @@ -23982,7 +23982,7 @@ "x-appwrite": { "method": "updateSessionAlerts", "group": "auth", - "weight": 112, + "weight": 111, "cookies": false, "type": "", "demo": "projects\/update-session-alerts.md", @@ -24060,7 +24060,7 @@ "x-appwrite": { "method": "updateSessionInvalidation", "group": "auth", - "weight": 148, + "weight": 147, "cookies": false, "type": "", "demo": "projects\/update-session-invalidation.md", @@ -24138,7 +24138,7 @@ "x-appwrite": { "method": "updateAuthStatus", "group": "auth", - "weight": 116, + "weight": 115, "cookies": false, "type": "", "demo": "projects\/update-auth-status.md", @@ -24233,7 +24233,7 @@ "x-appwrite": { "method": "listDevKeys", "group": "devKeys", - "weight": 439, + "weight": 438, "cookies": false, "type": "", "demo": "projects\/list-dev-keys.md", @@ -24303,7 +24303,7 @@ "x-appwrite": { "method": "createDevKey", "group": "devKeys", - "weight": 436, + "weight": 435, "cookies": false, "type": "", "demo": "projects\/create-dev-key.md", @@ -24386,7 +24386,7 @@ "x-appwrite": { "method": "getDevKey", "group": "devKeys", - "weight": 438, + "weight": 437, "cookies": false, "type": "", "demo": "projects\/get-dev-key.md", @@ -24452,7 +24452,7 @@ "x-appwrite": { "method": "updateDevKey", "group": "devKeys", - "weight": 437, + "weight": 436, "cookies": false, "type": "", "demo": "projects\/update-dev-key.md", @@ -24538,7 +24538,7 @@ "x-appwrite": { "method": "deleteDevKey", "group": "devKeys", - "weight": 440, + "weight": 439, "cookies": false, "type": "", "demo": "projects\/delete-dev-key.md", @@ -24606,7 +24606,7 @@ "x-appwrite": { "method": "createJWT", "group": "auth", - "weight": 134, + "weight": 133, "cookies": false, "type": "", "demo": "projects\/create-jwt.md", @@ -24691,7 +24691,7 @@ "x-appwrite": { "method": "listKeys", "group": "keys", - "weight": 130, + "weight": 129, "cookies": false, "type": "", "demo": "projects\/list-keys.md", @@ -24749,7 +24749,7 @@ "x-appwrite": { "method": "createKey", "group": "keys", - "weight": 129, + "weight": 128, "cookies": false, "type": "", "demo": "projects\/create-key.md", @@ -24841,7 +24841,7 @@ "x-appwrite": { "method": "getKey", "group": "keys", - "weight": 131, + "weight": 130, "cookies": false, "type": "", "demo": "projects\/get-key.md", @@ -24907,7 +24907,7 @@ "x-appwrite": { "method": "updateKey", "group": "keys", - "weight": 132, + "weight": 131, "cookies": false, "type": "", "demo": "projects\/update-key.md", @@ -25002,7 +25002,7 @@ "x-appwrite": { "method": "deleteKey", "group": "keys", - "weight": 133, + "weight": 132, "cookies": false, "type": "", "demo": "projects\/delete-key.md", @@ -25070,7 +25070,7 @@ "x-appwrite": { "method": "updateOAuth2", "group": "auth", - "weight": 111, + "weight": 110, "cookies": false, "type": "", "demo": "projects\/update-o-auth-2.md", @@ -25208,7 +25208,7 @@ "x-appwrite": { "method": "listPlatforms", "group": "platforms", - "weight": 136, + "weight": 135, "cookies": false, "type": "", "demo": "projects\/list-platforms.md", @@ -25266,7 +25266,7 @@ "x-appwrite": { "method": "createPlatform", "group": "platforms", - "weight": 135, + "weight": 134, "cookies": false, "type": "", "demo": "projects\/create-platform.md", @@ -25386,7 +25386,7 @@ "x-appwrite": { "method": "getPlatform", "group": "platforms", - "weight": 137, + "weight": 136, "cookies": false, "type": "", "demo": "projects\/get-platform.md", @@ -25452,7 +25452,7 @@ "x-appwrite": { "method": "updatePlatform", "group": "platforms", - "weight": 138, + "weight": 137, "cookies": false, "type": "", "demo": "projects\/update-platform.md", @@ -25549,7 +25549,7 @@ "x-appwrite": { "method": "deletePlatform", "group": "platforms", - "weight": 139, + "weight": 138, "cookies": false, "type": "", "demo": "projects\/delete-platform.md", @@ -25617,7 +25617,7 @@ "x-appwrite": { "method": "updateServiceStatus", "group": "projects", - "weight": 107, + "weight": 106, "cookies": false, "type": "", "demo": "projects\/update-service-status.md", @@ -25719,7 +25719,7 @@ "x-appwrite": { "method": "updateServiceStatusAll", "group": "projects", - "weight": 108, + "weight": 107, "cookies": false, "type": "", "demo": "projects\/update-service-status-all.md", @@ -25797,7 +25797,7 @@ "x-appwrite": { "method": "updateSmtp", "group": "templates", - "weight": 140, + "weight": 139, "cookies": false, "type": "", "demo": "projects\/update-smtp.md", @@ -26000,7 +26000,7 @@ "x-appwrite": { "method": "createSmtpTest", "group": "templates", - "weight": 141, + "weight": 140, "cookies": false, "type": "", "demo": "projects\/create-smtp-test.md", @@ -26216,7 +26216,7 @@ "x-appwrite": { "method": "updateTeam", "group": "projects", - "weight": 106, + "weight": 105, "cookies": false, "type": "", "demo": "projects\/update-team.md", @@ -26292,7 +26292,7 @@ "x-appwrite": { "method": "getEmailTemplate", "group": "templates", - "weight": 143, + "weight": 142, "cookies": false, "type": "", "demo": "projects\/get-email-template.md", @@ -26512,7 +26512,7 @@ "x-appwrite": { "method": "updateEmailTemplate", "group": "templates", - "weight": 145, + "weight": 144, "cookies": false, "type": "", "demo": "projects\/update-email-template.md", @@ -26775,7 +26775,7 @@ "x-appwrite": { "method": "deleteEmailTemplate", "group": "templates", - "weight": 147, + "weight": 146, "cookies": false, "type": "", "demo": "projects\/delete-email-template.md", @@ -26995,7 +26995,7 @@ "x-appwrite": { "method": "getSmsTemplate", "group": "templates", - "weight": 142, + "weight": 141, "cookies": false, "type": "", "demo": "projects\/get-sms-template.md", @@ -27274,7 +27274,7 @@ "x-appwrite": { "method": "updateSmsTemplate", "group": "templates", - "weight": 144, + "weight": 143, "cookies": false, "type": "", "demo": "projects\/update-sms-template.md", @@ -27575,7 +27575,7 @@ "x-appwrite": { "method": "deleteSmsTemplate", "group": "templates", - "weight": 146, + "weight": 145, "cookies": false, "type": "", "demo": "projects\/delete-sms-template.md", @@ -27854,7 +27854,7 @@ "x-appwrite": { "method": "listWebhooks", "group": "webhooks", - "weight": 124, + "weight": 123, "cookies": false, "type": "", "demo": "projects\/list-webhooks.md", @@ -27912,7 +27912,7 @@ "x-appwrite": { "method": "createWebhook", "group": "webhooks", - "weight": 123, + "weight": 122, "cookies": false, "type": "", "demo": "projects\/create-webhook.md", @@ -28030,7 +28030,7 @@ "x-appwrite": { "method": "getWebhook", "group": "webhooks", - "weight": 125, + "weight": 124, "cookies": false, "type": "", "demo": "projects\/get-webhook.md", @@ -28096,7 +28096,7 @@ "x-appwrite": { "method": "updateWebhook", "group": "webhooks", - "weight": 126, + "weight": 125, "cookies": false, "type": "", "demo": "projects\/update-webhook.md", @@ -28217,7 +28217,7 @@ "x-appwrite": { "method": "deleteWebhook", "group": "webhooks", - "weight": 128, + "weight": 127, "cookies": false, "type": "", "demo": "projects\/delete-webhook.md", @@ -28285,7 +28285,7 @@ "x-appwrite": { "method": "updateWebhookSignature", "group": "webhooks", - "weight": 127, + "weight": 126, "cookies": false, "type": "", "demo": "projects\/update-webhook-signature.md", @@ -28351,7 +28351,7 @@ "x-appwrite": { "method": "listRules", "group": null, - "weight": 241, + "weight": 240, "cookies": false, "type": "", "demo": "proxy\/list-rules.md", @@ -28778,7 +28778,7 @@ "x-appwrite": { "method": "getRule", "group": null, - "weight": 242, + "weight": 241, "cookies": false, "type": "", "demo": "proxy\/get-rule.md", @@ -28831,7 +28831,7 @@ "x-appwrite": { "method": "deleteRule", "group": null, - "weight": 243, + "weight": 242, "cookies": false, "type": "", "demo": "proxy\/delete-rule.md", @@ -28891,7 +28891,7 @@ "x-appwrite": { "method": "updateRuleVerification", "group": null, - "weight": 244, + "weight": 243, "cookies": false, "type": "", "demo": "proxy\/update-rule-verification.md", @@ -31466,7 +31466,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 155, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -31538,7 +31538,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 154, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -31675,7 +31675,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 156, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -31734,7 +31734,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -31867,7 +31867,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -31926,7 +31926,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -32008,7 +32008,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -32097,7 +32097,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -32166,7 +32166,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -32254,7 +32254,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -32323,7 +32323,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -32401,7 +32401,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -32607,7 +32607,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -32685,7 +32685,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 169, + "weight": 168, "cookies": false, "type": "", "demo": "storage\/get-usage.md", @@ -32755,7 +32755,7 @@ "x-appwrite": { "method": "getBucketUsage", "group": null, - "weight": 170, + "weight": 169, "cookies": false, "type": "", "demo": "storage\/get-bucket-usage.md", @@ -32833,7 +32833,7 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 381, + "weight": 380, "cookies": false, "type": "", "demo": "tablesdb\/list.md", @@ -32905,7 +32905,7 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 377, + "weight": 376, "cookies": false, "type": "", "demo": "tablesdb\/create.md", @@ -32987,7 +32987,7 @@ "x-appwrite": { "method": "listUsage", "group": null, - "weight": 383, + "weight": 382, "cookies": false, "type": "", "demo": "tablesdb\/list-usage.md", @@ -33082,7 +33082,7 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 378, + "weight": 377, "cookies": false, "type": "", "demo": "tablesdb\/get.md", @@ -33141,7 +33141,7 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 379, + "weight": 378, "cookies": false, "type": "", "demo": "tablesdb\/update.md", @@ -33219,7 +33219,7 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 380, + "weight": 379, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", @@ -33278,7 +33278,7 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 388, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", @@ -33361,7 +33361,7 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 384, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", @@ -33469,7 +33469,7 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 385, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", @@ -33539,7 +33539,7 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 386, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", @@ -33643,7 +33643,7 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 387, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", @@ -33713,7 +33713,7 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 393, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", @@ -33797,7 +33797,7 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 394, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", @@ -33906,7 +33906,7 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 395, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", @@ -34017,7 +34017,7 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 396, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", @@ -34126,7 +34126,7 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 397, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", @@ -34237,7 +34237,7 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 398, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", @@ -34346,7 +34346,7 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 399, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", @@ -34457,7 +34457,7 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 400, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", @@ -34576,7 +34576,7 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 401, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", @@ -34697,7 +34697,7 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 402, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", @@ -34818,7 +34818,7 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 403, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", @@ -34941,7 +34941,7 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 404, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", @@ -35062,7 +35062,7 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 405, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", @@ -35185,7 +35185,7 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 406, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", @@ -35294,7 +35294,7 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 407, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", @@ -35405,7 +35405,7 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 408, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", @@ -35467,10 +35467,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -35509,7 +35509,7 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 409, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", @@ -35572,10 +35572,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -35619,7 +35619,7 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 410, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", @@ -35681,10 +35681,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -35723,7 +35723,7 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 411, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", @@ -35786,10 +35786,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -35833,7 +35833,7 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 412, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", @@ -35895,10 +35895,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -35937,7 +35937,7 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 413, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", @@ -36000,10 +36000,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -36047,7 +36047,7 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 414, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", @@ -36183,7 +36183,7 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 416, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", @@ -36305,7 +36305,7 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 417, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", @@ -36422,7 +36422,7 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 418, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", @@ -36531,7 +36531,7 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 419, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", @@ -36671,7 +36671,7 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 391, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", @@ -36743,7 +36743,7 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 392, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", @@ -36822,7 +36822,7 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 415, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", @@ -36927,7 +36927,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 423, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", @@ -37009,7 +37009,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 420, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", @@ -37140,7 +37140,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 421, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", @@ -37212,7 +37212,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 422, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", @@ -37289,7 +37289,7 @@ "x-appwrite": { "method": "listTableLogs", "group": "tables", - "weight": 389, + "weight": 388, "cookies": false, "type": "", "demo": "tablesdb\/list-table-logs.md", @@ -37370,7 +37370,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -37454,7 +37454,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -37572,7 +37572,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -37622,7 +37622,7 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 429, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", @@ -37742,7 +37742,7 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 427, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", @@ -37837,7 +37837,7 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 431, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", @@ -37926,7 +37926,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -38018,7 +38018,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -38152,7 +38152,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -38251,7 +38251,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -38331,7 +38331,7 @@ "x-appwrite": { "method": "listRowLogs", "group": "logs", - "weight": 433, + "weight": 432, "cookies": false, "type": "", "demo": "tablesdb\/list-row-logs.md", @@ -38422,7 +38422,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -38533,7 +38533,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -38642,7 +38642,7 @@ "x-appwrite": { "method": "getTableUsage", "group": null, - "weight": 390, + "weight": 389, "cookies": false, "type": "", "demo": "tablesdb\/get-table-usage.md", @@ -38731,7 +38731,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 382, + "weight": 381, "cookies": false, "type": "", "demo": "tablesdb\/get-usage.md", @@ -38837,7 +38837,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -38911,7 +38911,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -39000,7 +39000,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -39061,7 +39061,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -39135,7 +39135,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -39196,7 +39196,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 184, + "weight": 183, "cookies": false, "type": "", "demo": "teams\/list-logs.md", @@ -39266,7 +39266,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -39348,7 +39348,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -39460,7 +39460,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -39529,7 +39529,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -39614,7 +39614,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -39685,7 +39685,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -39778,7 +39778,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -39838,7 +39838,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -40271,7 +40271,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 193, "cookies": false, "type": "", "demo": "users\/list.md", @@ -40343,7 +40343,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 184, "cookies": false, "type": "", "demo": "users\/create.md", @@ -40438,7 +40438,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 187, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -40529,7 +40529,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 185, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -40618,7 +40618,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 201, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -40687,7 +40687,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 224, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -40748,7 +40748,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 186, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -40839,7 +40839,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 189, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -40930,7 +40930,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 190, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -41056,7 +41056,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 191, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -41168,7 +41168,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -41278,7 +41278,7 @@ "x-appwrite": { "method": "getUsage", "group": null, - "weight": 227, + "weight": 226, "cookies": false, "type": "", "demo": "users\/get-usage.md", @@ -41348,7 +41348,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 194, "cookies": false, "type": "", "demo": "users\/get.md", @@ -41402,7 +41402,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 222, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -41463,7 +41463,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -41542,7 +41542,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 225, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -41624,7 +41624,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -41704,7 +41704,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 199, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -41775,7 +41775,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 198, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -41857,7 +41857,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 212, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -41989,7 +41989,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 217, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -42117,7 +42117,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 213, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -42230,7 +42230,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 214, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -42343,7 +42343,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 216, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -42456,7 +42456,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 215, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -42571,7 +42571,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 205, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -42650,7 +42650,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 206, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -42729,7 +42729,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 208, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -42806,7 +42806,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 195, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -42865,7 +42865,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 210, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -42942,7 +42942,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 197, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -43001,7 +43001,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 218, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -43055,7 +43055,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 221, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -43111,7 +43111,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 220, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -43180,7 +43180,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -43257,7 +43257,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 200, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -43329,7 +43329,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 192, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -43440,7 +43440,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 196, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -43508,7 +43508,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 211, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -43598,7 +43598,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 223, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -43668,7 +43668,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 219, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -43750,7 +43750,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 209, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -43829,7 +43829,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 204, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -43908,7 +43908,7 @@ "x-appwrite": { "method": "createRepositoryDetection", "group": "repositories", - "weight": 231, + "weight": 230, "cookies": false, "type": "", "demo": "vcs\/create-repository-detection.md", @@ -44003,7 +44003,7 @@ "x-appwrite": { "method": "listRepositories", "group": "repositories", - "weight": 232, + "weight": 231, "cookies": false, "type": "", "demo": "vcs\/list-repositories.md", @@ -44084,7 +44084,7 @@ "x-appwrite": { "method": "createRepository", "group": "repositories", - "weight": 233, + "weight": 232, "cookies": false, "type": "", "demo": "vcs\/create-repository.md", @@ -44167,7 +44167,7 @@ "x-appwrite": { "method": "getRepository", "group": "repositories", - "weight": 234, + "weight": 233, "cookies": false, "type": "", "demo": "vcs\/get-repository.md", @@ -44233,7 +44233,7 @@ "x-appwrite": { "method": "listRepositoryBranches", "group": "repositories", - "weight": 235, + "weight": 234, "cookies": false, "type": "", "demo": "vcs\/list-repository-branches.md", @@ -44299,7 +44299,7 @@ "x-appwrite": { "method": "getRepositoryContents", "group": "repositories", - "weight": 230, + "weight": 229, "cookies": false, "type": "", "demo": "vcs\/get-repository-contents.md", @@ -44382,7 +44382,7 @@ "x-appwrite": { "method": "updateExternalDeployments", "group": "repositories", - "weight": 240, + "weight": 239, "cookies": false, "type": "", "demo": "vcs\/update-external-deployments.md", @@ -44466,7 +44466,7 @@ "x-appwrite": { "method": "listInstallations", "group": "installations", - "weight": 237, + "weight": 236, "cookies": false, "type": "", "demo": "vcs\/list-installations.md", @@ -44537,7 +44537,7 @@ "x-appwrite": { "method": "getInstallation", "group": "installations", - "weight": 238, + "weight": 237, "cookies": false, "type": "", "demo": "vcs\/get-installation.md", @@ -44590,7 +44590,7 @@ "x-appwrite": { "method": "deleteInstallation", "group": "installations", - "weight": 239, + "weight": 238, "cookies": false, "type": "", "demo": "vcs\/delete-installation.md", @@ -47286,10 +47286,13 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[0, 0]" + "x-example": [ + 0, + 0 + ], + "x-nullable": true } }, "required": [ @@ -47310,7 +47313,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "attributeLine": { @@ -47359,10 +47365,19 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[0, 0], [1, 1]]" + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], + "x-nullable": true } }, "required": [ @@ -47383,7 +47398,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "attributePolygon": { @@ -47432,10 +47456,31 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], + "x-nullable": true } }, "required": [ @@ -47456,7 +47501,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "table": { @@ -48566,10 +48632,13 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]" + "x-example": [ + 0, + 0 + ], + "x-nullable": true } }, "required": [ @@ -48590,7 +48659,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "columnLine": { @@ -48639,10 +48711,19 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[0, 0], [1, 1]]" + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], + "x-nullable": true } }, "required": [ @@ -48663,7 +48744,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "columnPolygon": { @@ -48712,10 +48802,31 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], + "x-nullable": true } }, "required": [ @@ -48736,7 +48847,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "index": { diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 5fb2c27cb9..812598f516 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -2023,7 +2023,7 @@ "type": "object", "description": "Prefs key-value JSON object.", "default": {}, - "x-example": "{}" + "x-example": "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}" } }, "required": [ @@ -4693,7 +4693,7 @@ "x-appwrite": { "method": "list", "group": "databases", - "weight": 321, + "weight": 320, "cookies": false, "type": "", "demo": "databases\/list.md", @@ -4798,7 +4798,7 @@ "x-appwrite": { "method": "create", "group": "databases", - "weight": 317, + "weight": 316, "cookies": false, "type": "", "demo": "databases\/create.md", @@ -4917,7 +4917,7 @@ "x-appwrite": { "method": "get", "group": "databases", - "weight": 318, + "weight": 317, "cookies": false, "type": "", "demo": "databases\/get.md", @@ -5010,7 +5010,7 @@ "x-appwrite": { "method": "update", "group": "databases", - "weight": 319, + "weight": 318, "cookies": false, "type": "", "demo": "databases\/update.md", @@ -5125,7 +5125,7 @@ "x-appwrite": { "method": "delete", "group": "databases", - "weight": 320, + "weight": 319, "cookies": false, "type": "", "demo": "databases\/delete.md", @@ -5217,7 +5217,7 @@ "x-appwrite": { "method": "listCollections", "group": "collections", - "weight": 329, + "weight": 328, "cookies": false, "type": "", "demo": "databases\/list-collections.md", @@ -5302,7 +5302,7 @@ "x-appwrite": { "method": "createCollection", "group": "collections", - "weight": 325, + "weight": 324, "cookies": false, "type": "", "demo": "databases\/create-collection.md", @@ -5412,7 +5412,7 @@ "x-appwrite": { "method": "getCollection", "group": "collections", - "weight": 326, + "weight": 325, "cookies": false, "type": "", "demo": "databases\/get-collection.md", @@ -5484,7 +5484,7 @@ "x-appwrite": { "method": "updateCollection", "group": "collections", - "weight": 327, + "weight": 326, "cookies": false, "type": "", "demo": "databases\/update-collection.md", @@ -5590,7 +5590,7 @@ "x-appwrite": { "method": "deleteCollection", "group": "collections", - "weight": 328, + "weight": 327, "cookies": false, "type": "", "demo": "databases\/delete-collection.md", @@ -5662,7 +5662,7 @@ "x-appwrite": { "method": "listAttributes", "group": "attributes", - "weight": 346, + "weight": 345, "cookies": false, "type": "", "demo": "databases\/list-attributes.md", @@ -5748,7 +5748,7 @@ "x-appwrite": { "method": "createBooleanAttribute", "group": "attributes", - "weight": 347, + "weight": 346, "cookies": false, "type": "", "demo": "databases\/create-boolean-attribute.md", @@ -5859,7 +5859,7 @@ "x-appwrite": { "method": "updateBooleanAttribute", "group": "attributes", - "weight": 348, + "weight": 347, "cookies": false, "type": "", "demo": "databases\/update-boolean-attribute.md", @@ -5972,7 +5972,7 @@ "x-appwrite": { "method": "createDatetimeAttribute", "group": "attributes", - "weight": 349, + "weight": 348, "cookies": false, "type": "", "demo": "databases\/create-datetime-attribute.md", @@ -6083,7 +6083,7 @@ "x-appwrite": { "method": "updateDatetimeAttribute", "group": "attributes", - "weight": 350, + "weight": 349, "cookies": false, "type": "", "demo": "databases\/update-datetime-attribute.md", @@ -6196,7 +6196,7 @@ "x-appwrite": { "method": "createEmailAttribute", "group": "attributes", - "weight": 351, + "weight": 350, "cookies": false, "type": "", "demo": "databases\/create-email-attribute.md", @@ -6307,7 +6307,7 @@ "x-appwrite": { "method": "updateEmailAttribute", "group": "attributes", - "weight": 352, + "weight": 351, "cookies": false, "type": "", "demo": "databases\/update-email-attribute.md", @@ -6420,7 +6420,7 @@ "x-appwrite": { "method": "createEnumAttribute", "group": "attributes", - "weight": 353, + "weight": 352, "cookies": false, "type": "", "demo": "databases\/create-enum-attribute.md", @@ -6541,7 +6541,7 @@ "x-appwrite": { "method": "updateEnumAttribute", "group": "attributes", - "weight": 354, + "weight": 353, "cookies": false, "type": "", "demo": "databases\/update-enum-attribute.md", @@ -6664,7 +6664,7 @@ "x-appwrite": { "method": "createFloatAttribute", "group": "attributes", - "weight": 355, + "weight": 354, "cookies": false, "type": "", "demo": "databases\/create-float-attribute.md", @@ -6787,7 +6787,7 @@ "x-appwrite": { "method": "updateFloatAttribute", "group": "attributes", - "weight": 356, + "weight": 355, "cookies": false, "type": "", "demo": "databases\/update-float-attribute.md", @@ -6912,7 +6912,7 @@ "x-appwrite": { "method": "createIntegerAttribute", "group": "attributes", - "weight": 357, + "weight": 356, "cookies": false, "type": "", "demo": "databases\/create-integer-attribute.md", @@ -7035,7 +7035,7 @@ "x-appwrite": { "method": "updateIntegerAttribute", "group": "attributes", - "weight": 358, + "weight": 357, "cookies": false, "type": "", "demo": "databases\/update-integer-attribute.md", @@ -7160,7 +7160,7 @@ "x-appwrite": { "method": "createIpAttribute", "group": "attributes", - "weight": 359, + "weight": 358, "cookies": false, "type": "", "demo": "databases\/create-ip-attribute.md", @@ -7271,7 +7271,7 @@ "x-appwrite": { "method": "updateIpAttribute", "group": "attributes", - "weight": 360, + "weight": 359, "cookies": false, "type": "", "demo": "databases\/update-ip-attribute.md", @@ -7384,7 +7384,7 @@ "x-appwrite": { "method": "createLineAttribute", "group": "attributes", - "weight": 361, + "weight": 360, "cookies": false, "type": "", "demo": "databases\/create-line-attribute.md", @@ -7448,10 +7448,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -7490,7 +7490,7 @@ "x-appwrite": { "method": "updateLineAttribute", "group": "attributes", - "weight": 362, + "weight": 361, "cookies": false, "type": "", "demo": "databases\/update-line-attribute.md", @@ -7555,10 +7555,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -7602,7 +7602,7 @@ "x-appwrite": { "method": "createPointAttribute", "group": "attributes", - "weight": 363, + "weight": 362, "cookies": false, "type": "", "demo": "databases\/create-point-attribute.md", @@ -7666,10 +7666,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -7708,7 +7708,7 @@ "x-appwrite": { "method": "updatePointAttribute", "group": "attributes", - "weight": 364, + "weight": 363, "cookies": false, "type": "", "demo": "databases\/update-point-attribute.md", @@ -7773,10 +7773,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -7820,7 +7820,7 @@ "x-appwrite": { "method": "createPolygonAttribute", "group": "attributes", - "weight": 365, + "weight": 364, "cookies": false, "type": "", "demo": "databases\/create-polygon-attribute.md", @@ -7884,10 +7884,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -7926,7 +7926,7 @@ "x-appwrite": { "method": "updatePolygonAttribute", "group": "attributes", - "weight": 366, + "weight": 365, "cookies": false, "type": "", "demo": "databases\/update-polygon-attribute.md", @@ -7991,10 +7991,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.", + "type": "array", + "description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -8038,7 +8038,7 @@ "x-appwrite": { "method": "createRelationshipAttribute", "group": "attributes", - "weight": 367, + "weight": 366, "cookies": false, "type": "", "demo": "databases\/create-relationship-attribute.md", @@ -8176,7 +8176,7 @@ "x-appwrite": { "method": "createStringAttribute", "group": "attributes", - "weight": 369, + "weight": 368, "cookies": false, "type": "", "demo": "databases\/create-string-attribute.md", @@ -8300,7 +8300,7 @@ "x-appwrite": { "method": "updateStringAttribute", "group": "attributes", - "weight": 370, + "weight": 369, "cookies": false, "type": "", "demo": "databases\/update-string-attribute.md", @@ -8419,7 +8419,7 @@ "x-appwrite": { "method": "createUrlAttribute", "group": "attributes", - "weight": 371, + "weight": 370, "cookies": false, "type": "", "demo": "databases\/create-url-attribute.md", @@ -8530,7 +8530,7 @@ "x-appwrite": { "method": "updateUrlAttribute", "group": "attributes", - "weight": 372, + "weight": 371, "cookies": false, "type": "", "demo": "databases\/update-url-attribute.md", @@ -8672,7 +8672,7 @@ "x-appwrite": { "method": "getAttribute", "group": "attributes", - "weight": 344, + "weight": 343, "cookies": false, "type": "", "demo": "databases\/get-attribute.md", @@ -8746,7 +8746,7 @@ "x-appwrite": { "method": "deleteAttribute", "group": "attributes", - "weight": 345, + "weight": 344, "cookies": false, "type": "", "demo": "databases\/delete-attribute.md", @@ -8827,7 +8827,7 @@ "x-appwrite": { "method": "updateRelationshipAttribute", "group": "attributes", - "weight": 368, + "weight": 367, "cookies": false, "type": "", "demo": "databases\/update-relationship-attribute.md", @@ -8934,7 +8934,7 @@ "x-appwrite": { "method": "listDocuments", "group": "documents", - "weight": 340, + "weight": 339, "cookies": false, "type": "", "demo": "databases\/list-documents.md", @@ -9021,7 +9021,7 @@ "x-appwrite": { "method": "createDocument", "group": "documents", - "weight": 332, + "weight": 331, "cookies": false, "type": "", "demo": "databases\/create-document.md", @@ -9152,7 +9152,7 @@ "type": "object", "description": "Document data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -9202,7 +9202,7 @@ "x-appwrite": { "method": "upsertDocuments", "group": "documents", - "weight": 337, + "weight": 336, "cookies": false, "type": "", "demo": "databases\/upsert-documents.md", @@ -9329,7 +9329,7 @@ "x-appwrite": { "method": "updateDocuments", "group": "documents", - "weight": 335, + "weight": 334, "cookies": false, "type": "", "demo": "databases\/update-documents.md", @@ -9426,7 +9426,7 @@ "x-appwrite": { "method": "deleteDocuments", "group": "documents", - "weight": 339, + "weight": 338, "cookies": false, "type": "", "demo": "databases\/delete-documents.md", @@ -9517,7 +9517,7 @@ "x-appwrite": { "method": "getDocument", "group": "documents", - "weight": 333, + "weight": 332, "cookies": false, "type": "", "demo": "databases\/get-document.md", @@ -9612,7 +9612,7 @@ "x-appwrite": { "method": "upsertDocument", "group": "documents", - "weight": 336, + "weight": 335, "cookies": false, "type": "", "demo": "databases\/upsert-document.md", @@ -9758,7 +9758,7 @@ "x-appwrite": { "method": "updateDocument", "group": "documents", - "weight": 334, + "weight": 333, "cookies": false, "type": "", "demo": "databases\/update-document.md", @@ -9860,7 +9860,7 @@ "x-appwrite": { "method": "deleteDocument", "group": "documents", - "weight": 338, + "weight": 337, "cookies": false, "type": "", "demo": "databases\/delete-document.md", @@ -9945,7 +9945,7 @@ "x-appwrite": { "method": "decrementDocumentAttribute", "group": "documents", - "weight": 343, + "weight": 342, "cookies": false, "type": "", "demo": "databases\/decrement-document-attribute.md", @@ -10059,7 +10059,7 @@ "x-appwrite": { "method": "incrementDocumentAttribute", "group": "documents", - "weight": 342, + "weight": 341, "cookies": false, "type": "", "demo": "databases\/increment-document-attribute.md", @@ -10171,7 +10171,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 376, + "weight": 375, "cookies": false, "type": "", "demo": "databases\/list-indexes.md", @@ -10255,7 +10255,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 373, + "weight": 372, "cookies": false, "type": "", "demo": "databases\/create-index.md", @@ -10388,7 +10388,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 374, + "weight": 373, "cookies": false, "type": "", "demo": "databases\/get-index.md", @@ -10462,7 +10462,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 375, + "weight": 374, "cookies": false, "type": "", "demo": "databases\/delete-index.md", @@ -12874,7 +12874,7 @@ "x-appwrite": { "method": "query", "group": "graphql", - "weight": 255, + "weight": 254, "cookies": false, "type": "graphql", "demo": "graphql\/query.md", @@ -12949,7 +12949,7 @@ "x-appwrite": { "method": "mutation", "group": "graphql", - "weight": 254, + "weight": 253, "cookies": false, "type": "graphql", "demo": "graphql\/mutation.md", @@ -13952,7 +13952,7 @@ }, "\/health\/queue\/stats-resources": { "get": { - "summary": "Get stats resources queue", + "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", "consumes": [], "produces": [ @@ -14731,7 +14731,7 @@ "x-appwrite": { "method": "listMessages", "group": "messages", - "weight": 309, + "weight": 308, "cookies": false, "type": "", "demo": "messaging\/list-messages.md", @@ -14807,7 +14807,7 @@ "x-appwrite": { "method": "createEmail", "group": "messages", - "weight": 306, + "weight": 305, "cookies": false, "type": "", "demo": "messaging\/create-email.md", @@ -14966,7 +14966,7 @@ "x-appwrite": { "method": "updateEmail", "group": "messages", - "weight": 313, + "weight": 312, "cookies": false, "type": "", "demo": "messaging\/update-email.md", @@ -15122,7 +15122,7 @@ "x-appwrite": { "method": "createPush", "group": "messages", - "weight": 308, + "weight": 307, "cookies": false, "type": "", "demo": "messaging\/create-push.md", @@ -15318,7 +15318,7 @@ "x-appwrite": { "method": "updatePush", "group": "messages", - "weight": 315, + "weight": 314, "cookies": false, "type": "", "demo": "messaging\/update-push.md", @@ -15513,7 +15513,7 @@ "x-appwrite": { "method": "createSms", "group": "messages", - "weight": 307, + "weight": 306, "cookies": false, "type": "", "demo": "messaging\/create-sms.md", @@ -15702,7 +15702,7 @@ "x-appwrite": { "method": "updateSms", "group": "messages", - "weight": 314, + "weight": 313, "cookies": false, "type": "", "demo": "messaging\/update-sms.md", @@ -15885,7 +15885,7 @@ "x-appwrite": { "method": "getMessage", "group": "messages", - "weight": 312, + "weight": 311, "cookies": false, "type": "", "demo": "messaging\/get-message.md", @@ -15941,7 +15941,7 @@ "x-appwrite": { "method": "delete", "group": "messages", - "weight": 316, + "weight": 315, "cookies": false, "type": "", "demo": "messaging\/delete.md", @@ -16002,7 +16002,7 @@ "x-appwrite": { "method": "listMessageLogs", "group": "logs", - "weight": 310, + "weight": 309, "cookies": false, "type": "", "demo": "messaging\/list-message-logs.md", @@ -16075,7 +16075,7 @@ "x-appwrite": { "method": "listTargets", "group": "messages", - "weight": 311, + "weight": 310, "cookies": false, "type": "", "demo": "messaging\/list-targets.md", @@ -16148,7 +16148,7 @@ "x-appwrite": { "method": "listProviders", "group": "providers", - "weight": 281, + "weight": 280, "cookies": false, "type": "", "demo": "messaging\/list-providers.md", @@ -16224,7 +16224,7 @@ "x-appwrite": { "method": "createApnsProvider", "group": "providers", - "weight": 280, + "weight": 279, "cookies": false, "type": "", "demo": "messaging\/create-apns-provider.md", @@ -16412,7 +16412,7 @@ "x-appwrite": { "method": "updateApnsProvider", "group": "providers", - "weight": 293, + "weight": 292, "cookies": false, "type": "", "demo": "messaging\/update-apns-provider.md", @@ -16596,7 +16596,7 @@ "x-appwrite": { "method": "createFcmProvider", "group": "providers", - "weight": 279, + "weight": 278, "cookies": false, "type": "", "demo": "messaging\/create-fcm-provider.md", @@ -16752,7 +16752,7 @@ "x-appwrite": { "method": "updateFcmProvider", "group": "providers", - "weight": 292, + "weight": 291, "cookies": false, "type": "", "demo": "messaging\/update-fcm-provider.md", @@ -16904,7 +16904,7 @@ "x-appwrite": { "method": "createMailgunProvider", "group": "providers", - "weight": 271, + "weight": 270, "cookies": false, "type": "", "demo": "messaging\/create-mailgun-provider.md", @@ -17032,7 +17032,7 @@ "x-appwrite": { "method": "updateMailgunProvider", "group": "providers", - "weight": 284, + "weight": 283, "cookies": false, "type": "", "demo": "messaging\/update-mailgun-provider.md", @@ -17158,7 +17158,7 @@ "x-appwrite": { "method": "createMsg91Provider", "group": "providers", - "weight": 274, + "weight": 273, "cookies": false, "type": "", "demo": "messaging\/create-msg-91-provider.md", @@ -17262,7 +17262,7 @@ "x-appwrite": { "method": "updateMsg91Provider", "group": "providers", - "weight": 287, + "weight": 286, "cookies": false, "type": "", "demo": "messaging\/update-msg-91-provider.md", @@ -17364,7 +17364,7 @@ "x-appwrite": { "method": "createSendgridProvider", "group": "providers", - "weight": 272, + "weight": 271, "cookies": false, "type": "", "demo": "messaging\/create-sendgrid-provider.md", @@ -17480,7 +17480,7 @@ "x-appwrite": { "method": "updateSendgridProvider", "group": "providers", - "weight": 285, + "weight": 284, "cookies": false, "type": "", "demo": "messaging\/update-sendgrid-provider.md", @@ -17594,7 +17594,7 @@ "x-appwrite": { "method": "createSmtpProvider", "group": "providers", - "weight": 273, + "weight": 272, "cookies": false, "type": "", "demo": "messaging\/create-smtp-provider.md", @@ -17840,7 +17840,7 @@ "x-appwrite": { "method": "updateSmtpProvider", "group": "providers", - "weight": 286, + "weight": 285, "cookies": false, "type": "", "demo": "messaging\/update-smtp-provider.md", @@ -18079,7 +18079,7 @@ "x-appwrite": { "method": "createTelesignProvider", "group": "providers", - "weight": 275, + "weight": 274, "cookies": false, "type": "", "demo": "messaging\/create-telesign-provider.md", @@ -18183,7 +18183,7 @@ "x-appwrite": { "method": "updateTelesignProvider", "group": "providers", - "weight": 288, + "weight": 287, "cookies": false, "type": "", "demo": "messaging\/update-telesign-provider.md", @@ -18285,7 +18285,7 @@ "x-appwrite": { "method": "createTextmagicProvider", "group": "providers", - "weight": 276, + "weight": 275, "cookies": false, "type": "", "demo": "messaging\/create-textmagic-provider.md", @@ -18389,7 +18389,7 @@ "x-appwrite": { "method": "updateTextmagicProvider", "group": "providers", - "weight": 289, + "weight": 288, "cookies": false, "type": "", "demo": "messaging\/update-textmagic-provider.md", @@ -18491,7 +18491,7 @@ "x-appwrite": { "method": "createTwilioProvider", "group": "providers", - "weight": 277, + "weight": 276, "cookies": false, "type": "", "demo": "messaging\/create-twilio-provider.md", @@ -18595,7 +18595,7 @@ "x-appwrite": { "method": "updateTwilioProvider", "group": "providers", - "weight": 290, + "weight": 289, "cookies": false, "type": "", "demo": "messaging\/update-twilio-provider.md", @@ -18697,7 +18697,7 @@ "x-appwrite": { "method": "createVonageProvider", "group": "providers", - "weight": 278, + "weight": 277, "cookies": false, "type": "", "demo": "messaging\/create-vonage-provider.md", @@ -18801,7 +18801,7 @@ "x-appwrite": { "method": "updateVonageProvider", "group": "providers", - "weight": 291, + "weight": 290, "cookies": false, "type": "", "demo": "messaging\/update-vonage-provider.md", @@ -18901,7 +18901,7 @@ "x-appwrite": { "method": "getProvider", "group": "providers", - "weight": 283, + "weight": 282, "cookies": false, "type": "", "demo": "messaging\/get-provider.md", @@ -18957,7 +18957,7 @@ "x-appwrite": { "method": "deleteProvider", "group": "providers", - "weight": 294, + "weight": 293, "cookies": false, "type": "", "demo": "messaging\/delete-provider.md", @@ -19018,7 +19018,7 @@ "x-appwrite": { "method": "listProviderLogs", "group": "providers", - "weight": 282, + "weight": 281, "cookies": false, "type": "", "demo": "messaging\/list-provider-logs.md", @@ -19091,7 +19091,7 @@ "x-appwrite": { "method": "listSubscriberLogs", "group": "subscribers", - "weight": 303, + "weight": 302, "cookies": false, "type": "", "demo": "messaging\/list-subscriber-logs.md", @@ -19164,7 +19164,7 @@ "x-appwrite": { "method": "listTopics", "group": "topics", - "weight": 296, + "weight": 295, "cookies": false, "type": "", "demo": "messaging\/list-topics.md", @@ -19238,7 +19238,7 @@ "x-appwrite": { "method": "createTopic", "group": "topics", - "weight": 295, + "weight": 294, "cookies": false, "type": "", "demo": "messaging\/create-topic.md", @@ -19327,7 +19327,7 @@ "x-appwrite": { "method": "getTopic", "group": "topics", - "weight": 298, + "weight": 297, "cookies": false, "type": "", "demo": "messaging\/get-topic.md", @@ -19388,7 +19388,7 @@ "x-appwrite": { "method": "updateTopic", "group": "topics", - "weight": 299, + "weight": 298, "cookies": false, "type": "", "demo": "messaging\/update-topic.md", @@ -19468,7 +19468,7 @@ "x-appwrite": { "method": "deleteTopic", "group": "topics", - "weight": 300, + "weight": 299, "cookies": false, "type": "", "demo": "messaging\/delete-topic.md", @@ -19529,7 +19529,7 @@ "x-appwrite": { "method": "listTopicLogs", "group": "topics", - "weight": 297, + "weight": 296, "cookies": false, "type": "", "demo": "messaging\/list-topic-logs.md", @@ -19602,7 +19602,7 @@ "x-appwrite": { "method": "listSubscribers", "group": "subscribers", - "weight": 302, + "weight": 301, "cookies": false, "type": "", "demo": "messaging\/list-subscribers.md", @@ -19684,7 +19684,7 @@ "x-appwrite": { "method": "createSubscriber", "group": "subscribers", - "weight": 301, + "weight": 300, "cookies": false, "type": "", "demo": "messaging\/create-subscriber.md", @@ -19773,7 +19773,7 @@ "x-appwrite": { "method": "getSubscriber", "group": "subscribers", - "weight": 304, + "weight": 303, "cookies": false, "type": "", "demo": "messaging\/get-subscriber.md", @@ -19837,7 +19837,7 @@ "x-appwrite": { "method": "deleteSubscriber", "group": "subscribers", - "weight": 305, + "weight": 304, "cookies": false, "type": "", "demo": "messaging\/delete-subscriber.md", @@ -22151,7 +22151,7 @@ "x-appwrite": { "method": "listBuckets", "group": "buckets", - "weight": 156, + "weight": 155, "cookies": false, "type": "", "demo": "storage\/list-buckets.md", @@ -22224,7 +22224,7 @@ "x-appwrite": { "method": "createBucket", "group": "buckets", - "weight": 155, + "weight": 154, "cookies": false, "type": "", "demo": "storage\/create-bucket.md", @@ -22362,7 +22362,7 @@ "x-appwrite": { "method": "getBucket", "group": "buckets", - "weight": 157, + "weight": 156, "cookies": false, "type": "", "demo": "storage\/get-bucket.md", @@ -22422,7 +22422,7 @@ "x-appwrite": { "method": "updateBucket", "group": "buckets", - "weight": 158, + "weight": 157, "cookies": false, "type": "", "demo": "storage\/update-bucket.md", @@ -22556,7 +22556,7 @@ "x-appwrite": { "method": "deleteBucket", "group": "buckets", - "weight": 159, + "weight": 158, "cookies": false, "type": "", "demo": "storage\/delete-bucket.md", @@ -22616,7 +22616,7 @@ "x-appwrite": { "method": "listFiles", "group": "files", - "weight": 161, + "weight": 160, "cookies": false, "type": "", "demo": "storage\/list-files.md", @@ -22700,7 +22700,7 @@ "x-appwrite": { "method": "createFile", "group": "files", - "weight": 160, + "weight": 159, "cookies": false, "type": "upload", "demo": "storage\/create-file.md", @@ -22791,7 +22791,7 @@ "x-appwrite": { "method": "getFile", "group": "files", - "weight": 162, + "weight": 161, "cookies": false, "type": "", "demo": "storage\/get-file.md", @@ -22862,7 +22862,7 @@ "x-appwrite": { "method": "updateFile", "group": "files", - "weight": 167, + "weight": 166, "cookies": false, "type": "", "demo": "storage\/update-file.md", @@ -22952,7 +22952,7 @@ "x-appwrite": { "method": "deleteFile", "group": "files", - "weight": 168, + "weight": 167, "cookies": false, "type": "", "demo": "storage\/delete-file.md", @@ -23023,7 +23023,7 @@ "x-appwrite": { "method": "getFileDownload", "group": "files", - "weight": 164, + "weight": 163, "cookies": false, "type": "location", "demo": "storage\/get-file-download.md", @@ -23103,7 +23103,7 @@ "x-appwrite": { "method": "getFilePreview", "group": "files", - "weight": 163, + "weight": 162, "cookies": false, "type": "location", "demo": "storage\/get-file-preview.md", @@ -23311,7 +23311,7 @@ "x-appwrite": { "method": "getFileView", "group": "files", - "weight": 165, + "weight": 164, "cookies": false, "type": "location", "demo": "storage\/get-file-view.md", @@ -23391,7 +23391,7 @@ "x-appwrite": { "method": "list", "group": "tablesdb", - "weight": 381, + "weight": 380, "cookies": false, "type": "", "demo": "tablesdb\/list.md", @@ -23464,7 +23464,7 @@ "x-appwrite": { "method": "create", "group": "tablesdb", - "weight": 377, + "weight": 376, "cookies": false, "type": "", "demo": "tablesdb\/create.md", @@ -23547,7 +23547,7 @@ "x-appwrite": { "method": "get", "group": "tablesdb", - "weight": 378, + "weight": 377, "cookies": false, "type": "", "demo": "tablesdb\/get.md", @@ -23607,7 +23607,7 @@ "x-appwrite": { "method": "update", "group": "tablesdb", - "weight": 379, + "weight": 378, "cookies": false, "type": "", "demo": "tablesdb\/update.md", @@ -23686,7 +23686,7 @@ "x-appwrite": { "method": "delete", "group": "tablesdb", - "weight": 380, + "weight": 379, "cookies": false, "type": "", "demo": "tablesdb\/delete.md", @@ -23746,7 +23746,7 @@ "x-appwrite": { "method": "listTables", "group": "tables", - "weight": 388, + "weight": 387, "cookies": false, "type": "", "demo": "tablesdb\/list-tables.md", @@ -23830,7 +23830,7 @@ "x-appwrite": { "method": "createTable", "group": "tables", - "weight": 384, + "weight": 383, "cookies": false, "type": "", "demo": "tablesdb\/create-table.md", @@ -23939,7 +23939,7 @@ "x-appwrite": { "method": "getTable", "group": "tables", - "weight": 385, + "weight": 384, "cookies": false, "type": "", "demo": "tablesdb\/get-table.md", @@ -24010,7 +24010,7 @@ "x-appwrite": { "method": "updateTable", "group": "tables", - "weight": 386, + "weight": 385, "cookies": false, "type": "", "demo": "tablesdb\/update-table.md", @@ -24115,7 +24115,7 @@ "x-appwrite": { "method": "deleteTable", "group": "tables", - "weight": 387, + "weight": 386, "cookies": false, "type": "", "demo": "tablesdb\/delete-table.md", @@ -24186,7 +24186,7 @@ "x-appwrite": { "method": "listColumns", "group": "columns", - "weight": 393, + "weight": 392, "cookies": false, "type": "", "demo": "tablesdb\/list-columns.md", @@ -24271,7 +24271,7 @@ "x-appwrite": { "method": "createBooleanColumn", "group": "columns", - "weight": 394, + "weight": 393, "cookies": false, "type": "", "demo": "tablesdb\/create-boolean-column.md", @@ -24381,7 +24381,7 @@ "x-appwrite": { "method": "updateBooleanColumn", "group": "columns", - "weight": 395, + "weight": 394, "cookies": false, "type": "", "demo": "tablesdb\/update-boolean-column.md", @@ -24493,7 +24493,7 @@ "x-appwrite": { "method": "createDatetimeColumn", "group": "columns", - "weight": 396, + "weight": 395, "cookies": false, "type": "", "demo": "tablesdb\/create-datetime-column.md", @@ -24603,7 +24603,7 @@ "x-appwrite": { "method": "updateDatetimeColumn", "group": "columns", - "weight": 397, + "weight": 396, "cookies": false, "type": "", "demo": "tablesdb\/update-datetime-column.md", @@ -24715,7 +24715,7 @@ "x-appwrite": { "method": "createEmailColumn", "group": "columns", - "weight": 398, + "weight": 397, "cookies": false, "type": "", "demo": "tablesdb\/create-email-column.md", @@ -24825,7 +24825,7 @@ "x-appwrite": { "method": "updateEmailColumn", "group": "columns", - "weight": 399, + "weight": 398, "cookies": false, "type": "", "demo": "tablesdb\/update-email-column.md", @@ -24937,7 +24937,7 @@ "x-appwrite": { "method": "createEnumColumn", "group": "columns", - "weight": 400, + "weight": 399, "cookies": false, "type": "", "demo": "tablesdb\/create-enum-column.md", @@ -25057,7 +25057,7 @@ "x-appwrite": { "method": "updateEnumColumn", "group": "columns", - "weight": 401, + "weight": 400, "cookies": false, "type": "", "demo": "tablesdb\/update-enum-column.md", @@ -25179,7 +25179,7 @@ "x-appwrite": { "method": "createFloatColumn", "group": "columns", - "weight": 402, + "weight": 401, "cookies": false, "type": "", "demo": "tablesdb\/create-float-column.md", @@ -25301,7 +25301,7 @@ "x-appwrite": { "method": "updateFloatColumn", "group": "columns", - "weight": 403, + "weight": 402, "cookies": false, "type": "", "demo": "tablesdb\/update-float-column.md", @@ -25425,7 +25425,7 @@ "x-appwrite": { "method": "createIntegerColumn", "group": "columns", - "weight": 404, + "weight": 403, "cookies": false, "type": "", "demo": "tablesdb\/create-integer-column.md", @@ -25547,7 +25547,7 @@ "x-appwrite": { "method": "updateIntegerColumn", "group": "columns", - "weight": 405, + "weight": 404, "cookies": false, "type": "", "demo": "tablesdb\/update-integer-column.md", @@ -25671,7 +25671,7 @@ "x-appwrite": { "method": "createIpColumn", "group": "columns", - "weight": 406, + "weight": 405, "cookies": false, "type": "", "demo": "tablesdb\/create-ip-column.md", @@ -25781,7 +25781,7 @@ "x-appwrite": { "method": "updateIpColumn", "group": "columns", - "weight": 407, + "weight": 406, "cookies": false, "type": "", "demo": "tablesdb\/update-ip-column.md", @@ -25893,7 +25893,7 @@ "x-appwrite": { "method": "createLineColumn", "group": "columns", - "weight": 408, + "weight": 407, "cookies": false, "type": "", "demo": "tablesdb\/create-line-column.md", @@ -25956,10 +25956,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -25998,7 +25998,7 @@ "x-appwrite": { "method": "updateLineColumn", "group": "columns", - "weight": 409, + "weight": 408, "cookies": false, "type": "", "demo": "tablesdb\/update-line-column.md", @@ -26062,10 +26062,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -26109,7 +26109,7 @@ "x-appwrite": { "method": "createPointColumn", "group": "columns", - "weight": 410, + "weight": 409, "cookies": false, "type": "", "demo": "tablesdb\/create-point-column.md", @@ -26172,10 +26172,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -26214,7 +26214,7 @@ "x-appwrite": { "method": "updatePointColumn", "group": "columns", - "weight": 411, + "weight": 410, "cookies": false, "type": "", "demo": "tablesdb\/update-point-column.md", @@ -26278,10 +26278,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -26325,7 +26325,7 @@ "x-appwrite": { "method": "createPolygonColumn", "group": "columns", - "weight": 412, + "weight": 411, "cookies": false, "type": "", "demo": "tablesdb\/create-polygon-column.md", @@ -26388,10 +26388,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true } }, @@ -26430,7 +26430,7 @@ "x-appwrite": { "method": "updatePolygonColumn", "group": "columns", - "weight": 413, + "weight": 412, "cookies": false, "type": "", "demo": "tablesdb\/update-polygon-column.md", @@ -26494,10 +26494,10 @@ "x-example": false }, "default": { - "type": "string", - "description": "Default value for column when not provided, as JSON string. Cannot be set when column is required.", + "type": "array", + "description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.", "default": null, - "x-example": null, + "x-example": "[[1,2], [3, 4]]", "x-nullable": true }, "newKey": { @@ -26541,7 +26541,7 @@ "x-appwrite": { "method": "createRelationshipColumn", "group": "columns", - "weight": 414, + "weight": 413, "cookies": false, "type": "", "demo": "tablesdb\/create-relationship-column.md", @@ -26678,7 +26678,7 @@ "x-appwrite": { "method": "createStringColumn", "group": "columns", - "weight": 416, + "weight": 415, "cookies": false, "type": "", "demo": "tablesdb\/create-string-column.md", @@ -26801,7 +26801,7 @@ "x-appwrite": { "method": "updateStringColumn", "group": "columns", - "weight": 417, + "weight": 416, "cookies": false, "type": "", "demo": "tablesdb\/update-string-column.md", @@ -26919,7 +26919,7 @@ "x-appwrite": { "method": "createUrlColumn", "group": "columns", - "weight": 418, + "weight": 417, "cookies": false, "type": "", "demo": "tablesdb\/create-url-column.md", @@ -27029,7 +27029,7 @@ "x-appwrite": { "method": "updateUrlColumn", "group": "columns", - "weight": 419, + "weight": 418, "cookies": false, "type": "", "demo": "tablesdb\/update-url-column.md", @@ -27170,7 +27170,7 @@ "x-appwrite": { "method": "getColumn", "group": "columns", - "weight": 391, + "weight": 390, "cookies": false, "type": "", "demo": "tablesdb\/get-column.md", @@ -27243,7 +27243,7 @@ "x-appwrite": { "method": "deleteColumn", "group": "columns", - "weight": 392, + "weight": 391, "cookies": false, "type": "", "demo": "tablesdb\/delete-column.md", @@ -27323,7 +27323,7 @@ "x-appwrite": { "method": "updateRelationshipColumn", "group": "columns", - "weight": 415, + "weight": 414, "cookies": false, "type": "", "demo": "tablesdb\/update-relationship-column.md", @@ -27429,7 +27429,7 @@ "x-appwrite": { "method": "listIndexes", "group": "indexes", - "weight": 423, + "weight": 422, "cookies": false, "type": "", "demo": "tablesdb\/list-indexes.md", @@ -27512,7 +27512,7 @@ "x-appwrite": { "method": "createIndex", "group": "indexes", - "weight": 420, + "weight": 419, "cookies": false, "type": "", "demo": "tablesdb\/create-index.md", @@ -27644,7 +27644,7 @@ "x-appwrite": { "method": "getIndex", "group": "indexes", - "weight": 421, + "weight": 420, "cookies": false, "type": "", "demo": "tablesdb\/get-index.md", @@ -27717,7 +27717,7 @@ "x-appwrite": { "method": "deleteIndex", "group": "indexes", - "weight": 422, + "weight": 421, "cookies": false, "type": "", "demo": "tablesdb\/delete-index.md", @@ -27795,7 +27795,7 @@ "x-appwrite": { "method": "listRows", "group": "rows", - "weight": 432, + "weight": 431, "cookies": false, "type": "", "demo": "tablesdb\/list-rows.md", @@ -27881,7 +27881,7 @@ "x-appwrite": { "method": "createRow", "group": "rows", - "weight": 424, + "weight": 423, "cookies": false, "type": "", "demo": "tablesdb\/create-row.md", @@ -28003,7 +28003,7 @@ "type": "object", "description": "Row data as JSON object.", "default": [], - "x-example": "{}" + "x-example": "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}" }, "permissions": { "type": "array", @@ -28053,7 +28053,7 @@ "x-appwrite": { "method": "upsertRows", "group": "rows", - "weight": 429, + "weight": 428, "cookies": false, "type": "", "demo": "tablesdb\/upsert-rows.md", @@ -28175,7 +28175,7 @@ "x-appwrite": { "method": "updateRows", "group": "rows", - "weight": 427, + "weight": 426, "cookies": false, "type": "", "demo": "tablesdb\/update-rows.md", @@ -28271,7 +28271,7 @@ "x-appwrite": { "method": "deleteRows", "group": "rows", - "weight": 431, + "weight": 430, "cookies": false, "type": "", "demo": "tablesdb\/delete-rows.md", @@ -28361,7 +28361,7 @@ "x-appwrite": { "method": "getRow", "group": "rows", - "weight": 425, + "weight": 424, "cookies": false, "type": "", "demo": "tablesdb\/get-row.md", @@ -28455,7 +28455,7 @@ "x-appwrite": { "method": "upsertRow", "group": "rows", - "weight": 428, + "weight": 427, "cookies": false, "type": "", "demo": "tablesdb\/upsert-row.md", @@ -28592,7 +28592,7 @@ "x-appwrite": { "method": "updateRow", "group": "rows", - "weight": 426, + "weight": 425, "cookies": false, "type": "", "demo": "tablesdb\/update-row.md", @@ -28693,7 +28693,7 @@ "x-appwrite": { "method": "deleteRow", "group": "rows", - "weight": 430, + "weight": 429, "cookies": false, "type": "", "demo": "tablesdb\/delete-row.md", @@ -28777,7 +28777,7 @@ "x-appwrite": { "method": "decrementRowColumn", "group": "rows", - "weight": 435, + "weight": 434, "cookies": false, "type": "", "demo": "tablesdb\/decrement-row-column.md", @@ -28890,7 +28890,7 @@ "x-appwrite": { "method": "incrementRowColumn", "group": "rows", - "weight": 434, + "weight": 433, "cookies": false, "type": "", "demo": "tablesdb\/increment-row-column.md", @@ -29001,7 +29001,7 @@ "x-appwrite": { "method": "list", "group": "teams", - "weight": 172, + "weight": 171, "cookies": false, "type": "", "demo": "teams\/list.md", @@ -29077,7 +29077,7 @@ "x-appwrite": { "method": "create", "group": "teams", - "weight": 171, + "weight": 170, "cookies": false, "type": "", "demo": "teams\/create.md", @@ -29168,7 +29168,7 @@ "x-appwrite": { "method": "get", "group": "teams", - "weight": 173, + "weight": 172, "cookies": false, "type": "", "demo": "teams\/get.md", @@ -29231,7 +29231,7 @@ "x-appwrite": { "method": "updateName", "group": "teams", - "weight": 175, + "weight": 174, "cookies": false, "type": "", "demo": "teams\/update-name.md", @@ -29307,7 +29307,7 @@ "x-appwrite": { "method": "delete", "group": "teams", - "weight": 177, + "weight": 176, "cookies": false, "type": "", "demo": "teams\/delete.md", @@ -29370,7 +29370,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 179, + "weight": 178, "cookies": false, "type": "", "demo": "teams\/list-memberships.md", @@ -29454,7 +29454,7 @@ "x-appwrite": { "method": "createMembership", "group": "memberships", - "weight": 178, + "weight": 177, "cookies": false, "type": "", "demo": "teams\/create-membership.md", @@ -29568,7 +29568,7 @@ "x-appwrite": { "method": "getMembership", "group": "memberships", - "weight": 180, + "weight": 179, "cookies": false, "type": "", "demo": "teams\/get-membership.md", @@ -29639,7 +29639,7 @@ "x-appwrite": { "method": "updateMembership", "group": "memberships", - "weight": 181, + "weight": 180, "cookies": false, "type": "", "demo": "teams\/update-membership.md", @@ -29726,7 +29726,7 @@ "x-appwrite": { "method": "deleteMembership", "group": "memberships", - "weight": 183, + "weight": 182, "cookies": false, "type": "", "demo": "teams\/delete-membership.md", @@ -29799,7 +29799,7 @@ "x-appwrite": { "method": "updateMembershipStatus", "group": "memberships", - "weight": 182, + "weight": 181, "cookies": false, "type": "", "demo": "teams\/update-membership-status.md", @@ -29894,7 +29894,7 @@ "x-appwrite": { "method": "getPrefs", "group": "teams", - "weight": 174, + "weight": 173, "cookies": false, "type": "", "demo": "teams\/get-prefs.md", @@ -29956,7 +29956,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "teams", - "weight": 176, + "weight": 175, "cookies": false, "type": "", "demo": "teams\/update-prefs.md", @@ -30396,7 +30396,7 @@ "x-appwrite": { "method": "list", "group": "users", - "weight": 194, + "weight": 193, "cookies": false, "type": "", "demo": "users\/list.md", @@ -30469,7 +30469,7 @@ "x-appwrite": { "method": "create", "group": "users", - "weight": 185, + "weight": 184, "cookies": false, "type": "", "demo": "users\/create.md", @@ -30565,7 +30565,7 @@ "x-appwrite": { "method": "createArgon2User", "group": "users", - "weight": 188, + "weight": 187, "cookies": false, "type": "", "demo": "users\/create-argon-2-user.md", @@ -30657,7 +30657,7 @@ "x-appwrite": { "method": "createBcryptUser", "group": "users", - "weight": 186, + "weight": 185, "cookies": false, "type": "", "demo": "users\/create-bcrypt-user.md", @@ -30747,7 +30747,7 @@ "x-appwrite": { "method": "listIdentities", "group": "identities", - "weight": 202, + "weight": 201, "cookies": false, "type": "", "demo": "users\/list-identities.md", @@ -30817,7 +30817,7 @@ "x-appwrite": { "method": "deleteIdentity", "group": "identities", - "weight": 225, + "weight": 224, "cookies": false, "type": "", "demo": "users\/delete-identity.md", @@ -30879,7 +30879,7 @@ "x-appwrite": { "method": "createMD5User", "group": "users", - "weight": 187, + "weight": 186, "cookies": false, "type": "", "demo": "users\/create-md-5-user.md", @@ -30971,7 +30971,7 @@ "x-appwrite": { "method": "createPHPassUser", "group": "users", - "weight": 190, + "weight": 189, "cookies": false, "type": "", "demo": "users\/create-ph-pass-user.md", @@ -31063,7 +31063,7 @@ "x-appwrite": { "method": "createScryptUser", "group": "users", - "weight": 191, + "weight": 190, "cookies": false, "type": "", "demo": "users\/create-scrypt-user.md", @@ -31190,7 +31190,7 @@ "x-appwrite": { "method": "createScryptModifiedUser", "group": "users", - "weight": 192, + "weight": 191, "cookies": false, "type": "", "demo": "users\/create-scrypt-modified-user.md", @@ -31303,7 +31303,7 @@ "x-appwrite": { "method": "createSHAUser", "group": "users", - "weight": 189, + "weight": 188, "cookies": false, "type": "", "demo": "users\/create-sha-user.md", @@ -31414,7 +31414,7 @@ "x-appwrite": { "method": "get", "group": "users", - "weight": 195, + "weight": 194, "cookies": false, "type": "", "demo": "users\/get.md", @@ -31469,7 +31469,7 @@ "x-appwrite": { "method": "delete", "group": "users", - "weight": 223, + "weight": 222, "cookies": false, "type": "", "demo": "users\/delete.md", @@ -31531,7 +31531,7 @@ "x-appwrite": { "method": "updateEmail", "group": "users", - "weight": 208, + "weight": 207, "cookies": false, "type": "", "demo": "users\/update-email.md", @@ -31611,7 +31611,7 @@ "x-appwrite": { "method": "createJWT", "group": "sessions", - "weight": 226, + "weight": 225, "cookies": false, "type": "", "demo": "users\/create-jwt.md", @@ -31694,7 +31694,7 @@ "x-appwrite": { "method": "updateLabels", "group": "users", - "weight": 204, + "weight": 203, "cookies": false, "type": "", "demo": "users\/update-labels.md", @@ -31775,7 +31775,7 @@ "x-appwrite": { "method": "listLogs", "group": "logs", - "weight": 200, + "weight": 199, "cookies": false, "type": "", "demo": "users\/list-logs.md", @@ -31847,7 +31847,7 @@ "x-appwrite": { "method": "listMemberships", "group": "memberships", - "weight": 199, + "weight": 198, "cookies": false, "type": "", "demo": "users\/list-memberships.md", @@ -31930,7 +31930,7 @@ "x-appwrite": { "method": "updateMfa", "group": "users", - "weight": 213, + "weight": 212, "cookies": false, "type": "", "demo": "users\/update-mfa.md", @@ -32065,7 +32065,7 @@ "x-appwrite": { "method": "deleteMfaAuthenticator", "group": "mfa", - "weight": 218, + "weight": 217, "cookies": false, "type": "", "demo": "users\/delete-mfa-authenticator.md", @@ -32196,7 +32196,7 @@ "x-appwrite": { "method": "listMfaFactors", "group": "mfa", - "weight": 214, + "weight": 213, "cookies": false, "type": "", "demo": "users\/list-mfa-factors.md", @@ -32312,7 +32312,7 @@ "x-appwrite": { "method": "getMfaRecoveryCodes", "group": "mfa", - "weight": 215, + "weight": 214, "cookies": false, "type": "", "demo": "users\/get-mfa-recovery-codes.md", @@ -32428,7 +32428,7 @@ "x-appwrite": { "method": "updateMfaRecoveryCodes", "group": "mfa", - "weight": 217, + "weight": 216, "cookies": false, "type": "", "demo": "users\/update-mfa-recovery-codes.md", @@ -32544,7 +32544,7 @@ "x-appwrite": { "method": "createMfaRecoveryCodes", "group": "mfa", - "weight": 216, + "weight": 215, "cookies": false, "type": "", "demo": "users\/create-mfa-recovery-codes.md", @@ -32662,7 +32662,7 @@ "x-appwrite": { "method": "updateName", "group": "users", - "weight": 206, + "weight": 205, "cookies": false, "type": "", "demo": "users\/update-name.md", @@ -32742,7 +32742,7 @@ "x-appwrite": { "method": "updatePassword", "group": "users", - "weight": 207, + "weight": 206, "cookies": false, "type": "", "demo": "users\/update-password.md", @@ -32822,7 +32822,7 @@ "x-appwrite": { "method": "updatePhone", "group": "users", - "weight": 209, + "weight": 208, "cookies": false, "type": "", "demo": "users\/update-phone.md", @@ -32900,7 +32900,7 @@ "x-appwrite": { "method": "getPrefs", "group": "users", - "weight": 196, + "weight": 195, "cookies": false, "type": "", "demo": "users\/get-prefs.md", @@ -32960,7 +32960,7 @@ "x-appwrite": { "method": "updatePrefs", "group": "users", - "weight": 211, + "weight": 210, "cookies": false, "type": "", "demo": "users\/update-prefs.md", @@ -33038,7 +33038,7 @@ "x-appwrite": { "method": "listSessions", "group": "sessions", - "weight": 198, + "weight": 197, "cookies": false, "type": "", "demo": "users\/list-sessions.md", @@ -33098,7 +33098,7 @@ "x-appwrite": { "method": "createSession", "group": "sessions", - "weight": 219, + "weight": 218, "cookies": false, "type": "", "demo": "users\/create-session.md", @@ -33153,7 +33153,7 @@ "x-appwrite": { "method": "deleteSessions", "group": "sessions", - "weight": 222, + "weight": 221, "cookies": false, "type": "", "demo": "users\/delete-sessions.md", @@ -33210,7 +33210,7 @@ "x-appwrite": { "method": "deleteSession", "group": "sessions", - "weight": 221, + "weight": 220, "cookies": false, "type": "", "demo": "users\/delete-session.md", @@ -33280,7 +33280,7 @@ "x-appwrite": { "method": "updateStatus", "group": "users", - "weight": 203, + "weight": 202, "cookies": false, "type": "", "demo": "users\/update-status.md", @@ -33358,7 +33358,7 @@ "x-appwrite": { "method": "listTargets", "group": "targets", - "weight": 201, + "weight": 200, "cookies": false, "type": "", "demo": "users\/list-targets.md", @@ -33431,7 +33431,7 @@ "x-appwrite": { "method": "createTarget", "group": "targets", - "weight": 193, + "weight": 192, "cookies": false, "type": "", "demo": "users\/create-target.md", @@ -33543,7 +33543,7 @@ "x-appwrite": { "method": "getTarget", "group": "targets", - "weight": 197, + "weight": 196, "cookies": false, "type": "", "demo": "users\/get-target.md", @@ -33612,7 +33612,7 @@ "x-appwrite": { "method": "updateTarget", "group": "targets", - "weight": 212, + "weight": 211, "cookies": false, "type": "", "demo": "users\/update-target.md", @@ -33703,7 +33703,7 @@ "x-appwrite": { "method": "deleteTarget", "group": "targets", - "weight": 224, + "weight": 223, "cookies": false, "type": "", "demo": "users\/delete-target.md", @@ -33774,7 +33774,7 @@ "x-appwrite": { "method": "createToken", "group": "sessions", - "weight": 220, + "weight": 219, "cookies": false, "type": "", "demo": "users\/create-token.md", @@ -33857,7 +33857,7 @@ "x-appwrite": { "method": "updateEmailVerification", "group": "users", - "weight": 210, + "weight": 209, "cookies": false, "type": "", "demo": "users\/update-email-verification.md", @@ -33937,7 +33937,7 @@ "x-appwrite": { "method": "updatePhoneVerification", "group": "users", - "weight": 205, + "weight": 204, "cookies": false, "type": "", "demo": "users\/update-phone-verification.md", @@ -36247,10 +36247,13 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[0, 0]" + "x-example": [ + 0, + 0 + ], + "x-nullable": true } }, "required": [ @@ -36271,7 +36274,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "attributeLine": { @@ -36320,10 +36326,19 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[0, 0], [1, 1]]" + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], + "x-nullable": true } }, "required": [ @@ -36344,7 +36359,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "attributePolygon": { @@ -36393,10 +36417,31 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], + "x-nullable": true } }, "required": [ @@ -36417,7 +36462,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "table": { @@ -37527,10 +37593,13 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[0, 0]" + "x-example": [ + 0, + 0 + ], + "x-nullable": true } }, "required": [ @@ -37551,7 +37620,10 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[0, 0]" + "default": [ + 0, + 0 + ] } }, "columnLine": { @@ -37600,10 +37672,19 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[0, 0], [1, 1]]" + "x-example": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ], + "x-nullable": true } }, "required": [ @@ -37624,7 +37705,16 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[0, 0], [1, 1]]" + "default": [ + [ + 0, + 0 + ], + [ + 1, + 1 + ] + ] } }, "columnPolygon": { @@ -37673,10 +37763,31 @@ "x-example": "2020-10-15T06:38:00.000+00:00" }, "default": { - "type": "object", - "additionalProperties": true, + "type": "array", "description": "Default value for column when not provided. Cannot be set when column is required.", - "x-example": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "x-example": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ], + "x-nullable": true } }, "required": [ @@ -37697,7 +37808,28 @@ "array": false, "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", - "default": "[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]" + "default": [ + [ + [ + 0, + 0 + ], + [ + 0, + 10 + ] + ], + [ + [ + 10, + 10 + ], + [ + 0, + 0 + ] + ] + ] } }, "index": { diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 24cc116aed..7f76e39cd9 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -3168,7 +3168,7 @@ App::patch('/v1/account/prefs') ], contentType: ContentType::JSON )) - ->param('prefs', [], new Assoc(), 'Prefs key-value JSON object.') + ->param('prefs', [], new Assoc(), 'Prefs key-value JSON object.', example: '{"language":"en","timezone":"UTC","darkTheme":true}') ->inject('requestTimestamp') ->inject('response') ->inject('user') diff --git a/app/controllers/api/projects.php b/app/controllers/api/projects.php index 4f34156115..ea3a00dcb6 100644 --- a/app/controllers/api/projects.php +++ b/app/controllers/api/projects.php @@ -30,14 +30,11 @@ use Utopia\Database\Database; use Utopia\Database\DateTime; use Utopia\Database\Document; use Utopia\Database\Exception\Duplicate; -use Utopia\Database\Exception\Order as OrderException; -use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Permission; use Utopia\Database\Helpers\Role; use Utopia\Database\Query; use Utopia\Database\Validator\Datetime as DatetimeValidator; -use Utopia\Database\Validator\Query\Cursor; use Utopia\Database\Validator\UID; use Utopia\Domains\Validator\PublicDomain; use Utopia\DSN\DSN; @@ -304,77 +301,6 @@ App::post('/v1/projects') ->dynamic($project, Response::MODEL_PROJECT); }); -App::get('/v1/projects') - ->desc('List projects') - ->groups(['api', 'projects']) - ->label('scope', 'projects.read') - ->label('sdk', new Method( - namespace: 'projects', - group: 'projects', - name: 'list', - description: '/docs/references/projects/list.md', - auth: [AuthType::ADMIN], - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_OK, - model: Response::MODEL_PROJECT_LIST, - ) - ] - )) - ->param('queries', [], new Projects(), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long. You may filter on the following attributes: ' . implode(', ', Projects::ALLOWED_ATTRIBUTES), true) - ->param('search', '', new Text(256), 'Search term to filter your list results. Max length: 256 chars.', true) - ->inject('response') - ->inject('dbForPlatform') - ->action(function (array $queries, string $search, Response $response, Database $dbForPlatform) { - - try { - $queries = Query::parseQueries($queries); - } catch (QueryException $e) { - throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); - } - - if (!empty($search)) { - $queries[] = Query::search('search', $search); - } - - /** - * Get cursor document if there was a cursor query, we use array_filter and reset for reference $cursor to $queries - */ - $cursor = \array_filter($queries, function ($query) { - return \in_array($query->getMethod(), [Query::TYPE_CURSOR_AFTER, Query::TYPE_CURSOR_BEFORE]); - }); - $cursor = reset($cursor); - if ($cursor) { - /** @var Query $cursor */ - - $validator = new Cursor(); - if (!$validator->isValid($cursor)) { - throw new Exception(Exception::GENERAL_QUERY_INVALID, $validator->getDescription()); - } - - $projectId = $cursor->getValue(); - $cursorDocument = $dbForPlatform->getDocument('projects', $projectId); - - if ($cursorDocument->isEmpty()) { - throw new Exception(Exception::GENERAL_CURSOR_NOT_FOUND, "Project '{$projectId}' for the 'cursor' value not found."); - } - - $cursor->setValue($cursorDocument); - } - - $filterQueries = Query::groupByType($queries)['filters']; - try { - $projects = $dbForPlatform->find('projects', $queries); - $total = $dbForPlatform->count('projects', $filterQueries, APP_LIMIT_COUNT); - } catch (OrderException $e) { - throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); - } - $response->dynamic(new Document([ - 'projects' => $projects, - 'total' => $total, - ]), Response::MODEL_PROJECT_LIST); - }); - App::get('/v1/projects/:projectId') ->desc('Get project') ->groups(['api', 'projects']) diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php index 2873d7c69b..7398e451b5 100644 --- a/app/controllers/api/teams.php +++ b/app/controllers/api/teams.php @@ -36,6 +36,7 @@ use Utopia\Database\Exception\Authorization as AuthorizationException; use Utopia\Database\Exception\Duplicate; use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; +use Utopia\Database\Exception\Structure as StructureException; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Permission; use Utopia\Database\Helpers\Role; @@ -282,7 +283,13 @@ App::get('/v1/teams/:teamId/prefs') $prefs = $team->getAttribute('prefs', []); - $response->dynamic(new Document($prefs), Response::MODEL_PREFERENCES); + try { + $prefs = new Document($prefs); + } catch (StructureException $e) { + throw new Exception(Exception::DOCUMENT_INVALID_STRUCTURE, $e->getMessage()); + } + + $response->dynamic($prefs, Response::MODEL_PREFERENCES); }); App::put('/v1/teams/:teamId') @@ -357,6 +364,11 @@ App::put('/v1/teams/:teamId/prefs') ->inject('dbForProject') ->inject('queueForEvents') ->action(function (string $teamId, array $prefs, Response $response, Database $dbForProject, Event $queueForEvents) { + try { + $prefs = new Document($prefs); + } catch (StructureException $e) { + throw new Exception(Exception::DOCUMENT_INVALID_STRUCTURE, $e->getMessage()); + } $team = $dbForProject->getDocument('teams', $teamId); @@ -364,11 +376,13 @@ App::put('/v1/teams/:teamId/prefs') throw new Exception(Exception::TEAM_NOT_FOUND); } - $team = $dbForProject->updateDocument('teams', $team->getId(), $team->setAttribute('prefs', $prefs)); + $team = $dbForProject->updateDocument('teams', $team->getId(), new Document([ + 'prefs' => $prefs->getArrayCopy() + ])); $queueForEvents->setParam('teamId', $team->getId()); - $response->dynamic(new Document($prefs), Response::MODEL_PREFERENCES); + $response->dynamic($prefs, Response::MODEL_PREFERENCES); }); App::delete('/v1/teams/:teamId') diff --git a/app/controllers/general.php b/app/controllers/general.php index 50d56ff9fd..8abca96742 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -718,7 +718,16 @@ function router(App $utopia, Database $dbForPlatform, callable $getProjectDB, Sw continue; } - $response->setHeader($name, $values); + if (\is_array($values)) { + $count = 0; + foreach ($values as $value) { + $override = $count === 0; + $response->addHeader($name, $value, override: $override); + $count++; + } + } else { + $response->addHeader($name, $values); + } } $response diff --git a/composer.json b/composer.json index 0c662c775f..1dc7288441 100644 --- a/composer.json +++ b/composer.json @@ -68,7 +68,7 @@ "utopia-php/platform": "0.7.*", "utopia-php/pools": "0.8.*", "utopia-php/preloader": "0.2.*", - "utopia-php/queue": "0.11.0", + "utopia-php/queue": "0.11.*", "utopia-php/registry": "0.5.*", "utopia-php/storage": "0.18.*", "utopia-php/swoole": "0.8.*", diff --git a/composer.lock b/composer.lock index bd1e62dac2..bd70f229ad 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "0da713ee5642eba1d30bc51c1a04a723", + "content-hash": "7553e976312b0423cc31544abb91caec", "packages": [ { "name": "adhocore/jwt", @@ -283,25 +283,25 @@ }, { "name": "brick/math", - "version": "0.13.1", + "version": "0.14.0", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "fc7ed316430118cc7836bf45faff18d5dfc8de04" + "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/fc7ed316430118cc7836bf45faff18d5dfc8de04", - "reference": "fc7ed316430118cc7836bf45faff18d5dfc8de04", + "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", + "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", "shasum": "" }, "require": { - "php": "^8.1" + "php": "^8.2" }, "require-dev": { "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^10.1", - "vimeo/psalm": "6.8.8" + "phpstan/phpstan": "2.1.22", + "phpunit/phpunit": "^11.5" }, "type": "library", "autoload": { @@ -331,7 +331,7 @@ ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.13.1" + "source": "https://github.com/brick/math/tree/0.14.0" }, "funding": [ { @@ -339,7 +339,7 @@ "type": "github" } ], - "time": "2025-03-29T13:50:30+00:00" + "time": "2025-08-29T12:40:03+00:00" }, { "name": "chillerlan/php-qrcode", @@ -1162,16 +1162,16 @@ }, { "name": "open-telemetry/api", - "version": "1.4.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/api.git", - "reference": "b3a9286f9c1c8247c83493c5b1fa475cd0cec7f7" + "reference": "7692075f486c14d8cfd37fba98a08a5667f089e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/api/zipball/b3a9286f9c1c8247c83493c5b1fa475cd0cec7f7", - "reference": "b3a9286f9c1c8247c83493c5b1fa475cd0cec7f7", + "url": "https://api.github.com/repos/opentelemetry-php/api/zipball/7692075f486c14d8cfd37fba98a08a5667f089e5", + "reference": "7692075f486c14d8cfd37fba98a08a5667f089e5", "shasum": "" }, "require": { @@ -1228,7 +1228,7 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2025-06-19T23:36:51+00:00" + "time": "2025-08-07T23:07:38+00:00" }, { "name": "open-telemetry/context", @@ -1418,22 +1418,22 @@ }, { "name": "open-telemetry/sdk", - "version": "1.7.0", + "version": "1.7.1", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/sdk.git", - "reference": "86287cf30fd6549444d7b8f7d8758d92e24086ac" + "reference": "52690d4b37ae4f091af773eef3c238ed2bc0aa06" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/sdk/zipball/86287cf30fd6549444d7b8f7d8758d92e24086ac", - "reference": "86287cf30fd6549444d7b8f7d8758d92e24086ac", + "url": "https://api.github.com/repos/opentelemetry-php/sdk/zipball/52690d4b37ae4f091af773eef3c238ed2bc0aa06", + "reference": "52690d4b37ae4f091af773eef3c238ed2bc0aa06", "shasum": "" }, "require": { "ext-json": "*", "nyholm/psr7-server": "^1.1", - "open-telemetry/api": "~1.4.0", + "open-telemetry/api": "^1.4", "open-telemetry/context": "^1.0", "open-telemetry/sem-conv": "^1.0", "php": "^8.1", @@ -1511,7 +1511,7 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2025-08-06T03:07:06+00:00" + "time": "2025-09-05T07:17:06+00:00" }, { "name": "open-telemetry/sem-conv", @@ -2379,20 +2379,20 @@ }, { "name": "ramsey/uuid", - "version": "4.9.0", + "version": "4.9.1", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "4e0e23cc785f0724a0e838279a9eb03f28b092a0" + "reference": "81f941f6f729b1e3ceea61d9d014f8b6c6800440" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/4e0e23cc785f0724a0e838279a9eb03f28b092a0", - "reference": "4e0e23cc785f0724a0e838279a9eb03f28b092a0", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/81f941f6f729b1e3ceea61d9d014f8b6c6800440", + "reference": "81f941f6f729b1e3ceea61d9d014f8b6c6800440", "shasum": "" }, "require": { - "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13", + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13 || ^0.14", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" }, @@ -2451,9 +2451,9 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.9.0" + "source": "https://github.com/ramsey/uuid/tree/4.9.1" }, - "time": "2025-06-25T14:20:11+00:00" + "time": "2025-09-04T20:59:21+00:00" }, { "name": "spomky-labs/otphp", @@ -3638,16 +3638,16 @@ }, { "name": "utopia-php/database", - "version": "1.4.0", + "version": "1.4.1", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "d32bd6160d55cab0cbe4b070e1c56e4c2a03c7a0" + "reference": "b5ea4d133a1a4e747b7522e61e072289129a06f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/d32bd6160d55cab0cbe4b070e1c56e4c2a03c7a0", - "reference": "d32bd6160d55cab0cbe4b070e1c56e4c2a03c7a0", + "url": "https://api.github.com/repos/utopia-php/database/zipball/b5ea4d133a1a4e747b7522e61e072289129a06f4", + "reference": "b5ea4d133a1a4e747b7522e61e072289129a06f4", "shasum": "" }, "require": { @@ -3688,9 +3688,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/1.4.0" + "source": "https://github.com/utopia-php/database/tree/1.4.1" }, - "time": "2025-09-04T11:45:26+00:00" + "time": "2025-09-05T13:23:52+00:00" }, { "name": "utopia-php/detector", @@ -3942,16 +3942,16 @@ }, { "name": "utopia-php/framework", - "version": "0.33.24", + "version": "0.33.27", "source": { "type": "git", "url": "https://github.com/utopia-php/http.git", - "reference": "5112b1023342163e3fbedec99f38fc32c8700aa0" + "reference": "d9d10a895e85c8c7675220347cc6109db9d3bd37" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/http/zipball/5112b1023342163e3fbedec99f38fc32c8700aa0", - "reference": "5112b1023342163e3fbedec99f38fc32c8700aa0", + "url": "https://api.github.com/repos/utopia-php/http/zipball/d9d10a895e85c8c7675220347cc6109db9d3bd37", + "reference": "d9d10a895e85c8c7675220347cc6109db9d3bd37", "shasum": "" }, "require": { @@ -3983,9 +3983,9 @@ ], "support": { "issues": "https://github.com/utopia-php/http/issues", - "source": "https://github.com/utopia-php/http/tree/0.33.24" + "source": "https://github.com/utopia-php/http/tree/0.33.27" }, - "time": "2025-09-04T04:18:39+00:00" + "time": "2025-09-07T18:40:53+00:00" }, { "name": "utopia-php/image", @@ -4296,16 +4296,16 @@ }, { "name": "utopia-php/platform", - "version": "0.7.8", + "version": "0.7.12", "source": { "type": "git", "url": "https://github.com/utopia-php/platform.git", - "reference": "e3a4536c46f10988b1a446ec6b8dd8a9914be854" + "reference": "04255de21db75e90b170040f4d1b457ba721e7a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/platform/zipball/e3a4536c46f10988b1a446ec6b8dd8a9914be854", - "reference": "e3a4536c46f10988b1a446ec6b8dd8a9914be854", + "url": "https://api.github.com/repos/utopia-php/platform/zipball/04255de21db75e90b170040f4d1b457ba721e7a5", + "reference": "04255de21db75e90b170040f4d1b457ba721e7a5", "shasum": "" }, "require": { @@ -4340,9 +4340,9 @@ ], "support": { "issues": "https://github.com/utopia-php/platform/issues", - "source": "https://github.com/utopia-php/platform/tree/0.7.8" + "source": "https://github.com/utopia-php/platform/tree/0.7.12" }, - "time": "2025-05-30T10:05:43+00:00" + "time": "2025-09-05T15:53:12+00:00" }, { "name": "utopia-php/pools", @@ -4451,16 +4451,16 @@ }, { "name": "utopia-php/queue", - "version": "0.11.0", + "version": "0.11.1", "source": { "type": "git", "url": "https://github.com/utopia-php/queue.git", - "reference": "06b5ced0eaed2ecc6aab6d8e1b4d96bff37a1ce5" + "reference": "498bbbef418b1db71b51e1bb62f5d1d752ddd8d6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/queue/zipball/06b5ced0eaed2ecc6aab6d8e1b4d96bff37a1ce5", - "reference": "06b5ced0eaed2ecc6aab6d8e1b4d96bff37a1ce5", + "url": "https://api.github.com/repos/utopia-php/queue/zipball/498bbbef418b1db71b51e1bb62f5d1d752ddd8d6", + "reference": "498bbbef418b1db71b51e1bb62f5d1d752ddd8d6", "shasum": "" }, "require": { @@ -4511,9 +4511,9 @@ ], "support": { "issues": "https://github.com/utopia-php/queue/issues", - "source": "https://github.com/utopia-php/queue/tree/0.11.0" + "source": "https://github.com/utopia-php/queue/tree/0.11.1" }, - "time": "2025-05-30T09:52:38+00:00" + "time": "2025-05-30T11:50:34+00:00" }, { "name": "utopia-php/registry", @@ -4627,16 +4627,16 @@ }, { "name": "utopia-php/swoole", - "version": "0.8.3", + "version": "0.8.4", "source": { "type": "git", "url": "https://github.com/utopia-php/swoole.git", - "reference": "1af73dd3e73987cf729c7db399054e4a70befd99" + "reference": "150c30700e738c52348cce9ed0e0f0ff96872081" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/swoole/zipball/1af73dd3e73987cf729c7db399054e4a70befd99", - "reference": "1af73dd3e73987cf729c7db399054e4a70befd99", + "url": "https://api.github.com/repos/utopia-php/swoole/zipball/150c30700e738c52348cce9ed0e0f0ff96872081", + "reference": "150c30700e738c52348cce9ed0e0f0ff96872081", "shasum": "" }, "require": { @@ -4672,9 +4672,9 @@ ], "support": { "issues": "https://github.com/utopia-php/swoole/issues", - "source": "https://github.com/utopia-php/swoole/tree/0.8.3" + "source": "https://github.com/utopia-php/swoole/tree/0.8.4" }, - "time": "2025-03-26T10:09:05+00:00" + "time": "2025-09-07T09:39:46+00:00" }, { "name": "utopia-php/system", @@ -5007,16 +5007,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "1.1.16", + "version": "1.3.2", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "f8fbc4b1ba0e918825338f50cbdea4d887389c41" + "reference": "375a6c9b168db6fdf58fbe0d49d2261d80700b4a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/f8fbc4b1ba0e918825338f50cbdea4d887389c41", - "reference": "f8fbc4b1ba0e918825338f50cbdea4d887389c41", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/375a6c9b168db6fdf58fbe0d49d2261d80700b4a", + "reference": "375a6c9b168db6fdf58fbe0d49d2261d80700b4a", "shasum": "" }, "require": { @@ -5052,9 +5052,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/1.1.16" + "source": "https://github.com/appwrite/sdk-generator/tree/1.3.2" }, - "time": "2025-09-03T06:50:04+00:00" + "time": "2025-09-05T15:50:35+00:00" }, { "name": "doctrine/annotations", @@ -8512,7 +8512,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": {}, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": { @@ -8536,5 +8536,5 @@ "platform-overrides": { "php": "8.3" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.3.0" } diff --git a/docs/examples/1.8.x/console-cli/examples/databases/create-line-attribute.md b/docs/examples/1.8.x/console-cli/examples/databases/create-line-attribute.md new file mode 100644 index 0000000000..f0d81ede67 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/databases/create-line-attribute.md @@ -0,0 +1,5 @@ +appwrite databases create-line-attribute \ + --database-id \ + --collection-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/databases/create-point-attribute.md b/docs/examples/1.8.x/console-cli/examples/databases/create-point-attribute.md new file mode 100644 index 0000000000..926c7318e0 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/databases/create-point-attribute.md @@ -0,0 +1,5 @@ +appwrite databases create-point-attribute \ + --database-id \ + --collection-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/databases/create-polygon-attribute.md b/docs/examples/1.8.x/console-cli/examples/databases/create-polygon-attribute.md new file mode 100644 index 0000000000..f0a00c744f --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/databases/create-polygon-attribute.md @@ -0,0 +1,5 @@ +appwrite databases create-polygon-attribute \ + --database-id \ + --collection-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/databases/update-line-attribute.md b/docs/examples/1.8.x/console-cli/examples/databases/update-line-attribute.md new file mode 100644 index 0000000000..37059ecef1 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/databases/update-line-attribute.md @@ -0,0 +1,5 @@ +appwrite databases update-line-attribute \ + --database-id \ + --collection-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/databases/update-point-attribute.md b/docs/examples/1.8.x/console-cli/examples/databases/update-point-attribute.md new file mode 100644 index 0000000000..bcc983a432 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/databases/update-point-attribute.md @@ -0,0 +1,5 @@ +appwrite databases update-point-attribute \ + --database-id \ + --collection-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/databases/update-polygon-attribute.md b/docs/examples/1.8.x/console-cli/examples/databases/update-polygon-attribute.md new file mode 100644 index 0000000000..6e1e1001da --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/databases/update-polygon-attribute.md @@ -0,0 +1,5 @@ +appwrite databases update-polygon-attribute \ + --database-id \ + --collection-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/tablesdb/create-line-column.md b/docs/examples/1.8.x/console-cli/examples/tablesdb/create-line-column.md new file mode 100644 index 0000000000..cd6db93ea9 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/tablesdb/create-line-column.md @@ -0,0 +1,5 @@ +appwrite tables-db create-line-column \ + --database-id \ + --table-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/tablesdb/create-point-column.md b/docs/examples/1.8.x/console-cli/examples/tablesdb/create-point-column.md new file mode 100644 index 0000000000..0e7d2320d1 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/tablesdb/create-point-column.md @@ -0,0 +1,5 @@ +appwrite tables-db create-point-column \ + --database-id \ + --table-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/tablesdb/create-polygon-column.md b/docs/examples/1.8.x/console-cli/examples/tablesdb/create-polygon-column.md new file mode 100644 index 0000000000..060323b152 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/tablesdb/create-polygon-column.md @@ -0,0 +1,5 @@ +appwrite tables-db create-polygon-column \ + --database-id \ + --table-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/tablesdb/update-line-column.md b/docs/examples/1.8.x/console-cli/examples/tablesdb/update-line-column.md new file mode 100644 index 0000000000..203ebd64db --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/tablesdb/update-line-column.md @@ -0,0 +1,5 @@ +appwrite tables-db update-line-column \ + --database-id \ + --table-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/tablesdb/update-point-column.md b/docs/examples/1.8.x/console-cli/examples/tablesdb/update-point-column.md new file mode 100644 index 0000000000..676a37ef49 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/tablesdb/update-point-column.md @@ -0,0 +1,5 @@ +appwrite tables-db update-point-column \ + --database-id \ + --table-id \ + --key '' \ + --required false diff --git a/docs/examples/1.8.x/console-cli/examples/tablesdb/update-polygon-column.md b/docs/examples/1.8.x/console-cli/examples/tablesdb/update-polygon-column.md new file mode 100644 index 0000000000..24e1f01f91 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/tablesdb/update-polygon-column.md @@ -0,0 +1,5 @@ +appwrite tables-db update-polygon-column \ + --database-id \ + --table-id \ + --key '' \ + --required false diff --git a/docs/references/projects/list.md b/docs/references/projects/list.md deleted file mode 100644 index 576a4b79ae..0000000000 --- a/docs/references/projects/list.md +++ /dev/null @@ -1 +0,0 @@ -Get a list of all projects. You can use the query params to filter your results. \ No newline at end of file diff --git a/src/Appwrite/GraphQL/Types/Mapper.php b/src/Appwrite/GraphQL/Types/Mapper.php index 214dbbb976..f0394b2395 100644 --- a/src/Appwrite/GraphQL/Types/Mapper.php +++ b/src/Appwrite/GraphQL/Types/Mapper.php @@ -57,7 +57,8 @@ class Mapper 'datetime' => Type::string(), 'json' => Types::json(), 'none' => Types::json(), - 'any' => Types::json() + 'any' => Types::json(), + 'array' => Types::json() ]; foreach ($defaults as $type => $default) { diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php index cfc46a97df..4eb3345823 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Create.php @@ -9,11 +9,11 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Document; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; @@ -64,7 +64,7 @@ class Create extends Action ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).') ->param('key', '', new Key(), 'Attribute Key.') ->param('required', null, new Boolean(), 'Is attribute required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when attribute is required.', true) ->inject('response') ->inject('dbForProject') ->inject('queueForDatabase') @@ -72,10 +72,8 @@ class Create extends Action ->callback($this->action(...)); } - public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?string $default, UtopiaResponse $response, Database $dbForProject, EventDatabase $queueForDatabase, Event $queueForEvents): void + public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?array $default, UtopiaResponse $response, Database $dbForProject, EventDatabase $queueForDatabase, Event $queueForEvents): void { - $default = \is_string($default) ? \json_decode($default, true) : $default; - $attribute = $this->createAttribute($databaseId, $collectionId, new Document([ 'key' => $key, 'type' => Database::VAR_LINESTRING, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php index b1aa827091..8fcb867923 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php @@ -9,10 +9,10 @@ use Appwrite\SDK\ContentType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; @@ -64,7 +64,7 @@ class Update extends Action ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#createCollection).') ->param('key', '', new Key(), 'Attribute Key.') ->param('required', null, new Boolean(), 'Is attribute required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when attribute is required.', true) ->param('newKey', null, new Key(), 'New attribute key.', true) ->inject('response') ->inject('dbForProject') @@ -72,10 +72,8 @@ class Update extends Action ->callback($this->action(...)); } - public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?string $default, ?string $newKey, UtopiaResponse $response, Database $dbForProject, Event $queueForEvents): void + public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?array $default, ?string $newKey, UtopiaResponse $response, Database $dbForProject, Event $queueForEvents): void { - $default = \is_string($default) ? \json_decode($default, true) : $default; - $attribute = $this->updateAttribute( databaseId: $databaseId, collectionId: $collectionId, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php index 4cc520f34e..47c88497ba 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Create.php @@ -9,11 +9,11 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Document; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; @@ -64,7 +64,7 @@ class Create extends Action ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).') ->param('key', '', new Key(), 'Attribute Key.') ->param('required', null, new Boolean(), 'Is attribute required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.', true) ->inject('response') ->inject('dbForProject') ->inject('queueForDatabase') @@ -72,10 +72,8 @@ class Create extends Action ->callback($this->action(...)); } - public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?string $default, UtopiaResponse $response, Database $dbForProject, EventDatabase $queueForDatabase, Event $queueForEvents): void + public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?array $default, UtopiaResponse $response, Database $dbForProject, EventDatabase $queueForDatabase, Event $queueForEvents): void { - $default = \is_string($default) ? \json_decode($default, true) : $default; - $attribute = $this->createAttribute($databaseId, $collectionId, new Document([ 'key' => $key, 'type' => Database::VAR_POINT, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php index 222da133b2..bffe802927 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php @@ -9,10 +9,10 @@ use Appwrite\SDK\ContentType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; @@ -64,7 +64,7 @@ class Update extends Action ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#createCollection).') ->param('key', '', new Key(), 'Attribute Key.') ->param('required', null, new Boolean(), 'Is attribute required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.', true) ->param('newKey', null, new Key(), 'New attribute key.', true) ->inject('response') ->inject('dbForProject') @@ -72,10 +72,8 @@ class Update extends Action ->callback($this->action(...)); } - public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?string $default, ?string $newKey, UtopiaResponse $response, Database $dbForProject, Event $queueForEvents): void + public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?array $default, ?string $newKey, UtopiaResponse $response, Database $dbForProject, Event $queueForEvents): void { - $default = \is_string($default) ? \json_decode($default, true) : $default; - $attribute = $this->updateAttribute( databaseId: $databaseId, collectionId: $collectionId, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php index 99ef5fda88..6cc74254ae 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Create.php @@ -9,11 +9,11 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Document; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; @@ -64,7 +64,7 @@ class Create extends Action ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).') ->param('key', '', new Key(), 'Attribute Key.') ->param('required', null, new Boolean(), 'Is attribute required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], …], …], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.', true) ->inject('response') ->inject('dbForProject') ->inject('queueForDatabase') @@ -72,10 +72,8 @@ class Create extends Action ->callback($this->action(...)); } - public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?string $default, UtopiaResponse $response, Database $dbForProject, EventDatabase $queueForDatabase, Event $queueForEvents): void + public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?array $default, UtopiaResponse $response, Database $dbForProject, EventDatabase $queueForDatabase, Event $queueForEvents): void { - $default = \is_string($default) ? \json_decode($default, true) : $default; - $attribute = $this->createAttribute($databaseId, $collectionId, new Document([ 'key' => $key, 'type' => Database::VAR_POLYGON, diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php index 0b056a26fb..d78bfa8ef0 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php @@ -9,10 +9,10 @@ use Appwrite\SDK\ContentType; use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; @@ -64,7 +64,7 @@ class Update extends Action ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#createCollection).') ->param('key', '', new Key(), 'Attribute Key.') ->param('required', null, new Boolean(), 'Is attribute required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for attribute when not provided, as JSON string. Cannot be set when attribute is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], …], …], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.', true) ->param('newKey', null, new Key(), 'New attribute key.', true) ->inject('response') ->inject('dbForProject') @@ -72,10 +72,8 @@ class Update extends Action ->callback($this->action(...)); } - public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?string $default, ?string $newKey, UtopiaResponse $response, Database $dbForProject, Event $queueForEvents): void + public function action(string $databaseId, string $collectionId, string $key, ?bool $required, ?array $default, ?string $newKey, UtopiaResponse $response, Database $dbForProject, Event $queueForEvents): void { - $default = \is_string($default) ? \json_decode($default, true) : $default; - $attribute = $this->updateAttribute( databaseId: $databaseId, collectionId: $collectionId, 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 d274e1f128..c03daabd4f 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 @@ -116,7 +116,7 @@ class Create extends Action ->param('databaseId', '', new UID(), 'Database ID.') ->param('documentId', '', new CustomId(), 'Document ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can\'t start with a special char. Max length is 36 chars.', true) ->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). Make sure to define attributes before creating documents.') - ->param('data', [], new JSON(), 'Document data as JSON object.', true) + ->param('data', [], new JSON(), 'Document data as JSON object.', true, example: '{"username":"walter.obrien","email":"walter.obrien@example.com","fullName":"Walter O\'Brien","age":30,"isAdmin":false}') ->param('permissions', null, new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE, [Database::PERMISSION_READ, Database::PERMISSION_UPDATE, Database::PERMISSION_DELETE, Database::PERMISSION_WRITE]), 'An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) ->param('documents', [], fn (array $plan) => new ArrayList(new JSON(), $plan['databasesBatchSize'] ?? APP_LIMIT_DATABASE_BATCH), 'Array of documents data as JSON objects.', true, ['plan']) ->inject('response') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php index 32cafae529..f60d4dd5b8 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Create.php @@ -6,10 +6,10 @@ use Appwrite\Platform\Modules\Databases\Http\Databases\Collections\Attributes\Li use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; @@ -56,7 +56,7 @@ class Create extends LineCreate ->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).') ->param('key', '', new Key(), 'Column Key.') ->param('required', null, new Boolean(), 'Is column required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for column when not provided, as JSON string. Cannot be set when column is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when column is required.', true) ->inject('response') ->inject('dbForProject') ->inject('queueForDatabase') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php index 9aea87ec42..19c6df202d 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php @@ -7,10 +7,10 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\ContentType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; @@ -58,7 +58,7 @@ class Update extends LineUpdate ->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).') ->param('key', '', new Key(), 'Column Key.') ->param('required', null, new Boolean(), 'Is column required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for column when not provided, as JSON string. Cannot be set when column is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_LINESTRING)), 'Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when column is required.', true) ->param('newKey', null, new Key(), 'New Column Key.', true) ->inject('response') ->inject('dbForProject') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php index 3615531b89..47d97e8077 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Create.php @@ -6,10 +6,10 @@ use Appwrite\Platform\Modules\Databases\Http\Databases\Collections\Attributes\Po use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; @@ -56,7 +56,7 @@ class Create extends PointCreate ->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).') ->param('key', '', new Key(), 'Column Key.') ->param('required', null, new Boolean(), 'Is column required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for column when not provided, as JSON string. Cannot be set when column is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.', true) ->inject('response') ->inject('dbForProject') ->inject('queueForDatabase') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php index d2b741d4c7..2e98bf2cf9 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php @@ -7,10 +7,10 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\ContentType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; @@ -58,7 +58,7 @@ class Update extends PointUpdate ->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).') ->param('key', '', new Key(), 'Column Key.') ->param('required', null, new Boolean(), 'Is column required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for column when not provided, as JSON string. Cannot be set when column is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_POINT)), 'Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.', true) ->param('newKey', null, new Key(), 'New Column Key.', true) ->inject('response') ->inject('dbForProject') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php index dc16258596..371d5f8fd5 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Create.php @@ -6,10 +6,10 @@ use Appwrite\Platform\Modules\Databases\Http\Databases\Collections\Attributes\Po use Appwrite\SDK\AuthType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; @@ -56,7 +56,7 @@ class Create extends PolygonCreate ->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).') ->param('key', '', new Key(), 'Column Key.') ->param('required', null, new Boolean(), 'Is column required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for column when not provided, as JSON string. Cannot be set when column is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], …], …], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.', true) ->inject('response') ->inject('dbForProject') ->inject('queueForDatabase') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php index aba20fca63..c5654b77d4 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php @@ -7,10 +7,10 @@ use Appwrite\SDK\AuthType; use Appwrite\SDK\ContentType; use Appwrite\SDK\Method; use Appwrite\SDK\Response as SDKResponse; -use Appwrite\Utopia\Database\Validator\Spatial; use Appwrite\Utopia\Response as UtopiaResponse; use Utopia\Database\Database; use Utopia\Database\Validator\Key; +use Utopia\Database\Validator\Spatial; use Utopia\Database\Validator\UID; use Utopia\Swoole\Response as SwooleResponse; use Utopia\Validator\Boolean; @@ -58,7 +58,7 @@ class Update extends PolygonUpdate ->param('tableId', '', new UID(), 'Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate).') ->param('key', '', new Key(), 'Column Key.') ->param('required', null, new Boolean(), 'Is column required?') - ->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for column when not provided, as JSON string. Cannot be set when column is required.', true) + ->param('default', null, new Nullable(new Spatial(Database::VAR_POLYGON)), 'Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], …], …], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.', true) ->param('newKey', null, new Key(), 'New Column Key.', true) ->inject('response') ->inject('dbForProject') diff --git a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php index 5290131dd1..a7aa2607e5 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php @@ -95,7 +95,7 @@ class Create extends DocumentCreate ->param('databaseId', '', new UID(), 'Database ID.') ->param('rowId', '', new CustomId(), 'Row ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can\'t start with a special char. Max length is 36 chars.', true) ->param('tableId', '', new UID(), 'Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tablesdb#tablesDBCreate). Make sure to define columns before creating rows.') - ->param('data', [], new JSON(), 'Row data as JSON object.', true) + ->param('data', [], new JSON(), 'Row data as JSON object.', true, example: '{"username":"walter.obrien","email":"walter.obrien@example.com","fullName":"Walter O\'Brien","age":30,"isAdmin":false}') ->param('permissions', null, new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE, [Database::PERMISSION_READ, Database::PERMISSION_UPDATE, Database::PERMISSION_DELETE, Database::PERMISSION_WRITE]), 'An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) ->param('rows', [], fn (array $plan) => new ArrayList(new JSON(), $plan['databasesBatchSize'] ?? APP_LIMIT_DATABASE_BATCH), 'Array of documents data as JSON objects.', true, ['plan']) ->inject('response') diff --git a/src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php b/src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php new file mode 100644 index 0000000000..3d06103e75 --- /dev/null +++ b/src/Appwrite/Platform/Modules/Projects/Http/Projects/XList.php @@ -0,0 +1,116 @@ +setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) + ->setHttpPath('/v1/projects') + ->desc('List projects') + ->groups(['api', 'projects']) + ->label('scope', 'projects.read') + ->label('sdk', new Method( + namespace: 'projects', + group: 'projects', + name: 'list', + description: <<param('queries', [], $this->getQueriesValidator(), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long. You may filter on the following attributes: ' . implode(', ', Projects::ALLOWED_ATTRIBUTES), true) + ->param('search', '', new Text(256), 'Search term to filter your list results. Max length: 256 chars.', true) + ->inject('response') + ->inject('dbForPlatform') + ->callback($this->action(...)); + } + + public function action(array $queries, string $search, Response $response, Database $dbForPlatform) + { + try { + $queries = Query::parseQueries($queries); + } catch (QueryException $e) { + throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage()); + } + + if (!empty($search)) { + $queries[] = Query::search('search', $search); + } + + /** + * Get cursor document if there was a cursor query, we use array_filter and reset for reference $cursor to $queries + */ + $cursor = \array_filter($queries, function ($query) { + return \in_array($query->getMethod(), [Query::TYPE_CURSOR_AFTER, Query::TYPE_CURSOR_BEFORE]); + }); + $cursor = reset($cursor); + if ($cursor) { + /** @var Query $cursor */ + + $validator = new Cursor(); + if (!$validator->isValid($cursor)) { + throw new Exception(Exception::GENERAL_QUERY_INVALID, $validator->getDescription()); + } + + $projectId = $cursor->getValue(); + $cursorDocument = $dbForPlatform->getDocument('projects', $projectId); + + if ($cursorDocument->isEmpty()) { + throw new Exception(Exception::GENERAL_CURSOR_NOT_FOUND, "Project '{$projectId}' for the 'cursor' value not found."); + } + + $cursor->setValue($cursorDocument); + } + + $filterQueries = Query::groupByType($queries)['filters']; + try { + $projects = $dbForPlatform->find('projects', $queries); + $total = $dbForPlatform->count('projects', $filterQueries, APP_LIMIT_COUNT); + } catch (Order $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } + $response->dynamic(new Document([ + 'projects' => $projects, + 'total' => $total, + ]), Response::MODEL_PROJECT_LIST); + } +} diff --git a/src/Appwrite/Platform/Modules/Projects/Services/Http.php b/src/Appwrite/Platform/Modules/Projects/Services/Http.php index cec8ed6d16..2a0dd0aa60 100644 --- a/src/Appwrite/Platform/Modules/Projects/Services/Http.php +++ b/src/Appwrite/Platform/Modules/Projects/Services/Http.php @@ -7,6 +7,7 @@ use Appwrite\Platform\Modules\Projects\Http\DevKeys\Delete as DeleteDevKey; use Appwrite\Platform\Modules\Projects\Http\DevKeys\Get as GetDevKey; use Appwrite\Platform\Modules\Projects\Http\DevKeys\Update as UpdateDevKey; use Appwrite\Platform\Modules\Projects\Http\DevKeys\XList as ListDevKeys; +use Appwrite\Platform\Modules\Projects\Http\Projects\XList as ListProjects; use Utopia\Platform\Service; class Http extends Service @@ -19,5 +20,7 @@ class Http extends Service $this->addAction(GetDevKey::getName(), new GetDevKey()); $this->addAction(ListDevKeys::getName(), new ListDevKeys()); $this->addAction(DeleteDevKey::getName(), new DeleteDevKey()); + + $this->addAction(ListProjects::getName(), new ListProjects()); } } diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index 4a492e4c00..6432342e45 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -433,7 +433,7 @@ class OpenAPI3 extends Format case 'Utopia\Validator\Assoc': $param['default'] = (empty($param['default'])) ? new \stdClass() : $param['default']; $node['schema']['type'] = 'object'; - $node['schema']['x-example'] = '{}'; + $node['schema']['x-example'] = ($param['example'] ?? '') ?: '{}'; break; case 'Utopia\Storage\Validator\File': $consumes = ['multipart/form-data']; @@ -447,6 +447,15 @@ class OpenAPI3 extends Format 'type' => $validator->getValidator()->getType(), ]; break; + case 'Utopia\Database\Validator\Spatial': + $node['schema']['type'] = 'array'; + $node['schema']['items'] = [ + 'oneOf' => [ + ['type' => 'array'] + ] + ]; + $node['schema']['x-example'] = '[[1,2], [3, 4]]'; + break; case 'Appwrite\Utopia\Database\Validator\Queries\Columns': case 'Appwrite\Utopia\Database\Validator\Queries\Attributes': case 'Appwrite\Utopia\Database\Validator\Queries\Buckets': @@ -671,6 +680,10 @@ class OpenAPI3 extends Format $output['components']['schemas'][$model->getType()]['properties'][$name]['additionalProperties'] = true; break; + case 'array': + $type = 'array'; + break; + case 'integer': $type = 'integer'; $format = 'int32'; diff --git a/src/Appwrite/SDK/Specification/Format/Swagger2.php b/src/Appwrite/SDK/Specification/Format/Swagger2.php index 313d46be8f..8a84a3a398 100644 --- a/src/Appwrite/SDK/Specification/Format/Swagger2.php +++ b/src/Appwrite/SDK/Specification/Format/Swagger2.php @@ -462,12 +462,21 @@ class Swagger2 extends Format 'type' => $validator->getValidator()->getType(), ]; break; + case 'Utopia\Database\Validator\Spatial': + $node['type'] = 'array'; + $node['schema']['items'] = [ + 'oneOf' => [ + ['type' => 'array'] + ] + ]; + $node['x-example'] = '[[1,2], [3, 4]]'; + break; case 'Utopia\Validator\JSON': case 'Utopia\Validator\Mock': case 'Utopia\Validator\Assoc': $node['type'] = 'object'; $node['default'] = (empty($param['default'])) ? new \stdClass() : $param['default']; - $node['x-example'] = '{}'; + $node['x-example'] = ($param['example'] ?? '') ?: '{}'; break; case 'Utopia\Storage\Validator\File': $consumes = ['multipart/form-data']; @@ -678,6 +687,10 @@ class Swagger2 extends Format $type = 'object'; break; + case 'array': + $type = 'array'; + break; + case 'integer': $type = 'integer'; $format = 'int32'; diff --git a/src/Appwrite/Utopia/Database/Validator/Spatial.php b/src/Appwrite/Utopia/Database/Validator/Spatial.php deleted file mode 100644 index 65ba9b83b8..0000000000 --- a/src/Appwrite/Utopia/Database/Validator/Spatial.php +++ /dev/null @@ -1,42 +0,0 @@ -spatialAttributeType = $spatialAttributeType; - } - /** - * Is valid. - * - * Returns true if valid or false if not. - * - * @param $value - * - * @return bool - */ - public function isValid($value): bool - { - if (!parent::isValid($value)) { - return false; - } - $value = \json_decode($value, true); - $validator = new SpatialValidator($this->spatialAttributeType); - return $validator->isValid($value); - } -} diff --git a/src/Appwrite/Utopia/Response.php b/src/Appwrite/Utopia/Response.php index 4a59ce77ad..67fc83b9fd 100644 --- a/src/Appwrite/Utopia/Response.php +++ b/src/Appwrite/Utopia/Response.php @@ -955,24 +955,6 @@ class Response extends SwooleResponse return !empty($this->filters); } - /** - * Set Header - * - * @param string $key - * @param string|array $value - * @return void - */ - public function setHeader(string $key, mixed $value): void - { - if (is_array($value)) { - // Temporary solution to support proxying Set-cookie (2 cookies, 1 name) - // Ideally this would live in http library, supporting array of values in all adapters - $this->swoole->header($key, $value); - } else { - $this->sendHeader($key, $value); - } - } - /** * Static wrapper to show sensitive data in response * diff --git a/src/Appwrite/Utopia/Response/Model.php b/src/Appwrite/Utopia/Response/Model.php index 80c2c4d620..04468521b6 100644 --- a/src/Appwrite/Utopia/Response/Model.php +++ b/src/Appwrite/Utopia/Response/Model.php @@ -15,6 +15,7 @@ abstract class Model public const TYPE_DATETIME_EXAMPLE = '2020-10-15T06:38:00.000+00:00'; public const TYPE_RELATIONSHIP = 'relationship'; public const TYPE_PAYLOAD = 'payload'; + public const TYPE_ARRAY = 'array'; /** * @var bool diff --git a/src/Appwrite/Utopia/Response/Model/AttributeLine.php b/src/Appwrite/Utopia/Response/Model/AttributeLine.php index d5eab30ca6..4f8ed60e89 100644 --- a/src/Appwrite/Utopia/Response/Model/AttributeLine.php +++ b/src/Appwrite/Utopia/Response/Model/AttributeLine.php @@ -12,15 +12,19 @@ class AttributeLine extends Attribute $this ->addRule('default', [ - 'type' => self::TYPE_JSON, + 'type' => self::TYPE_ARRAY, 'description' => 'Default value for attribute when not provided. Cannot be set when attribute is required.', 'default' => null, 'required' => false, - 'example' => '[[0, 0], [1, 1]]' + 'example' => [[0, 0], [1, 1]] ]) ; } + public array $conditions = [ + 'type' => 'linestring', + ]; + /** * Get Name * diff --git a/src/Appwrite/Utopia/Response/Model/AttributePoint.php b/src/Appwrite/Utopia/Response/Model/AttributePoint.php index e44ecf96d0..19f7056b41 100644 --- a/src/Appwrite/Utopia/Response/Model/AttributePoint.php +++ b/src/Appwrite/Utopia/Response/Model/AttributePoint.php @@ -12,15 +12,19 @@ class AttributePoint extends Attribute $this ->addRule('default', [ - 'type' => self::TYPE_JSON, + 'type' => self::TYPE_ARRAY, 'description' => 'Default value for attribute when not provided. Cannot be set when attribute is required.', 'default' => null, 'required' => false, - 'example' => '[0, 0]' + 'example' => [0, 0] ]) ; } + public array $conditions = [ + 'type' => 'point', + ]; + /** * Get Name * diff --git a/src/Appwrite/Utopia/Response/Model/AttributePolygon.php b/src/Appwrite/Utopia/Response/Model/AttributePolygon.php index 32708f6470..13caa19ccf 100644 --- a/src/Appwrite/Utopia/Response/Model/AttributePolygon.php +++ b/src/Appwrite/Utopia/Response/Model/AttributePolygon.php @@ -12,15 +12,19 @@ class AttributePolygon extends Attribute $this ->addRule('default', [ - 'type' => self::TYPE_JSON, + 'type' => self::TYPE_ARRAY, 'description' => 'Default value for attribute when not provided. Cannot be set when attribute is required.', 'default' => null, 'required' => false, - 'example' => '[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]' + 'example' => [[[0, 0], [0, 10]], [[10, 10], [0, 0]]] ]) ; } + public array $conditions = [ + 'type' => 'polygon', + ]; + /** * Get Name * diff --git a/src/Appwrite/Utopia/Response/Model/ColumnLine.php b/src/Appwrite/Utopia/Response/Model/ColumnLine.php index 951e787086..e46741d0f3 100644 --- a/src/Appwrite/Utopia/Response/Model/ColumnLine.php +++ b/src/Appwrite/Utopia/Response/Model/ColumnLine.php @@ -12,15 +12,19 @@ class ColumnLine extends Column $this ->addRule('default', [ - 'type' => self::TYPE_JSON, + 'type' => self::TYPE_ARRAY, 'description' => 'Default value for column when not provided. Cannot be set when column is required.', 'default' => null, 'required' => false, - 'example' => '[[0, 0], [1, 1]]' + 'example' => [[0, 0], [1, 1]] ]) ; } + public array $conditions = [ + 'type' => 'linestring', + ]; + /** * Get Name * diff --git a/src/Appwrite/Utopia/Response/Model/ColumnPoint.php b/src/Appwrite/Utopia/Response/Model/ColumnPoint.php index 2e548976aa..ccc68b283b 100644 --- a/src/Appwrite/Utopia/Response/Model/ColumnPoint.php +++ b/src/Appwrite/Utopia/Response/Model/ColumnPoint.php @@ -12,15 +12,19 @@ class ColumnPoint extends Column $this ->addRule('default', [ - 'type' => self::TYPE_JSON, + 'type' => self::TYPE_ARRAY, 'description' => 'Default value for column when not provided. Cannot be set when column is required.', 'default' => null, 'required' => false, - 'example' => '[0, 0]' + 'example' => [0, 0] ]) ; } + public array $conditions = [ + 'type' => 'point', + ]; + /** * Get Name * diff --git a/src/Appwrite/Utopia/Response/Model/ColumnPolygon.php b/src/Appwrite/Utopia/Response/Model/ColumnPolygon.php index 1efcd1199e..811b51fdc1 100644 --- a/src/Appwrite/Utopia/Response/Model/ColumnPolygon.php +++ b/src/Appwrite/Utopia/Response/Model/ColumnPolygon.php @@ -12,15 +12,19 @@ class ColumnPolygon extends Column $this ->addRule('default', [ - 'type' => self::TYPE_JSON, + 'type' => self::TYPE_ARRAY, 'description' => 'Default value for column when not provided. Cannot be set when column is required.', 'default' => null, 'required' => false, - 'example' => '[[[0, 0], [0, 10]], [[10, 10], [0, 0]]]' + 'example' => [[[0, 0], [0, 10]], [[10, 10], [0, 0]]] ]) ; } + public array $conditions = [ + 'type' => 'polygon', + ]; + /** * Get Name * diff --git a/tests/e2e/Services/Databases/Legacy/DatabasesBase.php b/tests/e2e/Services/Databases/Legacy/DatabasesBase.php index e461ae6621..e1d5b9cb60 100644 --- a/tests/e2e/Services/Databases/Legacy/DatabasesBase.php +++ b/tests/e2e/Services/Databases/Legacy/DatabasesBase.php @@ -6537,7 +6537,7 @@ trait DatabasesBase 'x-appwrite-key' => $this->getProject()['apiKey'] ]), [ 'required' => false, - 'default' => json_encode([[0, 0], [1, 1]]), + 'default' => [[0, 0], [1, 1]], ]); $this->assertEquals(200, $response['headers']['status-code']); @@ -6564,7 +6564,7 @@ trait DatabasesBase 'x-appwrite-project' => $this->getProject()['$id'], 'x-appwrite-key' => $this->getProject()['apiKey'] ]), [ - 'default' => json_encode([0, 0]), + 'default' => [0, 0], 'required' => false ]); @@ -6769,7 +6769,7 @@ trait DatabasesBase 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], ], $this->getHeaders()), [ - 'queries' => [Query::contains('lineAttr', [[1.0, 1.0]])->toString()] + 'queries' => [Query::contains('lineAttr', [[1.1, 1.1]])->toString()] ]); $this->assertEquals(200, $response['headers']['status-code']); $this->assertCount(1, $response['body']['documents']); @@ -7635,19 +7635,6 @@ trait DatabasesBase ]); $this->assertEquals(202, $retriedIndex['headers']['status-code']); - // Passing orders to spatial index should not throw error(in case of mariadb) - $ordersIndex = $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/indexes', array_merge([ - 'content-type' => 'application/json', - 'x-appwrite-project' => $this->getProject()['$id'], - 'x-appwrite-key' => $this->getProject()['apiKey'] - ]), [ - 'key' => 'idx_required_point_with_orders', - 'type' => Database::INDEX_SPATIAL, - 'attributes' => ['pRequired'], - 'orders' => ['ASC'] - ]); - $this->assertEquals(202, $ordersIndex['headers']['status-code']); - // Cleanup $this->client->call(Client::METHOD_DELETE, '/databases/' . $databaseId . '/collections/' . $collectionId, array_merge([ 'content-type' => 'application/json', diff --git a/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php b/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php index 3b220e192e..1b9c0dae91 100644 --- a/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php +++ b/tests/e2e/Services/Databases/TablesDB/DatabasesBase.php @@ -8230,7 +8230,7 @@ trait DatabasesBase 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], ], $this->getHeaders()), [ - 'queries' => [Query::contains('lineAttr', [[1.0, 1.0]])->toString()] + 'queries' => [Query::contains('lineAttr', [[1.1, 1.1]])->toString()] ]); $this->assertEquals(200, $response['headers']['status-code']); $this->assertCount(1, $response['body']['rows']); @@ -8562,19 +8562,6 @@ trait DatabasesBase ]); $this->assertEquals(202, $retriedIndex['headers']['status-code']); - // Passing orders to spatial index should not throw error (in case of mariadb) - $ordersIndex = $this->client->call(Client::METHOD_POST, '/tablesdb/' . $databaseId . '/tables/' . $tableId . '/indexes', array_merge([ - 'content-type' => 'application/json', - 'x-appwrite-project' => $this->getProject()['$id'], - 'x-appwrite-key' => $this->getProject()['apiKey'] - ]), [ - 'key' => 'idx_required_point_with_orders', - 'type' => Database::INDEX_SPATIAL, - 'columns' => ['pRequired'], - 'orders' => ['ASC'] - ]); - $this->assertEquals(202, $ordersIndex['headers']['status-code']); - // Cleanup $this->client->call(Client::METHOD_DELETE, '/tablesdb/' . $databaseId . '/tables/' . $tableId, array_merge([ 'content-type' => 'application/json', @@ -8683,7 +8670,7 @@ trait DatabasesBase 'x-appwrite-key' => $this->getProject()['apiKey'] ]), [ 'required' => false, - 'default' => json_encode([[0, 0], [1, 1]]), + 'default' => [[0, 0], [1, 1]], ]); $this->assertEquals(200, $response['headers']['status-code']); @@ -8710,7 +8697,7 @@ trait DatabasesBase 'x-appwrite-project' => $this->getProject()['$id'], 'x-appwrite-key' => $this->getProject()['apiKey'] ]), [ - 'default' => json_encode([0, 0]), + 'default' => [0, 0], 'required' => false ]); $this->assertEquals(200, $response['headers']['status-code']);