diff --git a/specs/latest/open-api3-latest.json b/specs/latest/open-api3-latest.json index 21c529db2..e91fa64ec 100644 --- a/specs/latest/open-api3-latest.json +++ b/specs/latest/open-api3-latest.json @@ -4784,7 +4784,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, appwrite, auth0, authentik, autodesk, bitbucket, bitly, box, cloudflare, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, fusionauth, github, gitlab, google, huggingface, keycloak, kick, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, resend, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, x, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, appwrite, auth0, authentik, autodesk, bitbucket, bitly, box, cloudflare, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, fusionauth, github, gitlab, google, huggingface, kakao, keycloak, kick, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, resend, salesforce, slack, spotify, stripe, tiktok, tradeshift, tradeshiftBox, twitch, wordpress, x, yahoo, yammer, yandex, zoho, zoom.", "required": true, "schema": { "type": "string", @@ -4945,6 +4945,13 @@ ], "title": "huggingface" }, + { + "type": "string", + "enum": [ + "kakao" + ], + "title": "kakao" + }, { "type": "string", "enum": [ @@ -5050,6 +5057,13 @@ ], "title": "stripe" }, + { + "type": "string", + "enum": [ + "tiktok" + ], + "title": "tiktok" + }, { "type": "string", "enum": [ @@ -6071,7 +6085,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, appwrite, auth0, authentik, autodesk, bitbucket, bitly, box, cloudflare, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, fusionauth, github, gitlab, google, huggingface, keycloak, kick, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, resend, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, x, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, appwrite, auth0, authentik, autodesk, bitbucket, bitly, box, cloudflare, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, fusionauth, github, gitlab, google, huggingface, kakao, keycloak, kick, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, resend, salesforce, slack, spotify, stripe, tiktok, tradeshift, tradeshiftBox, twitch, wordpress, x, yahoo, yammer, yandex, zoho, zoom.", "required": true, "schema": { "type": "string", @@ -6232,6 +6246,13 @@ ], "title": "huggingface" }, + { + "type": "string", + "enum": [ + "kakao" + ], + "title": "kakao" + }, { "type": "string", "enum": [ @@ -6337,6 +6358,13 @@ ], "title": "stripe" }, + { + "type": "string", + "enum": [ + "tiktok" + ], + "title": "tiktok" + }, { "type": "string", "enum": [ @@ -9580,6 +9608,12 @@ } }, "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + }, { "Project": [], "Session": [], @@ -9792,6 +9826,12 @@ } }, "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + }, { "Project": [], "Session": [], @@ -10025,6 +10065,12 @@ } }, "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + }, { "Project": [], "Session": [], @@ -10101,6 +10147,12 @@ } }, "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + }, { "Project": [], "Session": [], @@ -11580,6 +11632,12 @@ } }, "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + }, { "Project": [], "Session": [], @@ -11680,6 +11738,12 @@ } }, "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + }, { "Project": [], "Session": [], @@ -11791,6 +11855,12 @@ } }, "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + }, { "Project": [], "Session": [], @@ -11947,6 +12017,12 @@ } }, "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + }, { "Project": [], "Session": [], @@ -12057,6 +12133,12 @@ } }, "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + }, { "Project": [], "Session": [], @@ -12083,7 +12165,7 @@ "required": false, "schema": { "type": "object", - "default": [], + "default": {}, "example": { "Authorization": "Bearer token123", "X-Custom-Header": "value" @@ -15130,8 +15212,7 @@ ], "title": "utc" } - ], - "default": "" + ] }, "in": "query" }, @@ -15448,8 +15529,7 @@ ], "title": "gif" } - ], - "default": "" + ] }, "in": "query" } @@ -18070,6 +18150,13 @@ ], "title": "billing_discounts" }, + { + "type": "string", + "enum": [ + "resourcesdeleted" + ], + "title": "resources_deleted" + }, { "type": "string", "enum": [ @@ -19413,8 +19500,7 @@ ], "title": "zu" } - ], - "default": "" + ] }, "in": "query" } @@ -25755,85 +25841,232 @@ "content": { "application\/json": { "schema": { - "oneOf": [ + "anyOf": [ { - "$ref": "#\/components\/schemas\/attributeBoolean" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeBoolean" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "boolean" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeInteger" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeInteger" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "integer" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeFloat" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeFloat" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "double" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeEmail" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeEmail" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "email" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeEnum" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeEnum" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "enum" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeUrl" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeUrl" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "url" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeIp" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeIp" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "ip" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeDatetime" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeDatetime" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "datetime" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeRelationship" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeRelationship" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "relationship" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeString" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "boolean": "#\/components\/schemas\/attributeBoolean", - "integer": "#\/components\/schemas\/attributeInteger", - "double": "#\/components\/schemas\/attributeFloat", - "string": "#\/components\/schemas\/attributeString", - "datetime": "#\/components\/schemas\/attributeDatetime", - "relationship": "#\/components\/schemas\/attributeRelationship" - }, - "x-mapping": { - "#\/components\/schemas\/attributeBoolean": { - "type": "boolean" - }, - "#\/components\/schemas\/attributeInteger": { - "type": "integer" - }, - "#\/components\/schemas\/attributeFloat": { - "type": "double" - }, - "#\/components\/schemas\/attributeEmail": { - "type": "string", - "format": "email" - }, - "#\/components\/schemas\/attributeEnum": { - "type": "string", - "format": "enum" - }, - "#\/components\/schemas\/attributeUrl": { - "type": "string", - "format": "url" - }, - "#\/components\/schemas\/attributeIp": { - "type": "string", - "format": "ip" - }, - "#\/components\/schemas\/attributeDatetime": { - "type": "datetime" - }, - "#\/components\/schemas\/attributeRelationship": { - "type": "relationship" - }, - "#\/components\/schemas\/attributeString": { - "type": "string" - } + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeString" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + } + } + } + ] } - } + ] } } } @@ -26581,7 +26814,7 @@ "data": { "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", "type": "object", - "default": [], + "default": {}, "example": { "username": "walter.obrien", "email": "walter.obrien@example.com", @@ -26979,7 +27212,7 @@ "data": { "description": "Document data as JSON object. Include all required attributes of the document to be created or updated.", "type": "object", - "default": [], + "default": {}, "example": { "username": "walter.obrien", "email": "walter.obrien@example.com", @@ -27111,7 +27344,7 @@ "data": { "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", "type": "object", - "default": [], + "default": {}, "example": { "username": "walter.obrien", "email": "walter.obrien@example.com", @@ -29928,7 +30161,7 @@ "data": { "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", "type": "object", - "default": [], + "default": {}, "example": {} }, "queries": { @@ -30300,7 +30533,7 @@ "data": { "description": "Document data as JSON object. Include all required fields of the document to be created or updated.", "type": "object", - "default": [], + "default": {}, "example": {} }, "permissions": { @@ -30420,7 +30653,7 @@ "data": { "description": "Document data as JSON object. Include only fields and value pairs to be updated.", "type": "object", - "default": [], + "default": {}, "example": {} }, "permissions": { @@ -33610,7 +33843,7 @@ "type": "string" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" @@ -33714,7 +33947,7 @@ "type": "string" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" @@ -33808,7 +34041,7 @@ "type": "string" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" @@ -33912,7 +34145,7 @@ "type": "string" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" @@ -34007,7 +34240,7 @@ "example": "" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" @@ -34112,7 +34345,7 @@ "example": "" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" @@ -34206,7 +34439,7 @@ "type": "string" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" @@ -34310,7 +34543,7 @@ "type": "string" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" @@ -34405,7 +34638,7 @@ "example": "" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" @@ -34510,7 +34743,7 @@ "example": "" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" @@ -34605,7 +34838,7 @@ "example": "" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" @@ -34710,7 +34943,7 @@ "example": "" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" @@ -34805,14 +35038,15 @@ "example": "" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" }, "priority": { - "description": "MX priority.", + "description": "MX priority. Lower values are tried first.", "type": "integer", + "example": 0, "format": "int32" }, "comment": { @@ -34916,14 +35150,15 @@ "example": "" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" }, "priority": { - "description": "MX priority.", + "description": "MX priority. Lower values are tried first.", "type": "integer", + "example": 0, "format": "int32" }, "comment": { @@ -35017,7 +35252,7 @@ "example": "" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" @@ -35122,7 +35357,7 @@ "example": "" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" @@ -35217,24 +35452,27 @@ "example": "" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" }, "priority": { - "description": "Record priority.", + "description": "Record priority. Lower values are tried first.", "type": "integer", + "example": 0, "format": "int32" }, "weight": { - "description": "Record weight.", + "description": "Record weight, used to share load between targets of equal priority.", "type": "integer", + "example": 0, "format": "int32" }, "port": { "description": "Port number for the service.", "type": "integer", + "example": 0, "format": "int32" }, "comment": { @@ -35340,24 +35578,27 @@ "example": "" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" }, "priority": { - "description": "Record priority.", + "description": "Record priority. Lower values are tried first.", "type": "integer", + "example": 0, "format": "int32" }, "weight": { - "description": "Record weight.", + "description": "Record weight, used to share load between targets of equal priority.", "type": "integer", + "example": 0, "format": "int32" }, "port": { "description": "Port number for the service.", "type": "integer", + "example": 0, "format": "int32" }, "comment": { @@ -35454,7 +35695,7 @@ "example": "" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" @@ -35558,7 +35799,7 @@ "example": "" }, "ttl": { - "description": "Time to live, in seconds. Must be greater than 0.", + "description": "Time to live, in seconds. Must be between 1 and 2147483647.", "type": "integer", "example": 1, "format": "int32" @@ -39113,7 +39354,6 @@ "runtime": { "description": "Execution runtime.", "type": "string", - "default": "", "example": "node-14.5", "title": "Runtime", "oneOf": [ @@ -41658,6 +41898,11 @@ } }, "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + }, { "Project": [], "Key": [], @@ -42053,7 +42298,7 @@ "headers": { "description": "HTTP headers of execution. Defaults to empty.", "type": "object", - "default": [], + "default": {}, "example": {} }, "scheduledAt": { @@ -44288,7 +44533,7 @@ "data": { "description": "Additional event data. Start events may include projectId to scope tenant-reused database IDs.", "type": "object", - "default": [], + "default": {}, "example": {} } }, @@ -48694,7 +48939,6 @@ "encryption": { "description": "Encryption type. Can be omitted, 'ssl', or 'tls'", "type": "string", - "default": "", "example": "none", "title": "SmtpEncryption", "oneOf": [ @@ -48982,7 +49226,6 @@ "encryption": { "description": "Encryption type. Can be 'ssl' or 'tls'", "type": "string", - "default": "", "example": "none", "title": "SmtpEncryption", "oneOf": [ @@ -62463,7 +62706,6 @@ "region": { "description": "Project Region.", "type": "string", - "default": "default", "example": "fra", "title": "Region", "oneOf": [ @@ -64792,6 +65034,9 @@ } }, "security": [ + { + "Project": [] + }, { "Project": [], "ImpersonateUserId": [] @@ -65018,6 +65263,9 @@ } }, "security": [ + { + "Project": [] + }, { "Project": [], "ImpersonateUserId": [] @@ -69705,7 +69953,7 @@ "metadata": { "description": "Presence metadata object.", "type": "object", - "default": [], + "default": {}, "example": {} } }, @@ -75746,21 +75994,21 @@ } } }, - "\/project\/oauth2\/keycloak": { + "\/project\/oauth2\/kakao": { "patch": { - "summary": "Update project OAuth2 Keycloak", - "operationId": "projectUpdateOAuth2Keycloak", + "summary": "Update project OAuth2 Kakao", + "operationId": "projectUpdateOAuth2Kakao", "tags": [ "project" ], - "description": "Update the project OAuth2 Keycloak configuration.", + "description": "Update the project OAuth2 Kakao configuration.", "responses": { "200": { - "description": "OAuth2Keycloak", + "description": "OAuth2Kakao", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/oAuth2Keycloak" + "$ref": "#\/components\/schemas\/oAuth2Kakao" } } } @@ -75769,7 +76017,7 @@ "deprecated": false, "x-appwrite": { "group": "oauth2", - "demo": "project\/update-o-auth-2-keycloak.md", + "demo": "project\/update-o-auth-2-kakao.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -75803,29 +76051,17 @@ "type": "object", "properties": { "clientId": { - "description": "'Client ID' of Keycloak OAuth2 app. For example: appwrite-o0000000st-app", + "description": "'REST API key' of Kakao OAuth2 app. For example: 839ff5000000000000000000013206de", "type": "string", "example": "", "nullable": true }, "clientSecret": { - "description": "'Client Secret' of Keycloak OAuth2 app. For example: jdjrJd00000000000000000000HUsaZO", + "description": "'Client Secret' of Kakao OAuth2 app. For example: jLNVOK00000000000000000000yJebea. Generate it under Kakao Login > Security and set its status to enabled", "type": "string", "example": "", "nullable": true }, - "endpoint": { - "description": "Domain of Keycloak instance. For example: keycloak.example.com", - "type": "string", - "example": "", - "nullable": true - }, - "realmName": { - "description": "Keycloak realm name. For example: appwrite-realm", - "type": "string", - "example": "", - "nullable": true - }, "enabled": { "description": "OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.", "type": "boolean", @@ -75839,21 +76075,21 @@ } } }, - "\/project\/oauth2\/kick": { + "\/project\/oauth2\/keycloak": { "patch": { - "summary": "Update project OAuth2 Kick", - "operationId": "projectUpdateOAuth2Kick", + "summary": "Update project OAuth2 Keycloak", + "operationId": "projectUpdateOAuth2Keycloak", "tags": [ "project" ], - "description": "Update the project OAuth2 Kick configuration.", + "description": "Update the project OAuth2 Keycloak configuration.", "responses": { "200": { - "description": "OAuth2Kick", + "description": "OAuth2Keycloak", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/oAuth2Kick" + "$ref": "#\/components\/schemas\/oAuth2Keycloak" } } } @@ -75862,7 +76098,7 @@ "deprecated": false, "x-appwrite": { "group": "oauth2", - "demo": "project\/update-o-auth-2-kick.md", + "demo": "project\/update-o-auth-2-keycloak.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -75896,17 +76132,29 @@ "type": "object", "properties": { "clientId": { - "description": "'Client ID' of Kick OAuth2 app. For example: 01KQ7C00000000000001MFHS32", + "description": "'Client ID' of Keycloak OAuth2 app. For example: appwrite-o0000000st-app", "type": "string", "example": "", "nullable": true }, "clientSecret": { - "description": "'Client Secret' of Kick OAuth2 app. For example: 34ac5600000000000000000000000000000000000000000000000000e830c8b", + "description": "'Client Secret' of Keycloak OAuth2 app. For example: jdjrJd00000000000000000000HUsaZO", "type": "string", "example": "", "nullable": true }, + "endpoint": { + "description": "Domain of Keycloak instance. For example: keycloak.example.com", + "type": "string", + "example": "", + "nullable": true + }, + "realmName": { + "description": "Keycloak realm name. For example: appwrite-realm", + "type": "string", + "example": "", + "nullable": true + }, "enabled": { "description": "OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.", "type": "boolean", @@ -75920,21 +76168,21 @@ } } }, - "\/project\/oauth2\/linkedin": { + "\/project\/oauth2\/kick": { "patch": { - "summary": "Update project OAuth2 Linkedin", - "operationId": "projectUpdateOAuth2Linkedin", + "summary": "Update project OAuth2 Kick", + "operationId": "projectUpdateOAuth2Kick", "tags": [ "project" ], - "description": "Update the project OAuth2 Linkedin configuration.", + "description": "Update the project OAuth2 Kick configuration.", "responses": { "200": { - "description": "OAuth2Linkedin", + "description": "OAuth2Kick", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/oAuth2Linkedin" + "$ref": "#\/components\/schemas\/oAuth2Kick" } } } @@ -75943,7 +76191,88 @@ "deprecated": false, "x-appwrite": { "group": "oauth2", - "demo": "project\/update-o-auth-2-linkedin.md", + "demo": "project\/update-o-auth-2-kick.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "project.oauth2.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "public": true, + "auth": { + "console": { + "Project": [] + }, + "server": { + "Project": [], + "Key": [] + } + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "clientId": { + "description": "'Client ID' of Kick OAuth2 app. For example: 01KQ7C00000000000001MFHS32", + "type": "string", + "example": "", + "nullable": true + }, + "clientSecret": { + "description": "'Client Secret' of Kick OAuth2 app. For example: 34ac5600000000000000000000000000000000000000000000000000e830c8b", + "type": "string", + "example": "", + "nullable": true + }, + "enabled": { + "description": "OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.", + "type": "boolean", + "example": false, + "nullable": true + } + } + } + } + } + } + } + }, + "\/project\/oauth2\/linkedin": { + "patch": { + "summary": "Update project OAuth2 Linkedin", + "operationId": "projectUpdateOAuth2Linkedin", + "tags": [ + "project" + ], + "description": "Update the project OAuth2 Linkedin configuration.", + "responses": { + "200": { + "description": "OAuth2Linkedin", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/oAuth2Linkedin" + } + } + } + } + }, + "deprecated": false, + "x-appwrite": { + "group": "oauth2", + "demo": "project\/update-o-auth-2-linkedin.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -77065,102 +77394,21 @@ } } }, - "\/project\/oauth2\/tradeshift": { - "patch": { - "summary": "Update project OAuth2 Tradeshift", - "operationId": "projectUpdateOAuth2Tradeshift", - "tags": [ - "project" - ], - "description": "Update the project OAuth2 Tradeshift configuration.", - "responses": { - "200": { - "description": "OAuth2Tradeshift", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/oAuth2Tradeshift" - } - } - } - } - }, - "deprecated": false, - "x-appwrite": { - "group": "oauth2", - "demo": "project\/update-o-auth-2-tradeshift.md", - "rate-limit": 0, - "rate-time": 3600, - "rate-key": "url:{url},ip:{ip}", - "scope": "project.oauth2.write", - "platforms": [ - "console", - "server" - ], - "packaging": false, - "public": true, - "auth": { - "console": { - "Project": [] - }, - "server": { - "Project": [], - "Key": [] - } - } - }, - "security": [ - { - "Project": [], - "Key": [] - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "oauth2ClientId": { - "description": "'OAuth2 Client ID' of Tradeshift OAuth2 app. For example: appwrite-tes00000.0000000000est-app", - "type": "string", - "example": "", - "nullable": true - }, - "oauth2ClientSecret": { - "description": "'OAuth2 Client Secret' of Tradeshift OAuth2 app. For example: 7cb52700-0000-0000-0000-000000ca5b83", - "type": "string", - "example": "", - "nullable": true - }, - "enabled": { - "description": "OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.", - "type": "boolean", - "example": false, - "nullable": true - } - } - } - } - } - } - } - }, - "\/project\/oauth2\/tradeshiftBox": { + "\/project\/oauth2\/tiktok": { "patch": { - "summary": "Update project OAuth2 Tradeshift Sandbox", - "operationId": "projectUpdateOAuth2TradeshiftSandbox", + "summary": "Update project OAuth2 TikTok", + "operationId": "projectUpdateOAuth2TikTok", "tags": [ "project" ], - "description": "Update the project OAuth2 Tradeshift Sandbox configuration.", + "description": "Update the project OAuth2 TikTok configuration.", "responses": { "200": { - "description": "OAuth2Tradeshift", + "description": "OAuth2TikTok", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/oAuth2Tradeshift" + "$ref": "#\/components\/schemas\/oAuth2TikTok" } } } @@ -77169,88 +77417,7 @@ "deprecated": false, "x-appwrite": { "group": "oauth2", - "demo": "project\/update-o-auth-2-tradeshift-sandbox.md", - "rate-limit": 0, - "rate-time": 3600, - "rate-key": "url:{url},ip:{ip}", - "scope": "project.oauth2.write", - "platforms": [ - "console", - "server" - ], - "packaging": false, - "public": true, - "auth": { - "console": { - "Project": [] - }, - "server": { - "Project": [], - "Key": [] - } - } - }, - "security": [ - { - "Project": [], - "Key": [] - } - ], - "requestBody": { - "content": { - "application\/json": { - "schema": { - "type": "object", - "properties": { - "oauth2ClientId": { - "description": "'OAuth2 Client ID' of Tradeshift Sandbox OAuth2 app. For example: appwrite-tes00000.0000000000est-app", - "type": "string", - "example": "", - "nullable": true - }, - "oauth2ClientSecret": { - "description": "'OAuth2 Client Secret' of Tradeshift Sandbox OAuth2 app. For example: 7cb52700-0000-0000-0000-000000ca5b83", - "type": "string", - "example": "", - "nullable": true - }, - "enabled": { - "description": "OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.", - "type": "boolean", - "example": false, - "nullable": true - } - } - } - } - } - } - } - }, - "\/project\/oauth2\/twitch": { - "patch": { - "summary": "Update project OAuth2 Twitch", - "operationId": "projectUpdateOAuth2Twitch", - "tags": [ - "project" - ], - "description": "Update the project OAuth2 Twitch configuration.", - "responses": { - "200": { - "description": "OAuth2Twitch", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/oAuth2Twitch" - } - } - } - } - }, - "deprecated": false, - "x-appwrite": { - "group": "oauth2", - "demo": "project\/update-o-auth-2-twitch.md", + "demo": "project\/update-o-auth-2-tik-tok.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -77284,13 +77451,13 @@ "type": "object", "properties": { "clientId": { - "description": "'Client ID' of Twitch OAuth2 app. For example: vvi0in000000000000000000ikmt9p", + "description": "'Client key' of TikTok OAuth2 app. For example: awz000000000tyw0", "type": "string", "example": "", "nullable": true }, "clientSecret": { - "description": "'Client Secret' of Twitch OAuth2 app. For example: pmapue000000000000000000zylw3v", + "description": "'Client secret' of TikTok OAuth2 app. For example: 6wXewM00000000000000000000yXnite", "type": "string", "example": "", "nullable": true @@ -77308,21 +77475,21 @@ } } }, - "\/project\/oauth2\/wordpress": { + "\/project\/oauth2\/tradeshift": { "patch": { - "summary": "Update project OAuth2 WordPress", - "operationId": "projectUpdateOAuth2WordPress", + "summary": "Update project OAuth2 Tradeshift", + "operationId": "projectUpdateOAuth2Tradeshift", "tags": [ "project" ], - "description": "Update the project OAuth2 WordPress configuration.", + "description": "Update the project OAuth2 Tradeshift configuration.", "responses": { "200": { - "description": "OAuth2WordPress", + "description": "OAuth2Tradeshift", "content": { "application\/json": { "schema": { - "$ref": "#\/components\/schemas\/oAuth2WordPress" + "$ref": "#\/components\/schemas\/oAuth2Tradeshift" } } } @@ -77331,7 +77498,250 @@ "deprecated": false, "x-appwrite": { "group": "oauth2", - "demo": "project\/update-o-auth-2-word-press.md", + "demo": "project\/update-o-auth-2-tradeshift.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "project.oauth2.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "public": true, + "auth": { + "console": { + "Project": [] + }, + "server": { + "Project": [], + "Key": [] + } + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "oauth2ClientId": { + "description": "'OAuth2 Client ID' of Tradeshift OAuth2 app. For example: appwrite-tes00000.0000000000est-app", + "type": "string", + "example": "", + "nullable": true + }, + "oauth2ClientSecret": { + "description": "'OAuth2 Client Secret' of Tradeshift OAuth2 app. For example: 7cb52700-0000-0000-0000-000000ca5b83", + "type": "string", + "example": "", + "nullable": true + }, + "enabled": { + "description": "OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.", + "type": "boolean", + "example": false, + "nullable": true + } + } + } + } + } + } + } + }, + "\/project\/oauth2\/tradeshiftBox": { + "patch": { + "summary": "Update project OAuth2 Tradeshift Sandbox", + "operationId": "projectUpdateOAuth2TradeshiftSandbox", + "tags": [ + "project" + ], + "description": "Update the project OAuth2 Tradeshift Sandbox configuration.", + "responses": { + "200": { + "description": "OAuth2Tradeshift", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/oAuth2Tradeshift" + } + } + } + } + }, + "deprecated": false, + "x-appwrite": { + "group": "oauth2", + "demo": "project\/update-o-auth-2-tradeshift-sandbox.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "project.oauth2.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "public": true, + "auth": { + "console": { + "Project": [] + }, + "server": { + "Project": [], + "Key": [] + } + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "oauth2ClientId": { + "description": "'OAuth2 Client ID' of Tradeshift Sandbox OAuth2 app. For example: appwrite-tes00000.0000000000est-app", + "type": "string", + "example": "", + "nullable": true + }, + "oauth2ClientSecret": { + "description": "'OAuth2 Client Secret' of Tradeshift Sandbox OAuth2 app. For example: 7cb52700-0000-0000-0000-000000ca5b83", + "type": "string", + "example": "", + "nullable": true + }, + "enabled": { + "description": "OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.", + "type": "boolean", + "example": false, + "nullable": true + } + } + } + } + } + } + } + }, + "\/project\/oauth2\/twitch": { + "patch": { + "summary": "Update project OAuth2 Twitch", + "operationId": "projectUpdateOAuth2Twitch", + "tags": [ + "project" + ], + "description": "Update the project OAuth2 Twitch configuration.", + "responses": { + "200": { + "description": "OAuth2Twitch", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/oAuth2Twitch" + } + } + } + } + }, + "deprecated": false, + "x-appwrite": { + "group": "oauth2", + "demo": "project\/update-o-auth-2-twitch.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "project.oauth2.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "public": true, + "auth": { + "console": { + "Project": [] + }, + "server": { + "Project": [], + "Key": [] + } + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "clientId": { + "description": "'Client ID' of Twitch OAuth2 app. For example: vvi0in000000000000000000ikmt9p", + "type": "string", + "example": "", + "nullable": true + }, + "clientSecret": { + "description": "'Client Secret' of Twitch OAuth2 app. For example: pmapue000000000000000000zylw3v", + "type": "string", + "example": "", + "nullable": true + }, + "enabled": { + "description": "OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.", + "type": "boolean", + "example": false, + "nullable": true + } + } + } + } + } + } + } + }, + "\/project\/oauth2\/wordpress": { + "patch": { + "summary": "Update project OAuth2 WordPress", + "operationId": "projectUpdateOAuth2WordPress", + "tags": [ + "project" + ], + "description": "Update the project OAuth2 WordPress configuration.", + "responses": { + "200": { + "description": "OAuth2WordPress", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/oAuth2WordPress" + } + } + } + } + }, + "deprecated": false, + "x-appwrite": { + "group": "oauth2", + "demo": "project\/update-o-auth-2-word-press.md", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", @@ -77804,7 +78214,7 @@ "description": "Get a single OAuth2 provider configuration. Credential fields (client secret, p8 file, key\/team IDs) are write-only and always returned empty.", "responses": { "200": { - "description": "OAuth2GitHub, or OAuth2Discord, or OAuth2Figma, or OAuth2Dropbox, or OAuth2Dailymotion, or OAuth2Bitbucket, or OAuth2Bitly, or OAuth2Box, or OAuth2Autodesk, or OAuth2Google, or OAuth2Zoom, or OAuth2Zoho, or OAuth2Yandex, or OAuth2X, or OAuth2WordPress, or OAuth2Twitch, or OAuth2Stripe, or OAuth2Spotify, or OAuth2Slack, or OAuth2Podio, or OAuth2Notion, or OAuth2Salesforce, or OAuth2Yahoo, or OAuth2HuggingFace, or OAuth2Resend, or OAuth2Cloudflare, or OAuth2Linkedin, or OAuth2Disqus, or OAuth2Amazon, or OAuth2Etsy, or OAuth2Facebook, or OAuth2Tradeshift, or OAuth2Paypal, or OAuth2Gitlab, or OAuth2Authentik, or OAuth2Auth0, or OAuth2FusionAuth, or OAuth2Keycloak, or OAuth2Oidc, or OAuth2Apple, or OAuth2Okta, or OAuth2Kick, or OAuth2Microsoft", + "description": "OAuth2GitHub, or OAuth2Discord, or OAuth2Figma, or OAuth2Dropbox, or OAuth2Dailymotion, or OAuth2Bitbucket, or OAuth2Bitly, or OAuth2Box, or OAuth2Autodesk, or OAuth2Google, or OAuth2Zoom, or OAuth2Zoho, or OAuth2Yandex, or OAuth2X, or OAuth2WordPress, or OAuth2Twitch, or OAuth2Stripe, or OAuth2Spotify, or OAuth2Slack, or OAuth2Podio, or OAuth2Notion, or OAuth2Salesforce, or OAuth2Yahoo, or OAuth2HuggingFace, or OAuth2Resend, or OAuth2Cloudflare, or OAuth2Linkedin, or OAuth2Disqus, or OAuth2Amazon, or OAuth2Etsy, or OAuth2Facebook, or OAuth2Tradeshift, or OAuth2Paypal, or OAuth2Gitlab, or OAuth2Authentik, or OAuth2Auth0, or OAuth2FusionAuth, or OAuth2Keycloak, or OAuth2Oidc, or OAuth2Apple, or OAuth2Okta, or OAuth2Kick, or OAuth2Microsoft, or OAuth2TikTok, or OAuth2Kakao", "content": { "application\/json": { "schema": { @@ -77937,6 +78347,12 @@ }, { "$ref": "#\/components\/schemas\/oAuth2Microsoft" + }, + { + "$ref": "#\/components\/schemas\/oAuth2TikTok" + }, + { + "$ref": "#\/components\/schemas\/oAuth2Kakao" } ], "discriminator": { @@ -77986,7 +78402,9 @@ "apple": "#\/components\/schemas\/oAuth2Apple", "okta": "#\/components\/schemas\/oAuth2Okta", "kick": "#\/components\/schemas\/oAuth2Kick", - "microsoft": "#\/components\/schemas\/oAuth2Microsoft" + "microsoft": "#\/components\/schemas\/oAuth2Microsoft", + "tiktok": "#\/components\/schemas\/oAuth2TikTok", + "kakao": "#\/components\/schemas\/oAuth2Kakao" } } } @@ -78188,6 +78606,13 @@ ], "title": "huggingface" }, + { + "type": "string", + "enum": [ + "kakao" + ], + "title": "kakao" + }, { "type": "string", "enum": [ @@ -78293,6 +78718,13 @@ ], "title": "stripe" }, + { + "type": "string", + "enum": [ + "tiktok" + ], + "title": "tiktok" + }, { "type": "string", "enum": [ @@ -81686,7 +82118,6 @@ "locale": { "description": "Custom email template locale. If left empty, the fallback locale (en) will be used.", "type": "string", - "default": "", "example": "af", "title": "ProjectEmailTemplateLocale", "oneOf": [ @@ -83696,8 +84127,7 @@ ], "title": "zu" } - ], - "default": "" + ] }, "in": "query" } @@ -86338,8 +86768,7 @@ ], "title": "tor" } - ], - "default": "" + ] }, "in": "query" }, @@ -88292,7 +88721,6 @@ "adapter": { "description": "Framework adapter defining rendering strategy. Allowed values are: static, ssr", "type": "string", - "default": "", "example": "static", "title": "Adapter", "oneOf": [ @@ -89995,7 +90423,6 @@ "buildRuntime": { "description": "Runtime to use during build step.", "type": "string", - "default": "", "example": "node-14.5", "title": "BuildRuntime", "oneOf": [ @@ -90690,7 +91117,6 @@ "adapter": { "description": "Framework adapter defining rendering strategy. Allowed values are: static, ssr", "type": "string", - "default": "", "example": "static", "title": "Adapter", "oneOf": [ @@ -92521,6 +92947,11 @@ } }, "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + }, { "Project": [], "Key": [], @@ -94388,6 +94819,12 @@ } }, "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + }, { "Project": [], "Session": [], @@ -94484,6 +94921,12 @@ } }, "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + }, { "Project": [], "Session": [], @@ -94761,8 +95204,7 @@ ], "title": "gif" } - ], - "default": "" + ] }, "in": "query" }, @@ -94833,6 +95275,12 @@ } }, "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + }, { "Project": [], "Session": [], @@ -101605,85 +102053,232 @@ "content": { "application\/json": { "schema": { - "oneOf": [ + "anyOf": [ { - "$ref": "#\/components\/schemas\/columnBoolean" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnBoolean" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "boolean" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnInteger" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnInteger" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "integer" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnFloat" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnFloat" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "double" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnEmail" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnEmail" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "email" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnEnum" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnEnum" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "enum" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnUrl" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnUrl" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "url" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnIp" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnIp" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "ip" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnDatetime" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnDatetime" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "datetime" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnRelationship" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnRelationship" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "relationship" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnString" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "boolean": "#\/components\/schemas\/columnBoolean", - "integer": "#\/components\/schemas\/columnInteger", - "double": "#\/components\/schemas\/columnFloat", - "string": "#\/components\/schemas\/columnString", - "datetime": "#\/components\/schemas\/columnDatetime", - "relationship": "#\/components\/schemas\/columnRelationship" - }, - "x-mapping": { - "#\/components\/schemas\/columnBoolean": { - "type": "boolean" - }, - "#\/components\/schemas\/columnInteger": { - "type": "integer" - }, - "#\/components\/schemas\/columnFloat": { - "type": "double" - }, - "#\/components\/schemas\/columnEmail": { - "type": "string", - "format": "email" - }, - "#\/components\/schemas\/columnEnum": { - "type": "string", - "format": "enum" - }, - "#\/components\/schemas\/columnUrl": { - "type": "string", - "format": "url" - }, - "#\/components\/schemas\/columnIp": { - "type": "string", - "format": "ip" - }, - "#\/components\/schemas\/columnDatetime": { - "type": "datetime" - }, - "#\/components\/schemas\/columnRelationship": { - "type": "relationship" - }, - "#\/components\/schemas\/columnString": { - "type": "string" - } + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnString" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + } + } + } + ] } - } + ] } } } @@ -102995,7 +103590,7 @@ "data": { "description": "Row data as JSON object. Include only column and value pairs to be updated.", "type": "object", - "default": [], + "default": {}, "example": { "username": "walter.obrien", "email": "walter.obrien@example.com", @@ -103383,7 +103978,7 @@ "data": { "description": "Row data as JSON object. Include all required columns of the row to be created or updated.", "type": "object", - "default": [], + "default": {}, "example": { "username": "walter.obrien", "email": "walter.obrien@example.com", @@ -103514,7 +104109,7 @@ "data": { "description": "Row data as JSON object. Include only columns and value pairs to be updated.", "type": "object", - "default": [], + "default": {}, "example": { "username": "walter.obrien", "email": "walter.obrien@example.com", @@ -108421,7 +109016,6 @@ "passwordVersion": { "description": "Optional SHA version used to hash password. Allowed values are: 'sha1', 'sha224', 'sha256', 'sha384', 'sha512\/224', 'sha512\/256', 'sha512', 'sha3-224', 'sha3-256', 'sha3-384', 'sha3-512'", "type": "string", - "default": "", "example": "sha1", "title": "PasswordHash", "oneOf": [ @@ -114608,7 +115202,7 @@ "data": { "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", "type": "object", - "default": [], + "default": {}, "example": {} }, "queries": { @@ -115100,7 +115694,7 @@ "data": { "description": "Document data as JSON object. Include all required fields of the document to be created or updated.", "type": "object", - "default": [], + "default": {}, "example": {} }, "permissions": { @@ -115220,7 +115814,7 @@ "data": { "description": "Document data as JSON object. Include only fields and value pairs to be updated.", "type": "object", - "default": [], + "default": {}, "example": {} }, "permissions": { @@ -118117,10 +118711,6 @@ "name": "locale", "description": "The Locale service allows you to customize your app based on your users' location." }, - { - "name": "messaging", - "description": "The Messaging service allows you to send messages to any provider type (SMTP, push notification, SMS, etc.)." - }, { "name": "avatars", "description": "The Avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars." @@ -118153,6 +118743,10 @@ "name": "functions", "description": "The Functions Service allows you view, create and manage your Cloud Functions." }, + { + "name": "messaging", + "description": "The Messaging service allows you to send messages to any provider type (SMTP, push notification, SMS, etc.)." + }, { "name": "notifications", "description": "The Notifications service allows you to read and manage your Appwrite Console notifications." @@ -120340,7 +120934,7 @@ }, "containerStatus": { "type": "string", - "description": "Container status of the dedicated backing: active or inactive. Null when the database has no dedicated backing or the runtime has not reported one.", + "description": "Container status of the dedicated backing: active, inactive, or failed (a wake was declined because the backing namespace is gone). Null when the database has no dedicated backing or the runtime has not reported one.", "readOnly": true, "example": "active", "nullable": true @@ -120503,139 +121097,390 @@ "items": { "anyOf": [ { - "$ref": "#\/components\/schemas\/attributeBoolean" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeBoolean" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "boolean" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeBigint" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeBigint" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "bigint" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeInteger" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeInteger" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "integer" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeFloat" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeFloat" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "double" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeEmail" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeEmail" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "email" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeEnum" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeEnum" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "enum" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeUrl" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeUrl" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "url" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeIp" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeIp" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "ip" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeDatetime" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeDatetime" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "datetime" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeRelationship" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeRelationship" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "relationship" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributePoint" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributePoint" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "point" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeLine" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeLine" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "linestring" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributePolygon" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributePolygon" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "polygon" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeVarchar" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeVarchar" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "varchar" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeText" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeText" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "text" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeMediumtext" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeMediumtext" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "mediumtext" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeLongtext" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeLongtext" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "longtext" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeString" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "boolean": "#\/components\/schemas\/attributeBoolean", - "bigint": "#\/components\/schemas\/attributeBigint", - "integer": "#\/components\/schemas\/attributeInteger", - "double": "#\/components\/schemas\/attributeFloat", - "string": "#\/components\/schemas\/attributeString", - "datetime": "#\/components\/schemas\/attributeDatetime", - "relationship": "#\/components\/schemas\/attributeRelationship", - "point": "#\/components\/schemas\/attributePoint", - "linestring": "#\/components\/schemas\/attributeLine", - "polygon": "#\/components\/schemas\/attributePolygon", - "varchar": "#\/components\/schemas\/attributeVarchar", - "text": "#\/components\/schemas\/attributeText", - "mediumtext": "#\/components\/schemas\/attributeMediumtext", - "longtext": "#\/components\/schemas\/attributeLongtext" - }, - "x-mapping": { - "#\/components\/schemas\/attributeBoolean": { - "type": "boolean" - }, - "#\/components\/schemas\/attributeBigint": { - "type": "bigint" - }, - "#\/components\/schemas\/attributeInteger": { - "type": "integer" - }, - "#\/components\/schemas\/attributeFloat": { - "type": "double" - }, - "#\/components\/schemas\/attributeEmail": { - "type": "string", - "format": "email" - }, - "#\/components\/schemas\/attributeEnum": { - "type": "string", - "format": "enum" - }, - "#\/components\/schemas\/attributeUrl": { - "type": "string", - "format": "url" - }, - "#\/components\/schemas\/attributeIp": { - "type": "string", - "format": "ip" - }, - "#\/components\/schemas\/attributeDatetime": { - "type": "datetime" - }, - "#\/components\/schemas\/attributeRelationship": { - "type": "relationship" - }, - "#\/components\/schemas\/attributePoint": { - "type": "point" - }, - "#\/components\/schemas\/attributeLine": { - "type": "linestring" - }, - "#\/components\/schemas\/attributePolygon": { - "type": "polygon" - }, - "#\/components\/schemas\/attributeVarchar": { - "type": "varchar" - }, - "#\/components\/schemas\/attributeText": { - "type": "text" - }, - "#\/components\/schemas\/attributeMediumtext": { - "type": "mediumtext" - }, - "#\/components\/schemas\/attributeLongtext": { - "type": "longtext" - }, - "#\/components\/schemas\/attributeString": { - "type": "string" - } + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeString" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + } + } + } + ] } - } + ] }, "example": [] }, @@ -120707,139 +121552,390 @@ "items": { "anyOf": [ { - "$ref": "#\/components\/schemas\/attributeBoolean" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeBoolean" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "boolean" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeBigint" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeBigint" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "bigint" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeInteger" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeInteger" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "integer" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeFloat" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeFloat" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "double" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeEmail" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeEmail" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "email" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeEnum" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeEnum" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "enum" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeUrl" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeUrl" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "url" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeIp" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeIp" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "ip" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeDatetime" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeDatetime" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "datetime" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeRelationship" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeRelationship" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "relationship" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributePoint" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributePoint" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "point" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeLine" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeLine" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "linestring" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributePolygon" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributePolygon" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "polygon" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeVarchar" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeVarchar" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "varchar" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeText" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeText" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "text" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeMediumtext" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeMediumtext" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "mediumtext" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeLongtext" + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeLongtext" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "longtext" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/attributeString" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "boolean": "#\/components\/schemas\/attributeBoolean", - "bigint": "#\/components\/schemas\/attributeBigint", - "integer": "#\/components\/schemas\/attributeInteger", - "double": "#\/components\/schemas\/attributeFloat", - "string": "#\/components\/schemas\/attributeString", - "datetime": "#\/components\/schemas\/attributeDatetime", - "relationship": "#\/components\/schemas\/attributeRelationship", - "point": "#\/components\/schemas\/attributePoint", - "linestring": "#\/components\/schemas\/attributeLine", - "polygon": "#\/components\/schemas\/attributePolygon", - "varchar": "#\/components\/schemas\/attributeVarchar", - "text": "#\/components\/schemas\/attributeText", - "mediumtext": "#\/components\/schemas\/attributeMediumtext", - "longtext": "#\/components\/schemas\/attributeLongtext" - }, - "x-mapping": { - "#\/components\/schemas\/attributeBoolean": { - "type": "boolean" - }, - "#\/components\/schemas\/attributeBigint": { - "type": "bigint" - }, - "#\/components\/schemas\/attributeInteger": { - "type": "integer" - }, - "#\/components\/schemas\/attributeFloat": { - "type": "double" - }, - "#\/components\/schemas\/attributeEmail": { - "type": "string", - "format": "email" - }, - "#\/components\/schemas\/attributeEnum": { - "type": "string", - "format": "enum" - }, - "#\/components\/schemas\/attributeUrl": { - "type": "string", - "format": "url" - }, - "#\/components\/schemas\/attributeIp": { - "type": "string", - "format": "ip" - }, - "#\/components\/schemas\/attributeDatetime": { - "type": "datetime" - }, - "#\/components\/schemas\/attributeRelationship": { - "type": "relationship" - }, - "#\/components\/schemas\/attributePoint": { - "type": "point" - }, - "#\/components\/schemas\/attributeLine": { - "type": "linestring" - }, - "#\/components\/schemas\/attributePolygon": { - "type": "polygon" - }, - "#\/components\/schemas\/attributeVarchar": { - "type": "varchar" - }, - "#\/components\/schemas\/attributeText": { - "type": "text" - }, - "#\/components\/schemas\/attributeMediumtext": { - "type": "mediumtext" - }, - "#\/components\/schemas\/attributeLongtext": { - "type": "longtext" - }, - "#\/components\/schemas\/attributeString": { - "type": "string" - } + "allOf": [ + { + "$ref": "#\/components\/schemas\/attributeString" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + } + } + } + ] } - } + ] }, "example": [] } @@ -123524,139 +124620,390 @@ "items": { "anyOf": [ { - "$ref": "#\/components\/schemas\/columnBoolean" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnBoolean" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "boolean" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnBigint" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnBigint" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "bigint" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnInteger" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnInteger" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "integer" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnFloat" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnFloat" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "double" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnEmail" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnEmail" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "email" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnEnum" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnEnum" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "enum" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnUrl" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnUrl" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "url" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnIp" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnIp" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "ip" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnDatetime" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnDatetime" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "datetime" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnRelationship" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnRelationship" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "relationship" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnPoint" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnPoint" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "point" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnLine" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnLine" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "linestring" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnPolygon" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnPolygon" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "polygon" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnVarchar" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnVarchar" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "varchar" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnText" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnText" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "text" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnMediumtext" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnMediumtext" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "mediumtext" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnLongtext" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnLongtext" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "longtext" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnString" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "boolean": "#\/components\/schemas\/columnBoolean", - "bigint": "#\/components\/schemas\/columnBigint", - "integer": "#\/components\/schemas\/columnInteger", - "double": "#\/components\/schemas\/columnFloat", - "string": "#\/components\/schemas\/columnString", - "datetime": "#\/components\/schemas\/columnDatetime", - "relationship": "#\/components\/schemas\/columnRelationship", - "point": "#\/components\/schemas\/columnPoint", - "linestring": "#\/components\/schemas\/columnLine", - "polygon": "#\/components\/schemas\/columnPolygon", - "varchar": "#\/components\/schemas\/columnVarchar", - "text": "#\/components\/schemas\/columnText", - "mediumtext": "#\/components\/schemas\/columnMediumtext", - "longtext": "#\/components\/schemas\/columnLongtext" - }, - "x-mapping": { - "#\/components\/schemas\/columnBoolean": { - "type": "boolean" - }, - "#\/components\/schemas\/columnBigint": { - "type": "bigint" - }, - "#\/components\/schemas\/columnInteger": { - "type": "integer" - }, - "#\/components\/schemas\/columnFloat": { - "type": "double" - }, - "#\/components\/schemas\/columnEmail": { - "type": "string", - "format": "email" - }, - "#\/components\/schemas\/columnEnum": { - "type": "string", - "format": "enum" - }, - "#\/components\/schemas\/columnUrl": { - "type": "string", - "format": "url" - }, - "#\/components\/schemas\/columnIp": { - "type": "string", - "format": "ip" - }, - "#\/components\/schemas\/columnDatetime": { - "type": "datetime" - }, - "#\/components\/schemas\/columnRelationship": { - "type": "relationship" - }, - "#\/components\/schemas\/columnPoint": { - "type": "point" - }, - "#\/components\/schemas\/columnLine": { - "type": "linestring" - }, - "#\/components\/schemas\/columnPolygon": { - "type": "polygon" - }, - "#\/components\/schemas\/columnVarchar": { - "type": "varchar" - }, - "#\/components\/schemas\/columnText": { - "type": "text" - }, - "#\/components\/schemas\/columnMediumtext": { - "type": "mediumtext" - }, - "#\/components\/schemas\/columnLongtext": { - "type": "longtext" - }, - "#\/components\/schemas\/columnString": { - "type": "string" - } + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnString" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + } + } + } + ] } - } + ] }, "example": [] }, @@ -123728,139 +125075,390 @@ "items": { "anyOf": [ { - "$ref": "#\/components\/schemas\/columnBoolean" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnBoolean" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "boolean" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnBigint" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnBigint" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "bigint" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnInteger" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnInteger" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "integer" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnFloat" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnFloat" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "double" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnEmail" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnEmail" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "email" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnEnum" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnEnum" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "enum" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnUrl" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnUrl" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "url" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnIp" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnIp" + }, + { + "type": "object", + "required": [ + "type", + "format" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + }, + "format": { + "enum": [ + "ip" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnDatetime" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnDatetime" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "datetime" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnRelationship" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnRelationship" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "relationship" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnPoint" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnPoint" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "point" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnLine" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnLine" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "linestring" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnPolygon" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnPolygon" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "polygon" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnVarchar" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnVarchar" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "varchar" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnText" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnText" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "text" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnMediumtext" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnMediumtext" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "mediumtext" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnLongtext" + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnLongtext" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "longtext" + ] + } + } + } + ] }, { - "$ref": "#\/components\/schemas\/columnString" - } - ], - "discriminator": { - "propertyName": "type", - "mapping": { - "boolean": "#\/components\/schemas\/columnBoolean", - "bigint": "#\/components\/schemas\/columnBigint", - "integer": "#\/components\/schemas\/columnInteger", - "double": "#\/components\/schemas\/columnFloat", - "string": "#\/components\/schemas\/columnString", - "datetime": "#\/components\/schemas\/columnDatetime", - "relationship": "#\/components\/schemas\/columnRelationship", - "point": "#\/components\/schemas\/columnPoint", - "linestring": "#\/components\/schemas\/columnLine", - "polygon": "#\/components\/schemas\/columnPolygon", - "varchar": "#\/components\/schemas\/columnVarchar", - "text": "#\/components\/schemas\/columnText", - "mediumtext": "#\/components\/schemas\/columnMediumtext", - "longtext": "#\/components\/schemas\/columnLongtext" - }, - "x-mapping": { - "#\/components\/schemas\/columnBoolean": { - "type": "boolean" - }, - "#\/components\/schemas\/columnBigint": { - "type": "bigint" - }, - "#\/components\/schemas\/columnInteger": { - "type": "integer" - }, - "#\/components\/schemas\/columnFloat": { - "type": "double" - }, - "#\/components\/schemas\/columnEmail": { - "type": "string", - "format": "email" - }, - "#\/components\/schemas\/columnEnum": { - "type": "string", - "format": "enum" - }, - "#\/components\/schemas\/columnUrl": { - "type": "string", - "format": "url" - }, - "#\/components\/schemas\/columnIp": { - "type": "string", - "format": "ip" - }, - "#\/components\/schemas\/columnDatetime": { - "type": "datetime" - }, - "#\/components\/schemas\/columnRelationship": { - "type": "relationship" - }, - "#\/components\/schemas\/columnPoint": { - "type": "point" - }, - "#\/components\/schemas\/columnLine": { - "type": "linestring" - }, - "#\/components\/schemas\/columnPolygon": { - "type": "polygon" - }, - "#\/components\/schemas\/columnVarchar": { - "type": "varchar" - }, - "#\/components\/schemas\/columnText": { - "type": "text" - }, - "#\/components\/schemas\/columnMediumtext": { - "type": "mediumtext" - }, - "#\/components\/schemas\/columnLongtext": { - "type": "longtext" - }, - "#\/components\/schemas\/columnString": { - "type": "string" - } + "allOf": [ + { + "$ref": "#\/components\/schemas\/columnString" + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "string" + ] + } + } + } + ] } - } + ] }, "example": [] } @@ -133503,6 +135101,82 @@ "clientSecret": "9c1e4b00000000000000000000000000000000000000000000000000a72d5f4" } }, + "oAuth2TikTok": { + "description": "OAuth2TikTok", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "OAuth2 provider ID.", + "example": "github" + }, + "enabled": { + "type": "boolean", + "description": "OAuth2 provider is active and can be used to create sessions.", + "example": false + }, + "clientId": { + "type": "string", + "description": "TikTok OAuth2 client key.", + "example": "awz000000000tyw0" + }, + "clientSecret": { + "type": "string", + "description": "TikTok OAuth2 client secret.", + "example": "6wXewM00000000000000000000yXnite" + } + }, + "required": [ + "$id", + "enabled", + "clientId", + "clientSecret" + ], + "example": { + "$id": "github", + "enabled": false, + "clientId": "awz000000000tyw0", + "clientSecret": "6wXewM00000000000000000000yXnite" + } + }, + "oAuth2Kakao": { + "description": "OAuth2Kakao", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "OAuth2 provider ID.", + "example": "github" + }, + "enabled": { + "type": "boolean", + "description": "OAuth2 provider is active and can be used to create sessions.", + "example": false + }, + "clientId": { + "type": "string", + "description": "Kakao OAuth2 REST API key.", + "example": "839ff5000000000000000000013206de" + }, + "clientSecret": { + "type": "string", + "description": "Kakao OAuth2 client secret.", + "example": "jLNVOK00000000000000000000yJebea" + } + }, + "required": [ + "$id", + "enabled", + "clientId", + "clientSecret" + ], + "example": { + "$id": "github", + "enabled": false, + "clientId": "839ff5000000000000000000013206de", + "clientSecret": "jLNVOK00000000000000000000yJebea" + } + }, "oAuth2ProviderList": { "description": "OAuth2 Providers List", "type": "object", @@ -133649,6 +135323,12 @@ }, { "$ref": "#\/components\/schemas\/oAuth2Cloudflare" + }, + { + "$ref": "#\/components\/schemas\/oAuth2TikTok" + }, + { + "$ref": "#\/components\/schemas\/oAuth2Kakao" } ], "discriminator": { @@ -133699,7 +135379,9 @@ "microsoft": "#\/components\/schemas\/oAuth2Microsoft", "huggingface": "#\/components\/schemas\/oAuth2HuggingFace", "resend": "#\/components\/schemas\/oAuth2Resend", - "cloudflare": "#\/components\/schemas\/oAuth2Cloudflare" + "cloudflare": "#\/components\/schemas\/oAuth2Cloudflare", + "tiktok": "#\/components\/schemas\/oAuth2TikTok", + "kakao": "#\/components\/schemas\/oAuth2Kakao" } } }, @@ -141364,7 +143046,7 @@ }, "containerStatus": { "type": "string", - "description": "Container status for lifecycle-managed database runtimes: active or inactive.", + "description": "Container status for lifecycle-managed database runtimes: active, inactive, or failed (a wake was declined because the backing namespace is gone).", "example": "active" }, "lastAccessedAt": { @@ -143529,9 +145211,14 @@ }, "containerStatus": { "type": "string", - "description": "Container status for lifecycle-managed database runtimes: active or inactive.", + "description": "Container status for lifecycle-managed database runtimes: active, inactive, or failed (a wake was declined because the backing namespace is gone).", "example": "active" }, + "lastErrorCode": { + "type": "string", + "description": "Code of the last failure recorded against this database. The Edge proxy reads it to refuse immediately instead of spending its cold-start budget on a wake that cannot succeed: dedicated_database_abandoned means a wake was already declined because the backing namespace is gone. Empty when no error is recorded.", + "example": "dedicated_database_abandoned" + }, "lifecycleState": { "type": "string", "description": "Idle-lifecycle state at fetch time: active, warm, cold, or hibernated. The Edge proxy labels wake telemetry with it so warm-start, cold-start, and hibernate-resume durations chart separately.", @@ -143607,6 +145294,7 @@ "engine", "status", "containerStatus", + "lastErrorCode", "lifecycleState", "suspended", "suspendedReason", @@ -143630,6 +145318,7 @@ "engine": "postgresql", "status": "ready", "containerStatus": "active", + "lastErrorCode": "dedicated_database_abandoned", "lifecycleState": "warm", "suspended": false, "suspendedReason": "readonly", @@ -150009,7 +151698,6 @@ "description": "Impersonate a user by ID", "in": "header", "x-appwrite": { - "optional": true, "platforms": [ "client", "server", @@ -150023,7 +151711,6 @@ "description": "Impersonate a user by email", "in": "header", "x-appwrite": { - "optional": true, "platforms": [ "client", "server", @@ -150037,7 +151724,6 @@ "description": "Impersonate a user by phone", "in": "header", "x-appwrite": { - "optional": true, "platforms": [ "client", "server",