mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge pull request #11123 from appwrite/feat-integer-format-int64
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"openapi": "3.0.0",
|
||||
"info": {
|
||||
"version": "1.8.0",
|
||||
"version": "1.8.1",
|
||||
"title": "Appwrite",
|
||||
"description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)",
|
||||
"termsOfService": "https:\/\/appwrite.io\/policy\/terms",
|
||||
@@ -140,7 +140,8 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
@@ -224,12 +225,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -439,7 +442,8 @@
|
||||
"duration": {
|
||||
"type": "integer",
|
||||
"description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.",
|
||||
"x-example": 0
|
||||
"x-example": 0,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -551,7 +555,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updateMFA",
|
||||
"group": "mfa",
|
||||
"weight": 288,
|
||||
"weight": 277,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/update-mfa.md",
|
||||
@@ -623,7 +627,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "createMfaAuthenticator",
|
||||
"group": "mfa",
|
||||
"weight": 290,
|
||||
"weight": 279,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/create-mfa-authenticator.md",
|
||||
@@ -747,7 +751,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updateMfaAuthenticator",
|
||||
"group": "mfa",
|
||||
"weight": 291,
|
||||
"weight": 280,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/update-mfa-authenticator.md",
|
||||
@@ -887,7 +891,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "deleteMfaAuthenticator",
|
||||
"group": "mfa",
|
||||
"weight": 292,
|
||||
"weight": 281,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/delete-mfa-authenticator.md",
|
||||
@@ -1011,7 +1015,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "createMfaChallenge",
|
||||
"group": "mfa",
|
||||
"weight": 296,
|
||||
"weight": 285,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/create-mfa-challenge.md",
|
||||
@@ -1145,7 +1149,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updateMfaChallenge",
|
||||
"group": "mfa",
|
||||
"weight": 297,
|
||||
"weight": 286,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/update-mfa-challenge.md",
|
||||
@@ -1283,7 +1287,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listMfaFactors",
|
||||
"group": "mfa",
|
||||
"weight": 289,
|
||||
"weight": 278,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/list-mfa-factors.md",
|
||||
@@ -1384,7 +1388,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getMfaRecoveryCodes",
|
||||
"group": "mfa",
|
||||
"weight": 295,
|
||||
"weight": 284,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/get-mfa-recovery-codes.md",
|
||||
@@ -1483,7 +1487,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "createMfaRecoveryCodes",
|
||||
"group": "mfa",
|
||||
"weight": 293,
|
||||
"weight": 282,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/create-mfa-recovery-codes.md",
|
||||
@@ -1582,7 +1586,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updateMfaRecoveryCodes",
|
||||
"group": "mfa",
|
||||
"weight": 294,
|
||||
"weight": 283,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/update-mfa-recovery-codes.md",
|
||||
@@ -1796,7 +1800,8 @@
|
||||
"oldPassword": {
|
||||
"type": "string",
|
||||
"description": "Current user password. Must be at least 8 chars.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1868,12 +1873,14 @@
|
||||
"phone": {
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2072,12 +2079,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2382,12 +2391,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3304,7 +3315,8 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"phrase": {
|
||||
"type": "boolean",
|
||||
@@ -3390,12 +3402,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
},
|
||||
"phrase": {
|
||||
"type": "boolean",
|
||||
@@ -3621,7 +3635,8 @@
|
||||
"phone": {
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3746,7 +3761,8 @@
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -4039,7 +4055,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getBrowser",
|
||||
"group": null,
|
||||
"weight": 50,
|
||||
"weight": 288,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "avatars\/get-browser.md",
|
||||
@@ -4167,7 +4183,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getCreditCard",
|
||||
"group": null,
|
||||
"weight": 49,
|
||||
"weight": 287,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "avatars\/get-credit-card.md",
|
||||
@@ -4301,7 +4317,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getFavicon",
|
||||
"group": null,
|
||||
"weight": 53,
|
||||
"weight": 291,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "avatars\/get-favicon.md",
|
||||
@@ -4361,7 +4377,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getFlag",
|
||||
"group": null,
|
||||
"weight": 51,
|
||||
"weight": 289,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "avatars\/get-flag.md",
|
||||
@@ -4851,7 +4867,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getImage",
|
||||
"group": null,
|
||||
"weight": 52,
|
||||
"weight": 290,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "avatars\/get-image.md",
|
||||
@@ -4935,7 +4951,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getInitials",
|
||||
"group": null,
|
||||
"weight": 55,
|
||||
"weight": 293,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "avatars\/get-initials.md",
|
||||
@@ -5029,7 +5045,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getQR",
|
||||
"group": null,
|
||||
"weight": 54,
|
||||
"weight": 292,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "avatars\/get-qr.md",
|
||||
@@ -5123,7 +5139,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getScreenshot",
|
||||
"group": null,
|
||||
"weight": 56,
|
||||
"weight": 294,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "avatars\/get-screenshot.md",
|
||||
@@ -5980,7 +5996,8 @@
|
||||
"ttl": {
|
||||
"type": "integer",
|
||||
"description": "Seconds before the transaction expires.",
|
||||
"x-example": 60
|
||||
"x-example": 60,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7146,12 +7163,14 @@
|
||||
"value": {
|
||||
"type": "number",
|
||||
"description": "Value to increment the attribute by. The value must be a number.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"min": {
|
||||
"type": "number",
|
||||
"description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -7273,12 +7292,14 @@
|
||||
"value": {
|
||||
"type": "number",
|
||||
"description": "Value to increment the attribute by. The value must be a number.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -7318,7 +7339,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listExecutions",
|
||||
"group": "executions",
|
||||
"weight": 454,
|
||||
"weight": 455,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "functions\/list-executions.md",
|
||||
@@ -7405,7 +7426,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "createExecution",
|
||||
"group": "executions",
|
||||
"weight": 452,
|
||||
"weight": 453,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "functions\/create-execution.md",
|
||||
@@ -7523,7 +7544,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getExecution",
|
||||
"group": "executions",
|
||||
"weight": 453,
|
||||
"weight": 454,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "functions\/get-execution.md",
|
||||
@@ -7598,7 +7619,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "query",
|
||||
"group": "graphql",
|
||||
"weight": 225,
|
||||
"weight": 214,
|
||||
"cookies": false,
|
||||
"type": "graphql",
|
||||
"demo": "graphql\/query.md",
|
||||
@@ -7652,7 +7673,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "mutation",
|
||||
"group": "graphql",
|
||||
"weight": 224,
|
||||
"weight": 213,
|
||||
"cookies": false,
|
||||
"type": "graphql",
|
||||
"demo": "graphql\/mutation.md",
|
||||
@@ -7706,7 +7727,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "get",
|
||||
"group": null,
|
||||
"weight": 60,
|
||||
"weight": 49,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "locale\/get.md",
|
||||
@@ -7760,7 +7781,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listCodes",
|
||||
"group": null,
|
||||
"weight": 61,
|
||||
"weight": 50,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "locale\/list-codes.md",
|
||||
@@ -7814,7 +7835,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listContinents",
|
||||
"group": null,
|
||||
"weight": 65,
|
||||
"weight": 54,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "locale\/list-continents.md",
|
||||
@@ -7868,7 +7889,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listCountries",
|
||||
"group": null,
|
||||
"weight": 62,
|
||||
"weight": 51,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "locale\/list-countries.md",
|
||||
@@ -7922,7 +7943,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listCountriesEU",
|
||||
"group": null,
|
||||
"weight": 63,
|
||||
"weight": 52,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "locale\/list-countries-eu.md",
|
||||
@@ -7976,7 +7997,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listCountriesPhones",
|
||||
"group": null,
|
||||
"weight": 64,
|
||||
"weight": 53,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "locale\/list-countries-phones.md",
|
||||
@@ -8030,7 +8051,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listCurrencies",
|
||||
"group": null,
|
||||
"weight": 66,
|
||||
"weight": 55,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "locale\/list-currencies.md",
|
||||
@@ -8084,7 +8105,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listLanguages",
|
||||
"group": null,
|
||||
"weight": 67,
|
||||
"weight": 56,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "locale\/list-languages.md",
|
||||
@@ -8138,7 +8159,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "createSubscriber",
|
||||
"group": "subscribers",
|
||||
"weight": 272,
|
||||
"weight": 261,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "messaging\/create-subscriber.md",
|
||||
@@ -8222,7 +8243,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "deleteSubscriber",
|
||||
"group": "subscribers",
|
||||
"weight": 276,
|
||||
"weight": 265,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "messaging\/delete-subscriber.md",
|
||||
@@ -8298,7 +8319,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listFiles",
|
||||
"group": "files",
|
||||
"weight": 525,
|
||||
"weight": 526,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "storage\/list-files.md",
|
||||
@@ -8397,7 +8418,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "createFile",
|
||||
"group": "files",
|
||||
"weight": 523,
|
||||
"weight": 524,
|
||||
"cookies": false,
|
||||
"type": "upload",
|
||||
"demo": "storage\/create-file.md",
|
||||
@@ -8452,7 +8473,8 @@
|
||||
"file": {
|
||||
"type": "string",
|
||||
"description": "Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "binary"
|
||||
},
|
||||
"permissions": {
|
||||
"type": "array",
|
||||
@@ -8498,7 +8520,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getFile",
|
||||
"group": "files",
|
||||
"weight": 524,
|
||||
"weight": 525,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "storage\/get-file.md",
|
||||
@@ -8572,7 +8594,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updateFile",
|
||||
"group": "files",
|
||||
"weight": 526,
|
||||
"weight": 527,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "storage\/update-file.md",
|
||||
@@ -8664,7 +8686,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "deleteFile",
|
||||
"group": "files",
|
||||
"weight": 527,
|
||||
"weight": 528,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "storage\/delete-file.md",
|
||||
@@ -8733,7 +8755,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getFileDownload",
|
||||
"group": "files",
|
||||
"weight": 529,
|
||||
"weight": 530,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "storage\/get-file-download.md",
|
||||
@@ -8813,7 +8835,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getFilePreview",
|
||||
"group": "files",
|
||||
"weight": 528,
|
||||
"weight": 529,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "storage\/get-file-preview.md",
|
||||
@@ -9043,7 +9065,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getFileView",
|
||||
"group": "files",
|
||||
"weight": 530,
|
||||
"weight": 531,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "storage\/get-file-view.md",
|
||||
@@ -9240,7 +9262,8 @@
|
||||
"ttl": {
|
||||
"type": "integer",
|
||||
"description": "Seconds before the transaction expires.",
|
||||
"x-example": 60
|
||||
"x-example": 60,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10403,12 +10426,14 @@
|
||||
"value": {
|
||||
"type": "number",
|
||||
"description": "Value to increment the column by. The value must be a number.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"min": {
|
||||
"type": "number",
|
||||
"description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -10529,12 +10554,14 @@
|
||||
"value": {
|
||||
"type": "number",
|
||||
"description": "Value to increment the column by. The value must be a number.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -10574,7 +10601,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "list",
|
||||
"group": "teams",
|
||||
"weight": 145,
|
||||
"weight": 134,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/list.md",
|
||||
@@ -10663,7 +10690,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "create",
|
||||
"group": "teams",
|
||||
"weight": 144,
|
||||
"weight": 133,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/create.md",
|
||||
@@ -10750,7 +10777,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "get",
|
||||
"group": "teams",
|
||||
"weight": 146,
|
||||
"weight": 135,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/get.md",
|
||||
@@ -10814,7 +10841,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updateName",
|
||||
"group": "teams",
|
||||
"weight": 148,
|
||||
"weight": 137,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/update-name.md",
|
||||
@@ -10890,7 +10917,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "delete",
|
||||
"group": "teams",
|
||||
"weight": 150,
|
||||
"weight": 139,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/delete.md",
|
||||
@@ -10956,7 +10983,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listMemberships",
|
||||
"group": "memberships",
|
||||
"weight": 152,
|
||||
"weight": 141,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/list-memberships.md",
|
||||
@@ -11055,7 +11082,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "createMembership",
|
||||
"group": "memberships",
|
||||
"weight": 151,
|
||||
"weight": 140,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/create-membership.md",
|
||||
@@ -11104,7 +11131,8 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "Email of the new team member.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
@@ -11114,7 +11142,8 @@
|
||||
"phone": {
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"roles": {
|
||||
"type": "array",
|
||||
@@ -11134,7 +11163,8 @@
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -11175,7 +11205,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getMembership",
|
||||
"group": "memberships",
|
||||
"weight": 153,
|
||||
"weight": 142,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/get-membership.md",
|
||||
@@ -11249,7 +11279,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updateMembership",
|
||||
"group": "memberships",
|
||||
"weight": 154,
|
||||
"weight": 143,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/update-membership.md",
|
||||
@@ -11345,7 +11375,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "deleteMembership",
|
||||
"group": "memberships",
|
||||
"weight": 156,
|
||||
"weight": 145,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/delete-membership.md",
|
||||
@@ -11421,7 +11451,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updateMembershipStatus",
|
||||
"group": "memberships",
|
||||
"weight": 155,
|
||||
"weight": 144,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/update-membership-status.md",
|
||||
@@ -11521,7 +11551,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getPrefs",
|
||||
"group": "teams",
|
||||
"weight": 147,
|
||||
"weight": 136,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/get-prefs.md",
|
||||
@@ -11584,7 +11614,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updatePrefs",
|
||||
"group": "teams",
|
||||
"weight": 149,
|
||||
"weight": 138,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/update-prefs.md",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -140,7 +140,8 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
@@ -224,12 +225,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -439,7 +442,8 @@
|
||||
"duration": {
|
||||
"type": "integer",
|
||||
"description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.",
|
||||
"x-example": 0
|
||||
"x-example": 0,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1796,7 +1800,8 @@
|
||||
"oldPassword": {
|
||||
"type": "string",
|
||||
"description": "Current user password. Must be at least 8 chars.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1868,12 +1873,14 @@
|
||||
"phone": {
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2072,12 +2079,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2382,12 +2391,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3304,7 +3315,8 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"phrase": {
|
||||
"type": "boolean",
|
||||
@@ -3390,12 +3402,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
},
|
||||
"phrase": {
|
||||
"type": "boolean",
|
||||
@@ -3621,7 +3635,8 @@
|
||||
"phone": {
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3746,7 +3761,8 @@
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -5980,7 +5996,8 @@
|
||||
"ttl": {
|
||||
"type": "integer",
|
||||
"description": "Seconds before the transaction expires.",
|
||||
"x-example": 60
|
||||
"x-example": 60,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7146,12 +7163,14 @@
|
||||
"value": {
|
||||
"type": "number",
|
||||
"description": "Value to increment the attribute by. The value must be a number.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"min": {
|
||||
"type": "number",
|
||||
"description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -7273,12 +7292,14 @@
|
||||
"value": {
|
||||
"type": "number",
|
||||
"description": "Value to increment the attribute by. The value must be a number.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -8452,7 +8473,8 @@
|
||||
"file": {
|
||||
"type": "string",
|
||||
"description": "Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "binary"
|
||||
},
|
||||
"permissions": {
|
||||
"type": "array",
|
||||
@@ -9240,7 +9262,8 @@
|
||||
"ttl": {
|
||||
"type": "integer",
|
||||
"description": "Seconds before the transaction expires.",
|
||||
"x-example": 60
|
||||
"x-example": 60,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10403,12 +10426,14 @@
|
||||
"value": {
|
||||
"type": "number",
|
||||
"description": "Value to increment the column by. The value must be a number.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"min": {
|
||||
"type": "number",
|
||||
"description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -10529,12 +10554,14 @@
|
||||
"value": {
|
||||
"type": "number",
|
||||
"description": "Value to increment the column by. The value must be a number.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -11104,7 +11131,8 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "Email of the new team member.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
@@ -11114,7 +11142,8 @@
|
||||
"phone": {
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"roles": {
|
||||
"type": "array",
|
||||
@@ -11134,7 +11163,8 @@
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -142,7 +142,8 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
@@ -227,12 +228,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -445,7 +448,8 @@
|
||||
"duration": {
|
||||
"type": "integer",
|
||||
"description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.",
|
||||
"x-example": 0
|
||||
"x-example": 0,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1833,7 +1837,8 @@
|
||||
"oldPassword": {
|
||||
"type": "string",
|
||||
"description": "Current user password. Must be at least 8 chars.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1906,12 +1911,14 @@
|
||||
"phone": {
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2113,12 +2120,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2428,12 +2437,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3001,7 +3012,8 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"phrase": {
|
||||
"type": "boolean",
|
||||
@@ -3088,12 +3100,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
},
|
||||
"phrase": {
|
||||
"type": "boolean",
|
||||
@@ -3321,7 +3335,8 @@
|
||||
"phone": {
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3449,7 +3464,8 @@
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -5948,7 +5964,8 @@
|
||||
"ttl": {
|
||||
"type": "integer",
|
||||
"description": "Seconds before the transaction expires.",
|
||||
"x-example": 60
|
||||
"x-example": 60,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7721,6 +7738,7 @@
|
||||
"type": "string",
|
||||
"description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
|
||||
"x-example": "email@example.com",
|
||||
"format": "email",
|
||||
"x-nullable": true
|
||||
},
|
||||
"array": {
|
||||
@@ -7839,6 +7857,7 @@
|
||||
"type": "string",
|
||||
"description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
|
||||
"x-example": "email@example.com",
|
||||
"format": "email",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -8205,18 +8224,21 @@
|
||||
"type": "number",
|
||||
"description": "Minimum value.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "Maximum value.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
"type": "number",
|
||||
"description": "Default value. Cannot be set when required.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"array": {
|
||||
@@ -8335,18 +8357,21 @@
|
||||
"type": "number",
|
||||
"description": "Minimum value.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "Maximum value.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
"type": "number",
|
||||
"description": "Default value. Cannot be set when required.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -8462,18 +8487,21 @@
|
||||
"type": "integer",
|
||||
"description": "Minimum value",
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
"type": "integer",
|
||||
"description": "Maximum value",
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
"type": "integer",
|
||||
"description": "Default value. Cannot be set when attribute is required.",
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"array": {
|
||||
@@ -8592,18 +8620,21 @@
|
||||
"type": "integer",
|
||||
"description": "Minimum value",
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
"type": "integer",
|
||||
"description": "Maximum value",
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
"type": "integer",
|
||||
"description": "Default value. Cannot be set when attribute is required.",
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -9809,7 +9840,8 @@
|
||||
"size": {
|
||||
"type": "integer",
|
||||
"description": "Attribute size for text attributes, in number of characters.",
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"required": {
|
||||
"type": "boolean",
|
||||
@@ -9950,6 +9982,7 @@
|
||||
"type": "integer",
|
||||
"description": "Maximum size of the string attribute.",
|
||||
"x-example": 1,
|
||||
"format": "int32",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -10065,6 +10098,7 @@
|
||||
"type": "string",
|
||||
"description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url",
|
||||
"x-nullable": true
|
||||
},
|
||||
"array": {
|
||||
@@ -10183,6 +10217,7 @@
|
||||
"type": "string",
|
||||
"description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -11774,12 +11809,14 @@
|
||||
"value": {
|
||||
"type": "number",
|
||||
"description": "Value to increment the attribute by. The value must be a number.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"min": {
|
||||
"type": "number",
|
||||
"description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -11903,12 +11940,14 @@
|
||||
"value": {
|
||||
"type": "number",
|
||||
"description": "Value to increment the attribute by. The value must be a number.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -12582,7 +12621,8 @@
|
||||
"timeout": {
|
||||
"type": "integer",
|
||||
"description": "Function maximum execution time in seconds.",
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
@@ -13048,7 +13088,8 @@
|
||||
"timeout": {
|
||||
"type": "integer",
|
||||
"description": "Maximum execution time in seconds.",
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
@@ -13492,7 +13533,8 @@
|
||||
"code": {
|
||||
"type": "string",
|
||||
"description": "Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "binary"
|
||||
},
|
||||
"activate": {
|
||||
"type": "boolean",
|
||||
@@ -17303,7 +17345,8 @@
|
||||
"badge": {
|
||||
"type": "integer",
|
||||
"description": "Badge for push notification. Available only for iOS Platform.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "int32"
|
||||
},
|
||||
"draft": {
|
||||
"type": "boolean",
|
||||
@@ -17500,6 +17543,7 @@
|
||||
"type": "integer",
|
||||
"description": "Badge for push notification. Available only for iOS platforms.",
|
||||
"x-example": null,
|
||||
"format": "int32",
|
||||
"x-nullable": true
|
||||
},
|
||||
"draft": {
|
||||
@@ -19070,7 +19114,8 @@
|
||||
"fromEmail": {
|
||||
"type": "string",
|
||||
"description": "Sender email address.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "string",
|
||||
@@ -19080,7 +19125,8 @@
|
||||
"replyToEmail": {
|
||||
"type": "string",
|
||||
"description": "Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
@@ -19202,7 +19248,8 @@
|
||||
"fromEmail": {
|
||||
"type": "string",
|
||||
"description": "Sender email address.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "string",
|
||||
@@ -19499,7 +19546,8 @@
|
||||
"fromEmail": {
|
||||
"type": "string",
|
||||
"description": "Sender email address.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "string",
|
||||
@@ -19509,7 +19557,8 @@
|
||||
"replyToEmail": {
|
||||
"type": "string",
|
||||
"description": "Email set in the reply to field for the mail. Default value is sender email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
@@ -19620,7 +19669,8 @@
|
||||
"fromEmail": {
|
||||
"type": "string",
|
||||
"description": "Sender email address.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "string",
|
||||
@@ -19718,7 +19768,8 @@
|
||||
"fromEmail": {
|
||||
"type": "string",
|
||||
"description": "Sender email address.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "string",
|
||||
@@ -19728,7 +19779,8 @@
|
||||
"replyToEmail": {
|
||||
"type": "string",
|
||||
"description": "Email set in the reply to field for the mail. Default value is sender email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
@@ -19839,7 +19891,8 @@
|
||||
"fromEmail": {
|
||||
"type": "string",
|
||||
"description": "Sender email address.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "string",
|
||||
@@ -20020,7 +20073,8 @@
|
||||
"port": {
|
||||
"type": "integer",
|
||||
"description": "The default SMTP server port.",
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"username": {
|
||||
"type": "string",
|
||||
@@ -20062,7 +20116,8 @@
|
||||
"fromEmail": {
|
||||
"type": "string",
|
||||
"description": "Sender email address.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "string",
|
||||
@@ -20072,7 +20127,8 @@
|
||||
"replyToEmail": {
|
||||
"type": "string",
|
||||
"description": "Email set in the reply to field for the mail. Default value is sender email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
@@ -20258,6 +20314,7 @@
|
||||
"type": "integer",
|
||||
"description": "SMTP port.",
|
||||
"x-example": 1,
|
||||
"format": "int32",
|
||||
"x-nullable": true
|
||||
},
|
||||
"username": {
|
||||
@@ -20301,7 +20358,8 @@
|
||||
"fromEmail": {
|
||||
"type": "string",
|
||||
"description": "Sender email address.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "string",
|
||||
@@ -20395,7 +20453,8 @@
|
||||
"from": {
|
||||
"type": "string",
|
||||
"description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
@@ -20594,7 +20653,8 @@
|
||||
"from": {
|
||||
"type": "string",
|
||||
"description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"username": {
|
||||
"type": "string",
|
||||
@@ -20793,7 +20853,8 @@
|
||||
"from": {
|
||||
"type": "string",
|
||||
"description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"accountSid": {
|
||||
"type": "string",
|
||||
@@ -20992,7 +21053,8 @@
|
||||
"from": {
|
||||
"type": "string",
|
||||
"description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"apiKey": {
|
||||
"type": "string",
|
||||
@@ -22405,7 +22467,8 @@
|
||||
"timeout": {
|
||||
"type": "integer",
|
||||
"description": "Maximum request time in seconds.",
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"installCommand": {
|
||||
"type": "string",
|
||||
@@ -22829,7 +22892,8 @@
|
||||
"timeout": {
|
||||
"type": "integer",
|
||||
"description": "Maximum request time in seconds.",
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"installCommand": {
|
||||
"type": "string",
|
||||
@@ -23299,7 +23363,8 @@
|
||||
"code": {
|
||||
"type": "string",
|
||||
"description": "Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "binary"
|
||||
},
|
||||
"activate": {
|
||||
"type": "boolean",
|
||||
@@ -24704,7 +24769,8 @@
|
||||
"maximumFileSize": {
|
||||
"type": "integer",
|
||||
"description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.",
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"allowedFileExtensions": {
|
||||
"type": "array",
|
||||
@@ -24909,7 +24975,8 @@
|
||||
"maximumFileSize": {
|
||||
"type": "integer",
|
||||
"description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.",
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"allowedFileExtensions": {
|
||||
"type": "array",
|
||||
@@ -25193,7 +25260,8 @@
|
||||
"file": {
|
||||
"type": "string",
|
||||
"description": "Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "binary"
|
||||
},
|
||||
"permissions": {
|
||||
"type": "array",
|
||||
@@ -26166,7 +26234,8 @@
|
||||
"ttl": {
|
||||
"type": "integer",
|
||||
"description": "Seconds before the transaction expires.",
|
||||
"x-example": 60
|
||||
"x-example": 60,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -27836,6 +27905,7 @@
|
||||
"type": "string",
|
||||
"description": "Default value for column when not provided. Cannot be set when column is required.",
|
||||
"x-example": "email@example.com",
|
||||
"format": "email",
|
||||
"x-nullable": true
|
||||
},
|
||||
"array": {
|
||||
@@ -27953,6 +28023,7 @@
|
||||
"type": "string",
|
||||
"description": "Default value for column when not provided. Cannot be set when column is required.",
|
||||
"x-example": "email@example.com",
|
||||
"format": "email",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -28316,18 +28387,21 @@
|
||||
"type": "number",
|
||||
"description": "Minimum value",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "Maximum value",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
"type": "number",
|
||||
"description": "Default value. Cannot be set when required.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"array": {
|
||||
@@ -28445,18 +28519,21 @@
|
||||
"type": "number",
|
||||
"description": "Minimum value",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "Maximum value",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
"type": "number",
|
||||
"description": "Default value. Cannot be set when required.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -28571,18 +28648,21 @@
|
||||
"type": "integer",
|
||||
"description": "Minimum value",
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
"type": "integer",
|
||||
"description": "Maximum value",
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
"type": "integer",
|
||||
"description": "Default value. Cannot be set when column is required.",
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"array": {
|
||||
@@ -28700,18 +28780,21 @@
|
||||
"type": "integer",
|
||||
"description": "Minimum value",
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
"type": "integer",
|
||||
"description": "Maximum value",
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
"type": "integer",
|
||||
"description": "Default value. Cannot be set when column is required.",
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -29907,7 +29990,8 @@
|
||||
"size": {
|
||||
"type": "integer",
|
||||
"description": "Column size for text columns, in number of characters.",
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"required": {
|
||||
"type": "boolean",
|
||||
@@ -30047,6 +30131,7 @@
|
||||
"type": "integer",
|
||||
"description": "Maximum size of the string column.",
|
||||
"x-example": 1,
|
||||
"format": "int32",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -30161,6 +30246,7 @@
|
||||
"type": "string",
|
||||
"description": "Default value for column when not provided. Cannot be set when column is required.",
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url",
|
||||
"x-nullable": true
|
||||
},
|
||||
"array": {
|
||||
@@ -30278,6 +30364,7 @@
|
||||
"type": "string",
|
||||
"description": "Default value for column when not provided. Cannot be set when column is required.",
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -32243,12 +32330,14 @@
|
||||
"value": {
|
||||
"type": "number",
|
||||
"description": "Value to increment the column by. The value must be a number.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"min": {
|
||||
"type": "number",
|
||||
"description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -32371,12 +32460,14 @@
|
||||
"value": {
|
||||
"type": "number",
|
||||
"description": "Value to increment the column by. The value must be a number.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.",
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -32960,7 +33051,8 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "Email of the new team member.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
@@ -32970,7 +33062,8 @@
|
||||
"phone": {
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"roles": {
|
||||
"type": "array",
|
||||
@@ -32990,7 +33083,8 @@
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -34041,12 +34135,14 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com",
|
||||
"format": "email",
|
||||
"x-nullable": true
|
||||
},
|
||||
"phone": {
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone",
|
||||
"x-nullable": true
|
||||
},
|
||||
"password": {
|
||||
@@ -34133,12 +34229,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password hashed using Argon2.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -34221,12 +34319,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password hashed using Bcrypt.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -34455,12 +34555,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password hashed using MD5.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -34543,12 +34645,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password hashed using PHPass.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -34631,12 +34735,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password hashed using Scrypt.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
},
|
||||
"passwordSalt": {
|
||||
"type": "string",
|
||||
@@ -34646,22 +34752,26 @@
|
||||
"passwordCpu": {
|
||||
"type": "integer",
|
||||
"description": "Optional CPU cost used to hash password.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "int32"
|
||||
},
|
||||
"passwordMemory": {
|
||||
"type": "integer",
|
||||
"description": "Optional memory cost used to hash password.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "int32"
|
||||
},
|
||||
"passwordParallel": {
|
||||
"type": "integer",
|
||||
"description": "Optional parallelization cost used to hash password.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "int32"
|
||||
},
|
||||
"passwordLength": {
|
||||
"type": "integer",
|
||||
"description": "Optional hash length used to hash password.",
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "int32"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -34749,12 +34859,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password hashed using Scrypt Modified.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
},
|
||||
"passwordSalt": {
|
||||
"type": "string",
|
||||
@@ -34855,12 +34967,14 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password hashed using SHA.",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
},
|
||||
"passwordVersion": {
|
||||
"type": "string",
|
||||
@@ -35089,7 +35203,8 @@
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -35177,7 +35292,8 @@
|
||||
"duration": {
|
||||
"type": "integer",
|
||||
"description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.",
|
||||
"x-example": 0
|
||||
"x-example": 0,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -36457,7 +36573,8 @@
|
||||
"number": {
|
||||
"type": "string",
|
||||
"description": "User phone number.",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -37462,12 +37579,14 @@
|
||||
"length": {
|
||||
"type": "integer",
|
||||
"description": "Token length in characters. The default length is 6 characters",
|
||||
"x-example": 4
|
||||
"x-example": 4,
|
||||
"format": "int32"
|
||||
},
|
||||
"expire": {
|
||||
"type": "integer",
|
||||
"description": "Token expiration period in seconds. The default expiration is 15 minutes.",
|
||||
"x-example": 60
|
||||
"x-example": 60,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -39181,14 +39300,14 @@
|
||||
"type": "integer",
|
||||
"description": "Minimum value to enforce for new documents.",
|
||||
"x-example": 1,
|
||||
"format": "int32",
|
||||
"format": "int64",
|
||||
"nullable": true
|
||||
},
|
||||
"max": {
|
||||
"type": "integer",
|
||||
"description": "Maximum value to enforce for new documents.",
|
||||
"x-example": 10,
|
||||
"format": "int32",
|
||||
"format": "int64",
|
||||
"nullable": true
|
||||
},
|
||||
"default": {
|
||||
@@ -40630,14 +40749,14 @@
|
||||
"type": "integer",
|
||||
"description": "Minimum value to enforce for new documents.",
|
||||
"x-example": 1,
|
||||
"format": "int32",
|
||||
"format": "int64",
|
||||
"nullable": true
|
||||
},
|
||||
"max": {
|
||||
"type": "integer",
|
||||
"description": "Maximum value to enforce for new documents.",
|
||||
"x-example": 10,
|
||||
"format": "int32",
|
||||
"format": "int64",
|
||||
"nullable": true
|
||||
},
|
||||
"default": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"swagger": "2.0",
|
||||
"info": {
|
||||
"version": "1.8.0",
|
||||
"version": "1.8.1",
|
||||
"title": "Appwrite",
|
||||
"description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)",
|
||||
"termsOfService": "https:\/\/appwrite.io\/policy\/terms",
|
||||
@@ -191,7 +191,8 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
@@ -280,13 +281,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"default": null,
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -498,7 +501,8 @@
|
||||
"type": "integer",
|
||||
"description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.",
|
||||
"default": 900,
|
||||
"x-example": 0
|
||||
"x-example": 0,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -608,7 +612,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updateMFA",
|
||||
"group": "mfa",
|
||||
"weight": 288,
|
||||
"weight": 277,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/update-mfa.md",
|
||||
@@ -683,7 +687,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "createMfaAuthenticator",
|
||||
"group": "mfa",
|
||||
"weight": 290,
|
||||
"weight": 279,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/create-mfa-authenticator.md",
|
||||
@@ -807,7 +811,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updateMfaAuthenticator",
|
||||
"group": "mfa",
|
||||
"weight": 291,
|
||||
"weight": 280,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/update-mfa-authenticator.md",
|
||||
@@ -948,7 +952,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "deleteMfaAuthenticator",
|
||||
"group": "mfa",
|
||||
"weight": 292,
|
||||
"weight": 281,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/delete-mfa-authenticator.md",
|
||||
@@ -1072,7 +1076,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "createMfaChallenge",
|
||||
"group": "mfa",
|
||||
"weight": 296,
|
||||
"weight": 285,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/create-mfa-challenge.md",
|
||||
@@ -1209,7 +1213,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updateMfaChallenge",
|
||||
"group": "mfa",
|
||||
"weight": 297,
|
||||
"weight": 286,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/update-mfa-challenge.md",
|
||||
@@ -1349,7 +1353,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listMfaFactors",
|
||||
"group": "mfa",
|
||||
"weight": 289,
|
||||
"weight": 278,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/list-mfa-factors.md",
|
||||
@@ -1450,7 +1454,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getMfaRecoveryCodes",
|
||||
"group": "mfa",
|
||||
"weight": 295,
|
||||
"weight": 284,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/get-mfa-recovery-codes.md",
|
||||
@@ -1551,7 +1555,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "createMfaRecoveryCodes",
|
||||
"group": "mfa",
|
||||
"weight": 293,
|
||||
"weight": 282,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/create-mfa-recovery-codes.md",
|
||||
@@ -1652,7 +1656,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updateMfaRecoveryCodes",
|
||||
"group": "mfa",
|
||||
"weight": 294,
|
||||
"weight": 283,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "account\/update-mfa-recovery-codes.md",
|
||||
@@ -1874,7 +1878,8 @@
|
||||
"type": "string",
|
||||
"description": "Current user password. Must be at least 8 chars.",
|
||||
"default": "",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1949,13 +1954,15 @@
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"default": null,
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"default": null,
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2160,13 +2167,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"default": null,
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2485,13 +2494,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"default": null,
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3429,7 +3440,8 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"phrase": {
|
||||
"type": "boolean",
|
||||
@@ -3520,13 +3532,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"default": "",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
},
|
||||
"phrase": {
|
||||
"type": "boolean",
|
||||
@@ -3754,7 +3768,8 @@
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"default": null,
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3882,7 +3897,8 @@
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"default": null,
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -4191,7 +4207,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getBrowser",
|
||||
"group": null,
|
||||
"weight": 50,
|
||||
"weight": 288,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "avatars\/get-browser.md",
|
||||
@@ -4317,7 +4333,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getCreditCard",
|
||||
"group": null,
|
||||
"weight": 49,
|
||||
"weight": 287,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "avatars\/get-credit-card.md",
|
||||
@@ -4449,7 +4465,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getFavicon",
|
||||
"group": null,
|
||||
"weight": 53,
|
||||
"weight": 291,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "avatars\/get-favicon.md",
|
||||
@@ -4513,7 +4529,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getFlag",
|
||||
"group": null,
|
||||
"weight": 51,
|
||||
"weight": 289,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "avatars\/get-flag.md",
|
||||
@@ -5001,7 +5017,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getImage",
|
||||
"group": null,
|
||||
"weight": 52,
|
||||
"weight": 290,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "avatars\/get-image.md",
|
||||
@@ -5085,7 +5101,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getInitials",
|
||||
"group": null,
|
||||
"weight": 55,
|
||||
"weight": 293,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "avatars\/get-initials.md",
|
||||
@@ -5177,7 +5193,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getQR",
|
||||
"group": null,
|
||||
"weight": 54,
|
||||
"weight": 292,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "avatars\/get-qr.md",
|
||||
@@ -5269,7 +5285,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getScreenshot",
|
||||
"group": null,
|
||||
"weight": 56,
|
||||
"weight": 294,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "avatars\/get-screenshot.md",
|
||||
@@ -6087,7 +6103,8 @@
|
||||
"type": "integer",
|
||||
"description": "Seconds before the transaction expires.",
|
||||
"default": 300,
|
||||
"x-example": 60
|
||||
"x-example": 60,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7208,13 +7225,15 @@
|
||||
"type": "number",
|
||||
"description": "Value to increment the attribute by. The value must be a number.",
|
||||
"default": 1,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"min": {
|
||||
"type": "number",
|
||||
"description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -7329,13 +7348,15 @@
|
||||
"type": "number",
|
||||
"description": "Value to increment the attribute by. The value must be a number.",
|
||||
"default": 1,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -7375,7 +7396,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listExecutions",
|
||||
"group": "executions",
|
||||
"weight": 454,
|
||||
"weight": 455,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "functions\/list-executions.md",
|
||||
@@ -7458,7 +7479,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "createExecution",
|
||||
"group": "executions",
|
||||
"weight": 452,
|
||||
"weight": 453,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "functions\/create-execution.md",
|
||||
@@ -7577,7 +7598,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getExecution",
|
||||
"group": "executions",
|
||||
"weight": 453,
|
||||
"weight": 454,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "functions\/get-execution.md",
|
||||
@@ -7649,7 +7670,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "query",
|
||||
"group": "graphql",
|
||||
"weight": 225,
|
||||
"weight": 214,
|
||||
"cookies": false,
|
||||
"type": "graphql",
|
||||
"demo": "graphql\/query.md",
|
||||
@@ -7724,7 +7745,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "mutation",
|
||||
"group": "graphql",
|
||||
"weight": 224,
|
||||
"weight": 213,
|
||||
"cookies": false,
|
||||
"type": "graphql",
|
||||
"demo": "graphql\/mutation.md",
|
||||
@@ -7797,7 +7818,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "get",
|
||||
"group": null,
|
||||
"weight": 60,
|
||||
"weight": 49,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "locale\/get.md",
|
||||
@@ -7850,7 +7871,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listCodes",
|
||||
"group": null,
|
||||
"weight": 61,
|
||||
"weight": 50,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "locale\/list-codes.md",
|
||||
@@ -7903,7 +7924,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listContinents",
|
||||
"group": null,
|
||||
"weight": 65,
|
||||
"weight": 54,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "locale\/list-continents.md",
|
||||
@@ -7956,7 +7977,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listCountries",
|
||||
"group": null,
|
||||
"weight": 62,
|
||||
"weight": 51,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "locale\/list-countries.md",
|
||||
@@ -8009,7 +8030,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listCountriesEU",
|
||||
"group": null,
|
||||
"weight": 63,
|
||||
"weight": 52,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "locale\/list-countries-eu.md",
|
||||
@@ -8062,7 +8083,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listCountriesPhones",
|
||||
"group": null,
|
||||
"weight": 64,
|
||||
"weight": 53,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "locale\/list-countries-phones.md",
|
||||
@@ -8115,7 +8136,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listCurrencies",
|
||||
"group": null,
|
||||
"weight": 66,
|
||||
"weight": 55,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "locale\/list-currencies.md",
|
||||
@@ -8168,7 +8189,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listLanguages",
|
||||
"group": null,
|
||||
"weight": 67,
|
||||
"weight": 56,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "locale\/list-languages.md",
|
||||
@@ -8223,7 +8244,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "createSubscriber",
|
||||
"group": "subscribers",
|
||||
"weight": 272,
|
||||
"weight": 261,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "messaging\/create-subscriber.md",
|
||||
@@ -8308,7 +8329,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "deleteSubscriber",
|
||||
"group": "subscribers",
|
||||
"weight": 276,
|
||||
"weight": 265,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "messaging\/delete-subscriber.md",
|
||||
@@ -8379,7 +8400,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listFiles",
|
||||
"group": "files",
|
||||
"weight": 525,
|
||||
"weight": 526,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "storage\/list-files.md",
|
||||
@@ -8472,7 +8493,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "createFile",
|
||||
"group": "files",
|
||||
"weight": 523,
|
||||
"weight": 524,
|
||||
"cookies": false,
|
||||
"type": "upload",
|
||||
"demo": "storage\/create-file.md",
|
||||
@@ -8563,7 +8584,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getFile",
|
||||
"group": "files",
|
||||
"weight": 524,
|
||||
"weight": 525,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "storage\/get-file.md",
|
||||
@@ -8634,7 +8655,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updateFile",
|
||||
"group": "files",
|
||||
"weight": 526,
|
||||
"weight": 527,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "storage\/update-file.md",
|
||||
@@ -8725,7 +8746,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "deleteFile",
|
||||
"group": "files",
|
||||
"weight": 527,
|
||||
"weight": 528,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "storage\/delete-file.md",
|
||||
@@ -8796,7 +8817,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getFileDownload",
|
||||
"group": "files",
|
||||
"weight": 529,
|
||||
"weight": 530,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "storage\/get-file-download.md",
|
||||
@@ -8876,7 +8897,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getFilePreview",
|
||||
"group": "files",
|
||||
"weight": 528,
|
||||
"weight": 529,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "storage\/get-file-preview.md",
|
||||
@@ -9084,7 +9105,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getFileView",
|
||||
"group": "files",
|
||||
"weight": 530,
|
||||
"weight": 531,
|
||||
"cookies": false,
|
||||
"type": "location",
|
||||
"demo": "storage\/get-file-view.md",
|
||||
@@ -9275,7 +9296,8 @@
|
||||
"type": "integer",
|
||||
"description": "Seconds before the transaction expires.",
|
||||
"default": 300,
|
||||
"x-example": 60
|
||||
"x-example": 60,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10393,13 +10415,15 @@
|
||||
"type": "number",
|
||||
"description": "Value to increment the column by. The value must be a number.",
|
||||
"default": 1,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"min": {
|
||||
"type": "number",
|
||||
"description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -10513,13 +10537,15 @@
|
||||
"type": "number",
|
||||
"description": "Value to increment the column by. The value must be a number.",
|
||||
"default": 1,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -10559,7 +10585,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "list",
|
||||
"group": "teams",
|
||||
"weight": 145,
|
||||
"weight": 134,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/list.md",
|
||||
@@ -10644,7 +10670,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "create",
|
||||
"group": "teams",
|
||||
"weight": 144,
|
||||
"weight": 133,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/create.md",
|
||||
@@ -10735,7 +10761,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "get",
|
||||
"group": "teams",
|
||||
"weight": 146,
|
||||
"weight": 135,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/get.md",
|
||||
@@ -10798,7 +10824,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updateName",
|
||||
"group": "teams",
|
||||
"weight": 148,
|
||||
"weight": 137,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/update-name.md",
|
||||
@@ -10874,7 +10900,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "delete",
|
||||
"group": "teams",
|
||||
"weight": 150,
|
||||
"weight": 139,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/delete.md",
|
||||
@@ -10937,7 +10963,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "listMemberships",
|
||||
"group": "memberships",
|
||||
"weight": 152,
|
||||
"weight": 141,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/list-memberships.md",
|
||||
@@ -11030,7 +11056,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "createMembership",
|
||||
"group": "memberships",
|
||||
"weight": 151,
|
||||
"weight": 140,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/create-membership.md",
|
||||
@@ -11076,7 +11102,8 @@
|
||||
"type": "string",
|
||||
"description": "Email of the new team member.",
|
||||
"default": "",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
@@ -11088,7 +11115,8 @@
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"default": "",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"roles": {
|
||||
"type": "array",
|
||||
@@ -11110,7 +11138,8 @@
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"default": "",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -11151,7 +11180,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getMembership",
|
||||
"group": "memberships",
|
||||
"weight": 153,
|
||||
"weight": 142,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/get-membership.md",
|
||||
@@ -11222,7 +11251,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updateMembership",
|
||||
"group": "memberships",
|
||||
"weight": 154,
|
||||
"weight": 143,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/update-membership.md",
|
||||
@@ -11316,7 +11345,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "deleteMembership",
|
||||
"group": "memberships",
|
||||
"weight": 156,
|
||||
"weight": 145,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/delete-membership.md",
|
||||
@@ -11389,7 +11418,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updateMembershipStatus",
|
||||
"group": "memberships",
|
||||
"weight": 155,
|
||||
"weight": 144,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/update-membership-status.md",
|
||||
@@ -11485,7 +11514,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "getPrefs",
|
||||
"group": "teams",
|
||||
"weight": 147,
|
||||
"weight": 136,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/get-prefs.md",
|
||||
@@ -11548,7 +11577,7 @@
|
||||
"x-appwrite": {
|
||||
"method": "updatePrefs",
|
||||
"group": "teams",
|
||||
"weight": 149,
|
||||
"weight": 138,
|
||||
"cookies": false,
|
||||
"type": "",
|
||||
"demo": "teams\/update-prefs.md",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -191,7 +191,8 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
@@ -280,13 +281,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"default": null,
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -498,7 +501,8 @@
|
||||
"type": "integer",
|
||||
"description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.",
|
||||
"default": 900,
|
||||
"x-example": 0
|
||||
"x-example": 0,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1874,7 +1878,8 @@
|
||||
"type": "string",
|
||||
"description": "Current user password. Must be at least 8 chars.",
|
||||
"default": "",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1949,13 +1954,15 @@
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"default": null,
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"default": null,
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2160,13 +2167,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"default": null,
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2485,13 +2494,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"default": null,
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3429,7 +3440,8 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"phrase": {
|
||||
"type": "boolean",
|
||||
@@ -3520,13 +3532,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"default": "",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
},
|
||||
"phrase": {
|
||||
"type": "boolean",
|
||||
@@ -3754,7 +3768,8 @@
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"default": null,
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3882,7 +3897,8 @@
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"default": null,
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -6087,7 +6103,8 @@
|
||||
"type": "integer",
|
||||
"description": "Seconds before the transaction expires.",
|
||||
"default": 300,
|
||||
"x-example": 60
|
||||
"x-example": 60,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7208,13 +7225,15 @@
|
||||
"type": "number",
|
||||
"description": "Value to increment the attribute by. The value must be a number.",
|
||||
"default": 1,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"min": {
|
||||
"type": "number",
|
||||
"description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -7329,13 +7348,15 @@
|
||||
"type": "number",
|
||||
"description": "Value to increment the attribute by. The value must be a number.",
|
||||
"default": 1,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -9275,7 +9296,8 @@
|
||||
"type": "integer",
|
||||
"description": "Seconds before the transaction expires.",
|
||||
"default": 300,
|
||||
"x-example": 60
|
||||
"x-example": 60,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10393,13 +10415,15 @@
|
||||
"type": "number",
|
||||
"description": "Value to increment the column by. The value must be a number.",
|
||||
"default": 1,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"min": {
|
||||
"type": "number",
|
||||
"description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -10513,13 +10537,15 @@
|
||||
"type": "number",
|
||||
"description": "Value to increment the column by. The value must be a number.",
|
||||
"default": 1,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -11076,7 +11102,8 @@
|
||||
"type": "string",
|
||||
"description": "Email of the new team member.",
|
||||
"default": "",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
@@ -11088,7 +11115,8 @@
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"default": "",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"roles": {
|
||||
"type": "array",
|
||||
@@ -11110,7 +11138,8 @@
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"default": "",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -202,7 +202,8 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
@@ -292,13 +293,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"default": null,
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -513,7 +516,8 @@
|
||||
"type": "integer",
|
||||
"description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.",
|
||||
"default": 900,
|
||||
"x-example": 0
|
||||
"x-example": 0,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1920,7 +1924,8 @@
|
||||
"type": "string",
|
||||
"description": "Current user password. Must be at least 8 chars.",
|
||||
"default": "",
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1996,13 +2001,15 @@
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"default": null,
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"default": null,
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2210,13 +2217,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"default": null,
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2540,13 +2549,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password. Must be at least 8 chars.",
|
||||
"default": null,
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3132,7 +3143,8 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"phrase": {
|
||||
"type": "boolean",
|
||||
@@ -3224,13 +3236,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"default": "",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
},
|
||||
"phrase": {
|
||||
"type": "boolean",
|
||||
@@ -3460,7 +3474,8 @@
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"default": null,
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3591,7 +3606,8 @@
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"default": null,
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -6061,7 +6077,8 @@
|
||||
"type": "integer",
|
||||
"description": "Seconds before the transaction expires.",
|
||||
"default": 300,
|
||||
"x-example": 60
|
||||
"x-example": 60,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7809,6 +7826,7 @@
|
||||
"description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com",
|
||||
"format": "email",
|
||||
"x-nullable": true
|
||||
},
|
||||
"array": {
|
||||
@@ -7924,6 +7942,7 @@
|
||||
"description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com",
|
||||
"format": "email",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -8289,6 +8308,7 @@
|
||||
"description": "Minimum value.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
@@ -8296,6 +8316,7 @@
|
||||
"description": "Maximum value.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
@@ -8303,6 +8324,7 @@
|
||||
"description": "Default value. Cannot be set when required.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"array": {
|
||||
@@ -8418,6 +8440,7 @@
|
||||
"description": "Minimum value.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
@@ -8425,6 +8448,7 @@
|
||||
"description": "Maximum value.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
@@ -8432,6 +8456,7 @@
|
||||
"description": "Default value. Cannot be set when required.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -8547,6 +8572,7 @@
|
||||
"description": "Minimum value",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
@@ -8554,6 +8580,7 @@
|
||||
"description": "Maximum value",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
@@ -8561,6 +8588,7 @@
|
||||
"description": "Default value. Cannot be set when attribute is required.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"array": {
|
||||
@@ -8676,6 +8704,7 @@
|
||||
"description": "Minimum value",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
@@ -8683,6 +8712,7 @@
|
||||
"description": "Maximum value",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
@@ -8690,6 +8720,7 @@
|
||||
"description": "Default value. Cannot be set when attribute is required.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -9839,7 +9870,8 @@
|
||||
"type": "integer",
|
||||
"description": "Attribute size for text attributes, in number of characters.",
|
||||
"default": null,
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"required": {
|
||||
"type": "boolean",
|
||||
@@ -9981,6 +10013,7 @@
|
||||
"description": "Maximum size of the string attribute.",
|
||||
"default": null,
|
||||
"x-example": 1,
|
||||
"format": "int32",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -10096,6 +10129,7 @@
|
||||
"description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
|
||||
"default": null,
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url",
|
||||
"x-nullable": true
|
||||
},
|
||||
"array": {
|
||||
@@ -10211,6 +10245,7 @@
|
||||
"description": "Default value for attribute when not provided. Cannot be set when attribute is required.",
|
||||
"default": null,
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -11746,13 +11781,15 @@
|
||||
"type": "number",
|
||||
"description": "Value to increment the attribute by. The value must be a number.",
|
||||
"default": 1,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"min": {
|
||||
"type": "number",
|
||||
"description": "Minimum value for the attribute. If the current value is lesser than this value, an exception will be thrown.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -11869,13 +11906,15 @@
|
||||
"type": "number",
|
||||
"description": "Value to increment the attribute by. The value must be a number.",
|
||||
"default": 1,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "Maximum value for the attribute. If the current value is greater than this value, an error will be thrown.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -12540,7 +12579,8 @@
|
||||
"type": "integer",
|
||||
"description": "Function maximum execution time in seconds.",
|
||||
"default": 15,
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
@@ -13019,7 +13059,8 @@
|
||||
"type": "integer",
|
||||
"description": "Maximum execution time in seconds.",
|
||||
"default": 15,
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
@@ -17294,7 +17335,8 @@
|
||||
"type": "integer",
|
||||
"description": "Badge for push notification. Available only for iOS Platform.",
|
||||
"default": -1,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "int32"
|
||||
},
|
||||
"draft": {
|
||||
"type": "boolean",
|
||||
@@ -17507,6 +17549,7 @@
|
||||
"description": "Badge for push notification. Available only for iOS platforms.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "int32",
|
||||
"x-nullable": true
|
||||
},
|
||||
"draft": {
|
||||
@@ -19111,7 +19154,8 @@
|
||||
"type": "string",
|
||||
"description": "Sender email address.",
|
||||
"default": "",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "string",
|
||||
@@ -19123,7 +19167,8 @@
|
||||
"type": "string",
|
||||
"description": "Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.",
|
||||
"default": "",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
@@ -19251,7 +19296,8 @@
|
||||
"type": "string",
|
||||
"description": "Sender email address.",
|
||||
"default": "",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "string",
|
||||
@@ -19568,7 +19614,8 @@
|
||||
"type": "string",
|
||||
"description": "Sender email address.",
|
||||
"default": "",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "string",
|
||||
@@ -19580,7 +19627,8 @@
|
||||
"type": "string",
|
||||
"description": "Email set in the reply to field for the mail. Default value is sender email.",
|
||||
"default": "",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
@@ -19695,7 +19743,8 @@
|
||||
"type": "string",
|
||||
"description": "Sender email address.",
|
||||
"default": "",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "string",
|
||||
@@ -19802,7 +19851,8 @@
|
||||
"type": "string",
|
||||
"description": "Sender email address.",
|
||||
"default": "",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "string",
|
||||
@@ -19814,7 +19864,8 @@
|
||||
"type": "string",
|
||||
"description": "Email set in the reply to field for the mail. Default value is sender email.",
|
||||
"default": "",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
@@ -19929,7 +19980,8 @@
|
||||
"type": "string",
|
||||
"description": "Sender email address.",
|
||||
"default": "",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "string",
|
||||
@@ -20118,7 +20170,8 @@
|
||||
"type": "integer",
|
||||
"description": "The default SMTP server port.",
|
||||
"default": 587,
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"username": {
|
||||
"type": "string",
|
||||
@@ -20167,7 +20220,8 @@
|
||||
"type": "string",
|
||||
"description": "Sender email address.",
|
||||
"default": "",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "string",
|
||||
@@ -20179,7 +20233,8 @@
|
||||
"type": "string",
|
||||
"description": "Email set in the reply to field for the mail. Default value is sender email.",
|
||||
"default": "",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
@@ -20367,6 +20422,7 @@
|
||||
"description": "SMTP port.",
|
||||
"default": null,
|
||||
"x-example": 1,
|
||||
"format": "int32",
|
||||
"x-nullable": true
|
||||
},
|
||||
"username": {
|
||||
@@ -20417,7 +20473,8 @@
|
||||
"type": "string",
|
||||
"description": "Sender email address.",
|
||||
"default": "",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "string",
|
||||
@@ -20519,7 +20576,8 @@
|
||||
"type": "string",
|
||||
"description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"default": "",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
@@ -20729,7 +20787,8 @@
|
||||
"type": "string",
|
||||
"description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"default": "",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"username": {
|
||||
"type": "string",
|
||||
@@ -20939,7 +20998,8 @@
|
||||
"type": "string",
|
||||
"description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"default": "",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"accountSid": {
|
||||
"type": "string",
|
||||
@@ -21149,7 +21209,8 @@
|
||||
"type": "string",
|
||||
"description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"default": "",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"apiKey": {
|
||||
"type": "string",
|
||||
@@ -22545,7 +22606,8 @@
|
||||
"type": "integer",
|
||||
"description": "Maximum request time in seconds.",
|
||||
"default": 30,
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"installCommand": {
|
||||
"type": "string",
|
||||
@@ -22982,7 +23044,8 @@
|
||||
"type": "integer",
|
||||
"description": "Maximum request time in seconds.",
|
||||
"default": 30,
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"installCommand": {
|
||||
"type": "string",
|
||||
@@ -24847,7 +24910,8 @@
|
||||
"type": "integer",
|
||||
"description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.",
|
||||
"default": {},
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"allowedFileExtensions": {
|
||||
"type": "array",
|
||||
@@ -25058,7 +25122,8 @@
|
||||
"type": "integer",
|
||||
"description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.",
|
||||
"default": {},
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"allowedFileExtensions": {
|
||||
"type": "array",
|
||||
@@ -26275,7 +26340,8 @@
|
||||
"type": "integer",
|
||||
"description": "Seconds before the transaction expires.",
|
||||
"default": 300,
|
||||
"x-example": 60
|
||||
"x-example": 60,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -27920,6 +27986,7 @@
|
||||
"description": "Default value for column when not provided. Cannot be set when column is required.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com",
|
||||
"format": "email",
|
||||
"x-nullable": true
|
||||
},
|
||||
"array": {
|
||||
@@ -28034,6 +28101,7 @@
|
||||
"description": "Default value for column when not provided. Cannot be set when column is required.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com",
|
||||
"format": "email",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -28396,6 +28464,7 @@
|
||||
"description": "Minimum value",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
@@ -28403,6 +28472,7 @@
|
||||
"description": "Maximum value",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
@@ -28410,6 +28480,7 @@
|
||||
"description": "Default value. Cannot be set when required.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"array": {
|
||||
@@ -28524,6 +28595,7 @@
|
||||
"description": "Minimum value",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
@@ -28531,6 +28603,7 @@
|
||||
"description": "Maximum value",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
@@ -28538,6 +28611,7 @@
|
||||
"description": "Default value. Cannot be set when required.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -28652,6 +28726,7 @@
|
||||
"description": "Minimum value",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
@@ -28659,6 +28734,7 @@
|
||||
"description": "Maximum value",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
@@ -28666,6 +28742,7 @@
|
||||
"description": "Default value. Cannot be set when column is required.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"array": {
|
||||
@@ -28780,6 +28857,7 @@
|
||||
"description": "Minimum value",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
@@ -28787,6 +28865,7 @@
|
||||
"description": "Maximum value",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
@@ -28794,6 +28873,7 @@
|
||||
"description": "Default value. Cannot be set when column is required.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -29933,7 +30013,8 @@
|
||||
"type": "integer",
|
||||
"description": "Column size for text columns, in number of characters.",
|
||||
"default": null,
|
||||
"x-example": 1
|
||||
"x-example": 1,
|
||||
"format": "int32"
|
||||
},
|
||||
"required": {
|
||||
"type": "boolean",
|
||||
@@ -30074,6 +30155,7 @@
|
||||
"description": "Maximum size of the string column.",
|
||||
"default": null,
|
||||
"x-example": 1,
|
||||
"format": "int32",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -30188,6 +30270,7 @@
|
||||
"description": "Default value for column when not provided. Cannot be set when column is required.",
|
||||
"default": null,
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url",
|
||||
"x-nullable": true
|
||||
},
|
||||
"array": {
|
||||
@@ -30302,6 +30385,7 @@
|
||||
"description": "Default value for column when not provided. Cannot be set when column is required.",
|
||||
"default": null,
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url",
|
||||
"x-nullable": true
|
||||
},
|
||||
"newKey": {
|
||||
@@ -32197,13 +32281,15 @@
|
||||
"type": "number",
|
||||
"description": "Value to increment the column by. The value must be a number.",
|
||||
"default": 1,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"min": {
|
||||
"type": "number",
|
||||
"description": "Minimum value for the column. If the current value is lesser than this value, an exception will be thrown.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -32319,13 +32405,15 @@
|
||||
"type": "number",
|
||||
"description": "Value to increment the column by. The value must be a number.",
|
||||
"default": 1,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "float"
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"description": "Maximum value for the column. If the current value is greater than this value, an error will be thrown.",
|
||||
"default": null,
|
||||
"x-example": null,
|
||||
"format": "float",
|
||||
"x-nullable": true
|
||||
},
|
||||
"transactionId": {
|
||||
@@ -32896,7 +32984,8 @@
|
||||
"type": "string",
|
||||
"description": "Email of the new team member.",
|
||||
"default": "",
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string",
|
||||
@@ -32908,7 +32997,8 @@
|
||||
"type": "string",
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"default": "",
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
},
|
||||
"roles": {
|
||||
"type": "array",
|
||||
@@ -32930,7 +33020,8 @@
|
||||
"type": "string",
|
||||
"description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.",
|
||||
"default": "",
|
||||
"x-example": "https:\/\/example.com"
|
||||
"x-example": "https:\/\/example.com",
|
||||
"format": "url"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -33955,6 +34046,7 @@
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com",
|
||||
"format": "email",
|
||||
"x-nullable": true
|
||||
},
|
||||
"phone": {
|
||||
@@ -33962,6 +34054,7 @@
|
||||
"description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.",
|
||||
"default": null,
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone",
|
||||
"x-nullable": true
|
||||
},
|
||||
"password": {
|
||||
@@ -34054,13 +34147,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password hashed using Argon2.",
|
||||
"default": null,
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -34148,13 +34243,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password hashed using Bcrypt.",
|
||||
"default": null,
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -34385,13 +34482,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password hashed using MD5.",
|
||||
"default": null,
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -34479,13 +34578,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password hashed using PHPass.",
|
||||
"default": null,
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -34573,13 +34674,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password hashed using Scrypt.",
|
||||
"default": null,
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
},
|
||||
"passwordSalt": {
|
||||
"type": "string",
|
||||
@@ -34591,25 +34694,29 @@
|
||||
"type": "integer",
|
||||
"description": "Optional CPU cost used to hash password.",
|
||||
"default": null,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "int32"
|
||||
},
|
||||
"passwordMemory": {
|
||||
"type": "integer",
|
||||
"description": "Optional memory cost used to hash password.",
|
||||
"default": null,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "int32"
|
||||
},
|
||||
"passwordParallel": {
|
||||
"type": "integer",
|
||||
"description": "Optional parallelization cost used to hash password.",
|
||||
"default": null,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "int32"
|
||||
},
|
||||
"passwordLength": {
|
||||
"type": "integer",
|
||||
"description": "Optional hash length used to hash password.",
|
||||
"default": null,
|
||||
"x-example": null
|
||||
"x-example": null,
|
||||
"format": "int32"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
@@ -34702,13 +34809,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password hashed using Scrypt Modified.",
|
||||
"default": null,
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
},
|
||||
"passwordSalt": {
|
||||
"type": "string",
|
||||
@@ -34817,13 +34926,15 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "User password hashed using SHA.",
|
||||
"default": null,
|
||||
"x-example": "password"
|
||||
"x-example": "password",
|
||||
"format": "password"
|
||||
},
|
||||
"passwordVersion": {
|
||||
"type": "string",
|
||||
@@ -35053,7 +35164,8 @@
|
||||
"type": "string",
|
||||
"description": "User email.",
|
||||
"default": null,
|
||||
"x-example": "email@example.com"
|
||||
"x-example": "email@example.com",
|
||||
"format": "email"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -35141,7 +35253,8 @@
|
||||
"type": "integer",
|
||||
"description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.",
|
||||
"default": 900,
|
||||
"x-example": 0
|
||||
"x-example": 0,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -36400,7 +36513,8 @@
|
||||
"type": "string",
|
||||
"description": "User phone number.",
|
||||
"default": null,
|
||||
"x-example": "+12065550100"
|
||||
"x-example": "+12065550100",
|
||||
"format": "phone"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -37391,13 +37505,15 @@
|
||||
"type": "integer",
|
||||
"description": "Token length in characters. The default length is 6 characters",
|
||||
"default": 6,
|
||||
"x-example": 4
|
||||
"x-example": 4,
|
||||
"format": "int32"
|
||||
},
|
||||
"expire": {
|
||||
"type": "integer",
|
||||
"description": "Token expiration period in seconds. The default expiration is 15 minutes.",
|
||||
"default": 900,
|
||||
"x-example": 60
|
||||
"x-example": 60,
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -39106,14 +39222,14 @@
|
||||
"type": "integer",
|
||||
"description": "Minimum value to enforce for new documents.",
|
||||
"x-example": 1,
|
||||
"format": "int32",
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
"type": "integer",
|
||||
"description": "Maximum value to enforce for new documents.",
|
||||
"x-example": 10,
|
||||
"format": "int32",
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
@@ -40556,14 +40672,14 @@
|
||||
"type": "integer",
|
||||
"description": "Minimum value to enforce for new documents.",
|
||||
"x-example": 1,
|
||||
"format": "int32",
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"max": {
|
||||
"type": "integer",
|
||||
"description": "Maximum value to enforce for new documents.",
|
||||
"x-example": 10,
|
||||
"format": "int32",
|
||||
"format": "int64",
|
||||
"x-nullable": true
|
||||
},
|
||||
"default": {
|
||||
|
||||
Generated
+1
-1
@@ -9014,5 +9014,5 @@
|
||||
"platform-overrides": {
|
||||
"php": "8.3"
|
||||
},
|
||||
"plugin-api-version": "2.9.0"
|
||||
"plugin-api-version": "2.6.0"
|
||||
}
|
||||
|
||||
+3
-3
@@ -66,9 +66,9 @@ class Create extends Action
|
||||
->param('collectionId', '', new UID(), 'Collection ID.')
|
||||
->param('key', '', new Key(), 'Attribute Key.')
|
||||
->param('required', null, new Boolean(), 'Is attribute required?')
|
||||
->param('min', null, new Nullable(new Integer()), 'Minimum value', true)
|
||||
->param('max', null, new Nullable(new Integer()), 'Maximum value', true)
|
||||
->param('default', null, new Nullable(new Integer()), 'Default value. Cannot be set when attribute is required.', true)
|
||||
->param('min', null, new Nullable(new Integer(false, 64)), 'Minimum value', true)
|
||||
->param('max', null, new Nullable(new Integer(false, 64)), 'Maximum value', true)
|
||||
->param('default', null, new Nullable(new Integer(false, 64)), 'Default value. Cannot be set when attribute is required.', true)
|
||||
->param('array', false, new Boolean(), 'Is attribute an array?', true)
|
||||
->inject('response')
|
||||
->inject('dbForProject')
|
||||
|
||||
+3
-3
@@ -64,9 +64,9 @@ class Update extends Action
|
||||
->param('collectionId', '', new UID(), 'Collection ID.')
|
||||
->param('key', '', new Key(), 'Attribute Key.')
|
||||
->param('required', null, new Boolean(), 'Is attribute required?')
|
||||
->param('min', null, new Nullable(new Integer()), 'Minimum value', true)
|
||||
->param('max', null, new Nullable(new Integer()), 'Maximum value', true)
|
||||
->param('default', null, new Nullable(new Integer()), 'Default value. Cannot be set when attribute is required.')
|
||||
->param('min', null, new Nullable(new Integer(false, 64)), 'Minimum value', true)
|
||||
->param('max', null, new Nullable(new Integer(false, 64)), 'Maximum value', true)
|
||||
->param('default', null, new Nullable(new Integer(false, 64)), 'Default value. Cannot be set when attribute is required.')
|
||||
->param('newKey', null, new Nullable(new Key()), 'New Attribute Key.', true)
|
||||
->inject('response')
|
||||
->inject('dbForProject')
|
||||
|
||||
+3
-3
@@ -55,9 +55,9 @@ class Create extends IntegerCreate
|
||||
->param('tableId', '', new UID(), 'Table ID.')
|
||||
->param('key', '', new Key(), 'Column Key.')
|
||||
->param('required', null, new Boolean(), 'Is column required?')
|
||||
->param('min', null, new Nullable(new Integer()), 'Minimum value', true)
|
||||
->param('max', null, new Nullable(new Integer()), 'Maximum value', true)
|
||||
->param('default', null, new Nullable(new Integer()), 'Default value. Cannot be set when column is required.', true)
|
||||
->param('min', null, new Nullable(new Integer(false, 64)), 'Minimum value', true)
|
||||
->param('max', null, new Nullable(new Integer(false, 64)), 'Maximum value', true)
|
||||
->param('default', null, new Nullable(new Integer(false, 64)), 'Default value. Cannot be set when column is required.', true)
|
||||
->param('array', false, new Boolean(), 'Is column an array?', true)
|
||||
->inject('response')
|
||||
->inject('dbForProject')
|
||||
|
||||
+3
-3
@@ -57,9 +57,9 @@ class Update extends IntegerUpdate
|
||||
->param('tableId', '', new UID(), 'Table ID.')
|
||||
->param('key', '', new Key(), 'Column Key.')
|
||||
->param('required', null, new Boolean(), 'Is column required?')
|
||||
->param('min', null, new Nullable(new Integer()), 'Minimum value', true)
|
||||
->param('max', null, new Nullable(new Integer()), 'Maximum value', true)
|
||||
->param('default', null, new Nullable(new Integer()), 'Default value. Cannot be set when column is required.')
|
||||
->param('min', null, new Nullable(new Integer(false, 64)), 'Minimum value', true)
|
||||
->param('max', null, new Nullable(new Integer(false, 64)), 'Maximum value', true)
|
||||
->param('default', null, new Nullable(new Integer(false, 64)), 'Default value. Cannot be set when column is required.')
|
||||
->param('newKey', null, new Nullable(new Key()), 'New Column Key.', true)
|
||||
->inject('response')
|
||||
->inject('dbForProject')
|
||||
|
||||
@@ -550,7 +550,7 @@ class OpenAPI3 extends Format
|
||||
break;
|
||||
case 'Utopia\Validator\Integer':
|
||||
$node['schema']['type'] = $validator->getType();
|
||||
$node['schema']['format'] = 'int32';
|
||||
$node['schema']['format'] = $validator->getFormat();
|
||||
if (!empty($param['example'])) {
|
||||
$node['schema']['x-example'] = $param['example'];
|
||||
}
|
||||
@@ -600,7 +600,7 @@ class OpenAPI3 extends Format
|
||||
$node['schema']['items']['x-enum-keys'] = $this->getRequestEnumKeys($sdk->getNamespace() ?? '', $methodName, $name);
|
||||
}
|
||||
if ($validator->getType() === 'integer') {
|
||||
$node['schema']['items']['format'] = 'int32';
|
||||
$node['schema']['items']['format'] = $validator->getFormat() ?? 'int32';
|
||||
}
|
||||
} else {
|
||||
$node['schema']['type'] = $validator->getType();
|
||||
@@ -625,7 +625,7 @@ class OpenAPI3 extends Format
|
||||
$node['schema']['x-enum-keys'] = $this->getRequestEnumKeys($sdk->getNamespace() ?? '', $methodName, $name);
|
||||
}
|
||||
if ($validator->getType() === 'integer') {
|
||||
$node['format'] = 'int32';
|
||||
$node['schema']['format'] = $validator->getFormat() ?? 'int32';
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -694,6 +694,10 @@ class OpenAPI3 extends Format
|
||||
'x-example' => $node['schema']['x-example'] ?? null
|
||||
];
|
||||
|
||||
if (isset($node['schema']['format'])) {
|
||||
$body['content'][$consumes[0]]['schema']['properties'][$name]['format'] = $node['schema']['format'];
|
||||
}
|
||||
|
||||
if (isset($node['schema']['enum'])) {
|
||||
/// If the enum flag is Set, add the enum values to the body
|
||||
$body['content'][$consumes[0]]['schema']['properties'][$name]['enum'] = $node['schema']['enum'];
|
||||
@@ -795,7 +799,7 @@ class OpenAPI3 extends Format
|
||||
|
||||
case 'integer':
|
||||
$type = 'integer';
|
||||
$format = 'int32';
|
||||
$format = $rule['format'] ?? 'int32';
|
||||
break;
|
||||
|
||||
case 'float':
|
||||
|
||||
@@ -539,7 +539,7 @@ class Swagger2 extends Format
|
||||
break;
|
||||
case 'Utopia\Validator\Integer':
|
||||
$node['type'] = $validator->getType();
|
||||
$node['format'] = 'int32';
|
||||
$node['format'] = $validator->getFormat();
|
||||
if (!empty($param['example'])) {
|
||||
$node['x-example'] = $param['example'];
|
||||
}
|
||||
@@ -585,7 +585,7 @@ class Swagger2 extends Format
|
||||
$node['items']['x-enum-keys'] = $this->getRequestEnumKeys($namespace, $methodName, $name);
|
||||
}
|
||||
if ($validator->getType() === 'integer') {
|
||||
$node['items']['format'] = 'int32';
|
||||
$node['items']['format'] = $validator->getFormat() ?? 'int32';
|
||||
}
|
||||
} else {
|
||||
$node['type'] = $validator->getType();
|
||||
@@ -605,7 +605,7 @@ class Swagger2 extends Format
|
||||
$node['x-enum-keys'] = $this->getRequestEnumKeys($namespace, $methodName, $name);
|
||||
}
|
||||
if ($validator->getType() === 'integer') {
|
||||
$node['format'] = 'int32';
|
||||
$node['format'] = $validator->getFormat() ?? 'int32';
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -683,6 +683,10 @@ class Swagger2 extends Format
|
||||
'x-example' => $node['x-example'] ?? null,
|
||||
];
|
||||
|
||||
if (isset($node['format'])) {
|
||||
$body['schema']['properties'][$name]['format'] = $node['format'];
|
||||
}
|
||||
|
||||
if (isset($node['enum'])) {
|
||||
/// If the enum flag is Set, add the enum values to the body
|
||||
$body['schema']['properties'][$name]['enum'] = $node['enum'];
|
||||
@@ -776,7 +780,7 @@ class Swagger2 extends Format
|
||||
|
||||
case 'integer':
|
||||
$type = 'integer';
|
||||
$format = 'int32';
|
||||
$format = $rule['format'] ?? 'int32';
|
||||
break;
|
||||
|
||||
case 'float':
|
||||
|
||||
@@ -25,6 +25,7 @@ class AttributeInteger extends Attribute
|
||||
])
|
||||
->addRule('min', [
|
||||
'type' => self::TYPE_INTEGER,
|
||||
'format' => 'int64',
|
||||
'description' => 'Minimum value to enforce for new documents.',
|
||||
'default' => null,
|
||||
'required' => false,
|
||||
@@ -32,6 +33,7 @@ class AttributeInteger extends Attribute
|
||||
])
|
||||
->addRule('max', [
|
||||
'type' => self::TYPE_INTEGER,
|
||||
'format' => 'int64',
|
||||
'description' => 'Maximum value to enforce for new documents.',
|
||||
'default' => null,
|
||||
'required' => false,
|
||||
|
||||
@@ -25,6 +25,7 @@ class ColumnInteger extends Column
|
||||
])
|
||||
->addRule('min', [
|
||||
'type' => self::TYPE_INTEGER,
|
||||
'format' => 'int64',
|
||||
'description' => 'Minimum value to enforce for new documents.',
|
||||
'default' => null,
|
||||
'required' => false,
|
||||
@@ -32,6 +33,7 @@ class ColumnInteger extends Column
|
||||
])
|
||||
->addRule('max', [
|
||||
'type' => self::TYPE_INTEGER,
|
||||
'format' => 'int64',
|
||||
'description' => 'Maximum value to enforce for new documents.',
|
||||
'default' => null,
|
||||
'required' => false,
|
||||
|
||||
Reference in New Issue
Block a user