From 627ea74134b9eee90e3472edb9c8eccf2fae7224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Tue, 10 Sep 2024 10:51:18 +0000 Subject: [PATCH] Update specs --- app/config/specs/open-api3-1.6.x-client.json | 6 +- app/config/specs/open-api3-1.6.x-console.json | 61 +++++++++++++++- app/config/specs/open-api3-1.6.x-server.json | 61 +++++++++++++++- app/config/specs/open-api3-latest-client.json | 6 +- .../specs/open-api3-latest-console.json | 61 +++++++++++++++- app/config/specs/open-api3-latest-server.json | 61 +++++++++++++++- app/config/specs/swagger2-1.6.x-client.json | 6 +- app/config/specs/swagger2-1.6.x-console.json | 72 ++++++++++++++++++- app/config/specs/swagger2-1.6.x-server.json | 72 ++++++++++++++++++- app/config/specs/swagger2-latest-client.json | 6 +- app/config/specs/swagger2-latest-console.json | 72 ++++++++++++++++++- app/config/specs/swagger2-latest-server.json | 72 ++++++++++++++++++- 12 files changed, 520 insertions(+), 36 deletions(-) diff --git a/app/config/specs/open-api3-1.6.x-client.json b/app/config/specs/open-api3-1.6.x-client.json index 4beb666a1c..8a9967090d 100644 --- a/app/config/specs/open-api3-1.6.x-client.json +++ b/app/config/specs/open-api3-1.6.x-client.json @@ -802,7 +802,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "url:{url},token:{param-token}", + "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ "server", @@ -878,7 +878,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "userId:{param-userId}", + "rate-key": "url:{url},challengeId:{param-challengeId}", "scope": "account", "platforms": [ "client", @@ -9897,4 +9897,4 @@ "description": "Full API docs, specs and tutorials", "url": "https:\/\/appwrite.io\/docs" } -} +} \ No newline at end of file diff --git a/app/config/specs/open-api3-1.6.x-console.json b/app/config/specs/open-api3-1.6.x-console.json index 215d484241..48c37c9393 100644 --- a/app/config/specs/open-api3-1.6.x-console.json +++ b/app/config/specs/open-api3-1.6.x-console.json @@ -834,7 +834,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "url:{url},token:{param-token}", + "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ "server", @@ -910,7 +910,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "userId:{param-userId}", + "rate-key": "url:{url},challengeId:{param-challengeId}", "scope": "account", "platforms": [ "client", @@ -5720,6 +5720,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": false, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -5936,6 +5941,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -6152,6 +6162,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "email@example.com", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -6385,6 +6400,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -6622,6 +6642,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -6860,6 +6885,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -7078,6 +7108,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -7438,6 +7473,16 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "", "x-nullable": true + }, + "size": { + "type": "integer", + "description": "Maximum size of the string attribute.", + "x-example": null + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -7654,6 +7699,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "https:\/\/example.com", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -7949,6 +7999,11 @@ ], "x-enum-name": "RelationMutate", "x-enum-keys": [] + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } } } @@ -38373,4 +38428,4 @@ "description": "Full API docs, specs and tutorials", "url": "https:\/\/appwrite.io\/docs" } -} +} \ No newline at end of file diff --git a/app/config/specs/open-api3-1.6.x-server.json b/app/config/specs/open-api3-1.6.x-server.json index 34586080e7..ef41688ca8 100644 --- a/app/config/specs/open-api3-1.6.x-server.json +++ b/app/config/specs/open-api3-1.6.x-server.json @@ -811,7 +811,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "url:{url},token:{param-token}", + "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ "server", @@ -887,7 +887,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "userId:{param-userId}", + "rate-key": "url:{url},challengeId:{param-challengeId}", "scope": "account", "platforms": [ "client", @@ -5225,6 +5225,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": false, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -5443,6 +5448,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -5661,6 +5671,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "email@example.com", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -5896,6 +5911,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -6135,6 +6155,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -6375,6 +6400,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -6595,6 +6625,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -6958,6 +6993,16 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "", "x-nullable": true + }, + "size": { + "type": "integer", + "description": "Maximum size of the string attribute.", + "x-example": null + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -7176,6 +7221,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "https:\/\/example.com", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -7474,6 +7524,11 @@ ], "x-enum-name": "RelationMutate", "x-enum-keys": [] + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } } } @@ -26939,4 +26994,4 @@ "description": "Full API docs, specs and tutorials", "url": "https:\/\/appwrite.io\/docs" } -} +} \ No newline at end of file diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index 4beb666a1c..8a9967090d 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -802,7 +802,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "url:{url},token:{param-token}", + "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ "server", @@ -878,7 +878,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "userId:{param-userId}", + "rate-key": "url:{url},challengeId:{param-challengeId}", "scope": "account", "platforms": [ "client", @@ -9897,4 +9897,4 @@ "description": "Full API docs, specs and tutorials", "url": "https:\/\/appwrite.io\/docs" } -} +} \ No newline at end of file diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 215d484241..48c37c9393 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -834,7 +834,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "url:{url},token:{param-token}", + "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ "server", @@ -910,7 +910,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "userId:{param-userId}", + "rate-key": "url:{url},challengeId:{param-challengeId}", "scope": "account", "platforms": [ "client", @@ -5720,6 +5720,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": false, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -5936,6 +5941,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -6152,6 +6162,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "email@example.com", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -6385,6 +6400,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -6622,6 +6642,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -6860,6 +6885,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -7078,6 +7108,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -7438,6 +7473,16 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "", "x-nullable": true + }, + "size": { + "type": "integer", + "description": "Maximum size of the string attribute.", + "x-example": null + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -7654,6 +7699,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "https:\/\/example.com", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -7949,6 +7999,11 @@ ], "x-enum-name": "RelationMutate", "x-enum-keys": [] + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } } } @@ -38373,4 +38428,4 @@ "description": "Full API docs, specs and tutorials", "url": "https:\/\/appwrite.io\/docs" } -} +} \ No newline at end of file diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 34586080e7..ef41688ca8 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -811,7 +811,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "url:{url},token:{param-token}", + "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ "server", @@ -887,7 +887,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "userId:{param-userId}", + "rate-key": "url:{url},challengeId:{param-challengeId}", "scope": "account", "platforms": [ "client", @@ -5225,6 +5225,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": false, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -5443,6 +5448,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -5661,6 +5671,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "email@example.com", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -5896,6 +5911,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -6135,6 +6155,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -6375,6 +6400,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -6595,6 +6625,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -6958,6 +6993,16 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "", "x-nullable": true + }, + "size": { + "type": "integer", + "description": "Maximum size of the string attribute.", + "x-example": null + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -7176,6 +7221,11 @@ "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", "x-example": "https:\/\/example.com", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } }, "required": [ @@ -7474,6 +7524,11 @@ ], "x-enum-name": "RelationMutate", "x-enum-keys": [] + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null } } } @@ -26939,4 +26994,4 @@ "description": "Full API docs, specs and tutorials", "url": "https:\/\/appwrite.io\/docs" } -} +} \ No newline at end of file diff --git a/app/config/specs/swagger2-1.6.x-client.json b/app/config/specs/swagger2-1.6.x-client.json index 259add8704..ce9ea857bb 100644 --- a/app/config/specs/swagger2-1.6.x-client.json +++ b/app/config/specs/swagger2-1.6.x-client.json @@ -868,7 +868,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "url:{url},token:{param-token}", + "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ "server", @@ -942,7 +942,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "userId:{param-userId}", + "rate-key": "url:{url},challengeId:{param-challengeId}", "scope": "account", "platforms": [ "client", @@ -10052,4 +10052,4 @@ "description": "Full API docs, specs and tutorials", "url": "https:\/\/appwrite.io\/docs" } -} +} \ No newline at end of file diff --git a/app/config/specs/swagger2-1.6.x-console.json b/app/config/specs/swagger2-1.6.x-console.json index 0e925e7630..4b2bdc0c4d 100644 --- a/app/config/specs/swagger2-1.6.x-console.json +++ b/app/config/specs/swagger2-1.6.x-console.json @@ -916,7 +916,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "url:{url},token:{param-token}", + "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ "server", @@ -990,7 +990,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "userId:{param-userId}", + "rate-key": "url:{url},challengeId:{param-challengeId}", "scope": "account", "platforms": [ "client", @@ -5913,6 +5913,12 @@ "default": null, "x-example": false, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -6123,6 +6129,12 @@ "default": null, "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -6333,6 +6345,12 @@ "default": null, "x-example": "email@example.com", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -6562,6 +6580,12 @@ "default": null, "x-example": "", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -6797,6 +6821,12 @@ "default": null, "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -7033,6 +7063,12 @@ "default": null, "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -7245,6 +7281,12 @@ "default": null, "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -7603,6 +7645,18 @@ "default": null, "x-example": "", "x-nullable": true + }, + "size": { + "type": "integer", + "description": "Maximum size of the string attribute.", + "default": null, + "x-example": null + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -7813,6 +7867,12 @@ "default": null, "x-example": "https:\/\/example.com", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -8095,6 +8155,12 @@ ], "x-enum-name": "RelationMutate", "x-enum-keys": [] + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } } } @@ -38886,4 +38952,4 @@ "description": "Full API docs, specs and tutorials", "url": "https:\/\/appwrite.io\/docs" } -} +} \ No newline at end of file diff --git a/app/config/specs/swagger2-1.6.x-server.json b/app/config/specs/swagger2-1.6.x-server.json index da55c28bfa..af6274226f 100644 --- a/app/config/specs/swagger2-1.6.x-server.json +++ b/app/config/specs/swagger2-1.6.x-server.json @@ -892,7 +892,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "url:{url},token:{param-token}", + "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ "server", @@ -966,7 +966,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "userId:{param-userId}", + "rate-key": "url:{url},challengeId:{param-challengeId}", "scope": "account", "platforms": [ "client", @@ -5405,6 +5405,12 @@ "default": null, "x-example": false, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -5617,6 +5623,12 @@ "default": null, "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -5829,6 +5841,12 @@ "default": null, "x-example": "email@example.com", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -6060,6 +6078,12 @@ "default": null, "x-example": "", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -6297,6 +6321,12 @@ "default": null, "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -6535,6 +6565,12 @@ "default": null, "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -6749,6 +6785,12 @@ "default": null, "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -7110,6 +7152,18 @@ "default": null, "x-example": "", "x-nullable": true + }, + "size": { + "type": "integer", + "description": "Maximum size of the string attribute.", + "default": null, + "x-example": null + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -7322,6 +7376,12 @@ "default": null, "x-example": "https:\/\/example.com", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -7607,6 +7667,12 @@ ], "x-enum-name": "RelationMutate", "x-enum-keys": [] + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } } } @@ -27378,4 +27444,4 @@ "description": "Full API docs, specs and tutorials", "url": "https:\/\/appwrite.io\/docs" } -} +} \ No newline at end of file diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index 259add8704..ce9ea857bb 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -868,7 +868,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "url:{url},token:{param-token}", + "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ "server", @@ -942,7 +942,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "userId:{param-userId}", + "rate-key": "url:{url},challengeId:{param-challengeId}", "scope": "account", "platforms": [ "client", @@ -10052,4 +10052,4 @@ "description": "Full API docs, specs and tutorials", "url": "https:\/\/appwrite.io\/docs" } -} +} \ No newline at end of file diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 0e925e7630..4b2bdc0c4d 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -916,7 +916,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "url:{url},token:{param-token}", + "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ "server", @@ -990,7 +990,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "userId:{param-userId}", + "rate-key": "url:{url},challengeId:{param-challengeId}", "scope": "account", "platforms": [ "client", @@ -5913,6 +5913,12 @@ "default": null, "x-example": false, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -6123,6 +6129,12 @@ "default": null, "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -6333,6 +6345,12 @@ "default": null, "x-example": "email@example.com", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -6562,6 +6580,12 @@ "default": null, "x-example": "", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -6797,6 +6821,12 @@ "default": null, "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -7033,6 +7063,12 @@ "default": null, "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -7245,6 +7281,12 @@ "default": null, "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -7603,6 +7645,18 @@ "default": null, "x-example": "", "x-nullable": true + }, + "size": { + "type": "integer", + "description": "Maximum size of the string attribute.", + "default": null, + "x-example": null + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -7813,6 +7867,12 @@ "default": null, "x-example": "https:\/\/example.com", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -8095,6 +8155,12 @@ ], "x-enum-name": "RelationMutate", "x-enum-keys": [] + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } } } @@ -38886,4 +38952,4 @@ "description": "Full API docs, specs and tutorials", "url": "https:\/\/appwrite.io\/docs" } -} +} \ No newline at end of file diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index da55c28bfa..af6274226f 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -892,7 +892,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "url:{url},token:{param-token}", + "rate-key": "url:{url},userId:{userId}", "scope": "account", "platforms": [ "server", @@ -966,7 +966,7 @@ "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", "rate-limit": 10, "rate-time": 3600, - "rate-key": "userId:{param-userId}", + "rate-key": "url:{url},challengeId:{param-challengeId}", "scope": "account", "platforms": [ "client", @@ -5405,6 +5405,12 @@ "default": null, "x-example": false, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -5617,6 +5623,12 @@ "default": null, "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -5829,6 +5841,12 @@ "default": null, "x-example": "email@example.com", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -6060,6 +6078,12 @@ "default": null, "x-example": "", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -6297,6 +6321,12 @@ "default": null, "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -6535,6 +6565,12 @@ "default": null, "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -6749,6 +6785,12 @@ "default": null, "x-example": null, "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -7110,6 +7152,18 @@ "default": null, "x-example": "", "x-nullable": true + }, + "size": { + "type": "integer", + "description": "Maximum size of the string attribute.", + "default": null, + "x-example": null + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -7322,6 +7376,12 @@ "default": null, "x-example": "https:\/\/example.com", "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } }, "required": [ @@ -7607,6 +7667,12 @@ ], "x-enum-name": "RelationMutate", "x-enum-keys": [] + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null } } } @@ -27378,4 +27444,4 @@ "description": "Full API docs, specs and tutorials", "url": "https:\/\/appwrite.io\/docs" } -} +} \ No newline at end of file