diff --git a/examples/2.0.x/client-apple/examples/databases/create-operations.md b/examples/2.0.x/client-apple/examples/databases/create-operations.md index c9d59976f..f669acb86 100644 --- a/examples/2.0.x/client-apple/examples/databases/create-operations.md +++ b/examples/2.0.x/client-apple/examples/databases/create-operations.md @@ -10,16 +10,16 @@ let databases = Databases(client) let transaction = try await databases.createOperations( transactionId: "", operations: [ - { - "action": "create", - "databaseId": "", - "collectionId": "", - "documentId": "", - "data": { - "name": "Walter O'Brien" - } - } - ] // optional + [ + "action": "create", + "databaseId": "", + "collectionId": "", + "documentId": "", + "data": [ + "name": "Walter O'Brien" + ] + ] + ] // optional ) ``` diff --git a/examples/2.0.x/client-apple/examples/documentsdb/create-operations.md b/examples/2.0.x/client-apple/examples/documentsdb/create-operations.md index c1bc948d3..1255f668d 100644 --- a/examples/2.0.x/client-apple/examples/documentsdb/create-operations.md +++ b/examples/2.0.x/client-apple/examples/documentsdb/create-operations.md @@ -10,16 +10,16 @@ let documentsDB = DocumentsDB(client) let transaction = try await documentsDB.createOperations( transactionId: "", operations: [ - { - "action": "create", - "databaseId": "", - "collectionId": "", - "documentId": "", - "data": { - "name": "Walter O'Brien" - } - } - ] // optional + [ + "action": "create", + "databaseId": "", + "collectionId": "", + "documentId": "", + "data": [ + "name": "Walter O'Brien" + ] + ] + ] // optional ) ``` diff --git a/examples/2.0.x/client-apple/examples/tablesdb/create-operations.md b/examples/2.0.x/client-apple/examples/tablesdb/create-operations.md index ee3d6ce3d..edebcee35 100644 --- a/examples/2.0.x/client-apple/examples/tablesdb/create-operations.md +++ b/examples/2.0.x/client-apple/examples/tablesdb/create-operations.md @@ -10,16 +10,16 @@ let tablesDB = TablesDB(client) let transaction = try await tablesDB.createOperations( transactionId: "", operations: [ - { - "action": "create", - "databaseId": "", - "tableId": "", - "rowId": "", - "data": { - "name": "Walter O'Brien" - } - } - ] // optional + [ + "action": "create", + "databaseId": "", + "tableId": "", + "rowId": "", + "data": [ + "name": "Walter O'Brien" + ] + ] + ] // optional ) ``` diff --git a/examples/2.0.x/client-apple/examples/vectorsdb/create-document.md b/examples/2.0.x/client-apple/examples/vectorsdb/create-document.md index 6676e3aa3..b1340908b 100644 --- a/examples/2.0.x/client-apple/examples/vectorsdb/create-document.md +++ b/examples/2.0.x/client-apple/examples/vectorsdb/create-document.md @@ -13,10 +13,10 @@ let document = try await vectorsDB.createDocument( documentId: "", data: [ "embeddings": [ - "0": 0.12, - "1": -0.55, - "2": 0.88, - "3": 1.02 + 0.12, + -0.55, + 0.88, + 1.02 ], "metadata": [ "key": "value" diff --git a/examples/2.0.x/client-apple/examples/vectorsdb/create-operations.md b/examples/2.0.x/client-apple/examples/vectorsdb/create-operations.md index c90069aa2..b48c45983 100644 --- a/examples/2.0.x/client-apple/examples/vectorsdb/create-operations.md +++ b/examples/2.0.x/client-apple/examples/vectorsdb/create-operations.md @@ -10,16 +10,16 @@ let vectorsDB = VectorsDB(client) let transaction = try await vectorsDB.createOperations( transactionId: "", operations: [ - { - "action": "create", - "databaseId": "", - "collectionId": "", - "documentId": "", - "data": { - "name": "Walter O'Brien" - } - } - ] // optional + [ + "action": "create", + "databaseId": "", + "collectionId": "", + "documentId": "", + "data": [ + "name": "Walter O'Brien" + ] + ] + ] // optional ) ``` diff --git a/examples/2.0.x/client-rest/examples/account/delete-identity.md b/examples/2.0.x/client-rest/examples/account/delete-identity.md index f20de5903..a1a34c28c 100644 --- a/examples/2.0.x/client-rest/examples/account/delete-identity.md +++ b/examples/2.0.x/client-rest/examples/account/delete-identity.md @@ -2,6 +2,7 @@ DELETE /v1/account/identities/{identityId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/account/delete-mfa-authenticator.md b/examples/2.0.x/client-rest/examples/account/delete-mfa-authenticator.md index cbd62a55a..26adaec71 100644 --- a/examples/2.0.x/client-rest/examples/account/delete-mfa-authenticator.md +++ b/examples/2.0.x/client-rest/examples/account/delete-mfa-authenticator.md @@ -2,6 +2,7 @@ DELETE /v1/account/mfa/authenticators/{type} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/account/delete-push-target.md b/examples/2.0.x/client-rest/examples/account/delete-push-target.md index 6c6479004..aeacfca6d 100644 --- a/examples/2.0.x/client-rest/examples/account/delete-push-target.md +++ b/examples/2.0.x/client-rest/examples/account/delete-push-target.md @@ -2,6 +2,7 @@ DELETE /v1/account/targets/{targetId}/push HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/account/delete-session.md b/examples/2.0.x/client-rest/examples/account/delete-session.md index cbb8c40c8..5a57448b9 100644 --- a/examples/2.0.x/client-rest/examples/account/delete-session.md +++ b/examples/2.0.x/client-rest/examples/account/delete-session.md @@ -2,6 +2,7 @@ DELETE /v1/account/sessions/{sessionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/account/delete-sessions.md b/examples/2.0.x/client-rest/examples/account/delete-sessions.md index f36a3a5e5..1fb9839a1 100644 --- a/examples/2.0.x/client-rest/examples/account/delete-sessions.md +++ b/examples/2.0.x/client-rest/examples/account/delete-sessions.md @@ -2,6 +2,7 @@ DELETE /v1/account/sessions HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/databases/delete-document.md b/examples/2.0.x/client-rest/examples/databases/delete-document.md index e6a63d179..adaa5b487 100644 --- a/examples/2.0.x/client-rest/examples/databases/delete-document.md +++ b/examples/2.0.x/client-rest/examples/databases/delete-document.md @@ -2,6 +2,7 @@ DELETE /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/databases/delete-transaction.md b/examples/2.0.x/client-rest/examples/databases/delete-transaction.md index 3b1d23f48..802cae1da 100644 --- a/examples/2.0.x/client-rest/examples/databases/delete-transaction.md +++ b/examples/2.0.x/client-rest/examples/databases/delete-transaction.md @@ -2,6 +2,7 @@ DELETE /v1/databases/transactions/{transactionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/documentsdb/delete-document.md b/examples/2.0.x/client-rest/examples/documentsdb/delete-document.md index e22b30f85..a150e92c2 100644 --- a/examples/2.0.x/client-rest/examples/documentsdb/delete-document.md +++ b/examples/2.0.x/client-rest/examples/documentsdb/delete-document.md @@ -2,6 +2,7 @@ DELETE /v1/documentsdb/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/documentsdb/delete-transaction.md b/examples/2.0.x/client-rest/examples/documentsdb/delete-transaction.md index a8458e709..83c847b3e 100644 --- a/examples/2.0.x/client-rest/examples/documentsdb/delete-transaction.md +++ b/examples/2.0.x/client-rest/examples/documentsdb/delete-transaction.md @@ -2,6 +2,7 @@ DELETE /v1/documentsdb/transactions/{transactionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/messaging/delete-subscriber.md b/examples/2.0.x/client-rest/examples/messaging/delete-subscriber.md index 782dfc4a7..725114ad3 100644 --- a/examples/2.0.x/client-rest/examples/messaging/delete-subscriber.md +++ b/examples/2.0.x/client-rest/examples/messaging/delete-subscriber.md @@ -2,6 +2,7 @@ DELETE /v1/messaging/topics/{topicId}/subscribers/{subscriberId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/presences/delete.md b/examples/2.0.x/client-rest/examples/presences/delete.md index 933945dd4..1c5e11458 100644 --- a/examples/2.0.x/client-rest/examples/presences/delete.md +++ b/examples/2.0.x/client-rest/examples/presences/delete.md @@ -2,6 +2,7 @@ DELETE /v1/presences/{presenceId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/storage/delete-file.md b/examples/2.0.x/client-rest/examples/storage/delete-file.md index b39bc4e41..b7234b11a 100644 --- a/examples/2.0.x/client-rest/examples/storage/delete-file.md +++ b/examples/2.0.x/client-rest/examples/storage/delete-file.md @@ -2,6 +2,7 @@ DELETE /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/tablesdb/delete-row.md b/examples/2.0.x/client-rest/examples/tablesdb/delete-row.md index 92055773a..670b494df 100644 --- a/examples/2.0.x/client-rest/examples/tablesdb/delete-row.md +++ b/examples/2.0.x/client-rest/examples/tablesdb/delete-row.md @@ -2,6 +2,7 @@ DELETE /v1/tablesdb/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/tablesdb/delete-transaction.md b/examples/2.0.x/client-rest/examples/tablesdb/delete-transaction.md index cb4f8e8c5..b547c86cd 100644 --- a/examples/2.0.x/client-rest/examples/tablesdb/delete-transaction.md +++ b/examples/2.0.x/client-rest/examples/tablesdb/delete-transaction.md @@ -2,6 +2,7 @@ DELETE /v1/tablesdb/transactions/{transactionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/teams/delete-membership.md b/examples/2.0.x/client-rest/examples/teams/delete-membership.md index 4867caf91..ffaa450b2 100644 --- a/examples/2.0.x/client-rest/examples/teams/delete-membership.md +++ b/examples/2.0.x/client-rest/examples/teams/delete-membership.md @@ -2,6 +2,7 @@ DELETE /v1/teams/{teamId}/memberships/{membershipId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/teams/delete.md b/examples/2.0.x/client-rest/examples/teams/delete.md index 230618bce..dd05c4b14 100644 --- a/examples/2.0.x/client-rest/examples/teams/delete.md +++ b/examples/2.0.x/client-rest/examples/teams/delete.md @@ -2,6 +2,7 @@ DELETE /v1/teams/{teamId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/vectorsdb/delete-document.md b/examples/2.0.x/client-rest/examples/vectorsdb/delete-document.md index 6380db120..0ace34914 100644 --- a/examples/2.0.x/client-rest/examples/vectorsdb/delete-document.md +++ b/examples/2.0.x/client-rest/examples/vectorsdb/delete-document.md @@ -2,6 +2,7 @@ DELETE /v1/vectorsdb/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/client-rest/examples/vectorsdb/delete-transaction.md b/examples/2.0.x/client-rest/examples/vectorsdb/delete-transaction.md index 6d65fcf3f..45aa8cadc 100644 --- a/examples/2.0.x/client-rest/examples/vectorsdb/delete-transaction.md +++ b/examples/2.0.x/client-rest/examples/vectorsdb/delete-transaction.md @@ -2,6 +2,7 @@ DELETE /v1/vectorsdb/transactions/{transactionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/console-cli/examples/project/update-o-auth-2-kakao.md b/examples/2.0.x/console-cli/examples/project/update-o-auth-2-kakao.md new file mode 100644 index 000000000..2506904aa --- /dev/null +++ b/examples/2.0.x/console-cli/examples/project/update-o-auth-2-kakao.md @@ -0,0 +1,3 @@ +```bash +appwrite project update-o-auth-2-kakao +``` diff --git a/examples/2.0.x/console-cli/examples/project/update-o-auth-2-tik-tok.md b/examples/2.0.x/console-cli/examples/project/update-o-auth-2-tik-tok.md new file mode 100644 index 000000000..628e83e04 --- /dev/null +++ b/examples/2.0.x/console-cli/examples/project/update-o-auth-2-tik-tok.md @@ -0,0 +1,3 @@ +```bash +appwrite project update-o-auth-2-tik-tok +``` diff --git a/examples/2.0.x/console-python/examples/domains/create-record-mx.md b/examples/2.0.x/console-python/examples/domains/create-record-mx.md index fa328811e..0baa557b2 100644 --- a/examples/2.0.x/console-python/examples/domains/create-record-mx.md +++ b/examples/2.0.x/console-python/examples/domains/create-record-mx.md @@ -14,7 +14,7 @@ result: DnsRecord = domains.create_record_mx( name = '', value = '', ttl = 1, - priority = None, + priority = 0, comment = '' # optional ) diff --git a/examples/2.0.x/console-python/examples/domains/create-record-srv.md b/examples/2.0.x/console-python/examples/domains/create-record-srv.md index 60f292761..54e27d659 100644 --- a/examples/2.0.x/console-python/examples/domains/create-record-srv.md +++ b/examples/2.0.x/console-python/examples/domains/create-record-srv.md @@ -14,9 +14,9 @@ result: DnsRecord = domains.create_record_srv( name = '', value = '', ttl = 1, - priority = None, - weight = None, - port = None, + priority = 0, + weight = 0, + port = 0, comment = '' # optional ) diff --git a/examples/2.0.x/console-python/examples/domains/update-record-mx.md b/examples/2.0.x/console-python/examples/domains/update-record-mx.md index fc793afd9..e3f86a0c0 100644 --- a/examples/2.0.x/console-python/examples/domains/update-record-mx.md +++ b/examples/2.0.x/console-python/examples/domains/update-record-mx.md @@ -15,7 +15,7 @@ result: DnsRecord = domains.update_record_mx( name = '', value = '', ttl = 1, - priority = None, + priority = 0, comment = '' # optional ) diff --git a/examples/2.0.x/console-python/examples/domains/update-record-srv.md b/examples/2.0.x/console-python/examples/domains/update-record-srv.md index 445556416..ffa22f0ad 100644 --- a/examples/2.0.x/console-python/examples/domains/update-record-srv.md +++ b/examples/2.0.x/console-python/examples/domains/update-record-srv.md @@ -15,9 +15,9 @@ result: DnsRecord = domains.update_record_srv( name = '', value = '', ttl = 1, - priority = None, - weight = None, - port = None, + priority = 0, + weight = 0, + port = 0, comment = '' # optional ) diff --git a/examples/2.0.x/console-python/examples/project/get-o-auth-2-provider.md b/examples/2.0.x/console-python/examples/project/get-o-auth-2-provider.md index c80f00a3c..031e2abcf 100644 --- a/examples/2.0.x/console-python/examples/project/get-o-auth-2-provider.md +++ b/examples/2.0.x/console-python/examples/project/get-o-auth-2-provider.md @@ -44,6 +44,8 @@ from appwrite_console.models import OAuth2Apple from appwrite_console.models import OAuth2Okta from appwrite_console.models import OAuth2Kick from appwrite_console.models import OAuth2Microsoft +from appwrite_console.models import OAuth2TikTok +from appwrite_console.models import OAuth2Kakao from typing import Union from appwrite_console.enums import ProjectOAuthProviderId @@ -53,7 +55,7 @@ client.set_project('') # Your project ID project = Project(client) -result: Union[OAuth2Github, OAuth2Discord, OAuth2Figma, OAuth2Dropbox, OAuth2Dailymotion, OAuth2Bitbucket, OAuth2Bitly, OAuth2Box, OAuth2Autodesk, OAuth2Google, OAuth2Zoom, OAuth2Zoho, OAuth2Yandex, OAuth2X, OAuth2WordPress, OAuth2Twitch, OAuth2Stripe, OAuth2Spotify, OAuth2Slack, OAuth2Podio, OAuth2Notion, OAuth2Salesforce, OAuth2Yahoo, OAuth2HuggingFace, OAuth2Resend, OAuth2Cloudflare, OAuth2Linkedin, OAuth2Disqus, OAuth2Amazon, OAuth2Etsy, OAuth2Facebook, OAuth2Tradeshift, OAuth2Paypal, OAuth2Gitlab, OAuth2Authentik, OAuth2Auth0, OAuth2FusionAuth, OAuth2Keycloak, OAuth2Oidc, OAuth2Apple, OAuth2Okta, OAuth2Kick, OAuth2Microsoft] = project.get_o_auth2_provider( +result: Union[OAuth2Github, OAuth2Discord, OAuth2Figma, OAuth2Dropbox, OAuth2Dailymotion, OAuth2Bitbucket, OAuth2Bitly, OAuth2Box, OAuth2Autodesk, OAuth2Google, OAuth2Zoom, OAuth2Zoho, OAuth2Yandex, OAuth2X, OAuth2WordPress, OAuth2Twitch, OAuth2Stripe, OAuth2Spotify, OAuth2Slack, OAuth2Podio, OAuth2Notion, OAuth2Salesforce, OAuth2Yahoo, OAuth2HuggingFace, OAuth2Resend, OAuth2Cloudflare, OAuth2Linkedin, OAuth2Disqus, OAuth2Amazon, OAuth2Etsy, OAuth2Facebook, OAuth2Tradeshift, OAuth2Paypal, OAuth2Gitlab, OAuth2Authentik, OAuth2Auth0, OAuth2FusionAuth, OAuth2Keycloak, OAuth2Oidc, OAuth2Apple, OAuth2Okta, OAuth2Kick, OAuth2Microsoft, OAuth2TikTok, OAuth2Kakao] = project.get_o_auth2_provider( provider_id = ProjectOAuthProviderId.AMAZON ) diff --git a/examples/2.0.x/console-python/examples/project/update-o-auth-2-kakao.md b/examples/2.0.x/console-python/examples/project/update-o-auth-2-kakao.md new file mode 100644 index 000000000..49da8ef7a --- /dev/null +++ b/examples/2.0.x/console-python/examples/project/update-o-auth-2-kakao.md @@ -0,0 +1,19 @@ +```python +from appwrite_console.client import Client +from appwrite_console.services.project import Project +from appwrite_console.models import OAuth2Kakao + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID + +project = Project(client) + +result: OAuth2Kakao = project.update_o_auth2_kakao( + client_id = '', # optional + client_secret = '', # optional + enabled = False # optional +) + +print(result.model_dump()) +``` diff --git a/examples/2.0.x/console-python/examples/project/update-o-auth-2-tik-tok.md b/examples/2.0.x/console-python/examples/project/update-o-auth-2-tik-tok.md new file mode 100644 index 000000000..8958af63f --- /dev/null +++ b/examples/2.0.x/console-python/examples/project/update-o-auth-2-tik-tok.md @@ -0,0 +1,19 @@ +```python +from appwrite_console.client import Client +from appwrite_console.services.project import Project +from appwrite_console.models import OAuth2TikTok + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID + +project = Project(client) + +result: OAuth2TikTok = project.update_o_auth2_tik_tok( + client_id = '', # optional + client_secret = '', # optional + enabled = False # optional +) + +print(result.model_dump()) +``` diff --git a/examples/2.0.x/console-web/examples/domains/create-record-mx.md b/examples/2.0.x/console-web/examples/domains/create-record-mx.md index 2bdc242e1..58fca599d 100644 --- a/examples/2.0.x/console-web/examples/domains/create-record-mx.md +++ b/examples/2.0.x/console-web/examples/domains/create-record-mx.md @@ -12,7 +12,7 @@ const result = await domains.createRecordMX({ name: '', value: '', ttl: 1, - priority: null, + priority: 0, comment: '', // optional }); diff --git a/examples/2.0.x/console-web/examples/domains/create-record-srv.md b/examples/2.0.x/console-web/examples/domains/create-record-srv.md index 64f6ebc59..54f4f958e 100644 --- a/examples/2.0.x/console-web/examples/domains/create-record-srv.md +++ b/examples/2.0.x/console-web/examples/domains/create-record-srv.md @@ -12,9 +12,9 @@ const result = await domains.createRecordSRV({ name: '', value: '', ttl: 1, - priority: null, - weight: null, - port: null, + priority: 0, + weight: 0, + port: 0, comment: '', // optional }); diff --git a/examples/2.0.x/console-web/examples/domains/update-record-mx.md b/examples/2.0.x/console-web/examples/domains/update-record-mx.md index 0f7ac84f2..a0459f6e2 100644 --- a/examples/2.0.x/console-web/examples/domains/update-record-mx.md +++ b/examples/2.0.x/console-web/examples/domains/update-record-mx.md @@ -13,7 +13,7 @@ const result = await domains.updateRecordMX({ name: '', value: '', ttl: 1, - priority: null, + priority: 0, comment: '', // optional }); diff --git a/examples/2.0.x/console-web/examples/domains/update-record-srv.md b/examples/2.0.x/console-web/examples/domains/update-record-srv.md index 4d29c48d2..bdaaee239 100644 --- a/examples/2.0.x/console-web/examples/domains/update-record-srv.md +++ b/examples/2.0.x/console-web/examples/domains/update-record-srv.md @@ -13,9 +13,9 @@ const result = await domains.updateRecordSRV({ name: '', value: '', ttl: 1, - priority: null, - weight: null, - port: null, + priority: 0, + weight: 0, + port: 0, comment: '', // optional }); diff --git a/examples/2.0.x/console-web/examples/project/update-o-auth-2-kakao.md b/examples/2.0.x/console-web/examples/project/update-o-auth-2-kakao.md new file mode 100644 index 000000000..b92e049df --- /dev/null +++ b/examples/2.0.x/console-web/examples/project/update-o-auth-2-kakao.md @@ -0,0 +1,17 @@ +```javascript +import { Client, Project } from '@appwrite.io/console'; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const project = new Project(client); + +const result = await project.updateOAuth2Kakao({ + clientId: '', // optional + clientSecret: '', // optional + enabled: false, // optional +}); + +console.log(result); +``` diff --git a/examples/2.0.x/console-web/examples/project/update-o-auth-2-tik-tok.md b/examples/2.0.x/console-web/examples/project/update-o-auth-2-tik-tok.md new file mode 100644 index 000000000..c840831d7 --- /dev/null +++ b/examples/2.0.x/console-web/examples/project/update-o-auth-2-tik-tok.md @@ -0,0 +1,17 @@ +```javascript +import { Client, Project } from '@appwrite.io/console'; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const project = new Project(client); + +const result = await project.updateOAuth2TikTok({ + clientId: '', // optional + clientSecret: '', // optional + enabled: false, // optional +}); + +console.log(result); +``` diff --git a/examples/2.0.x/server-dart/examples/project/update-o-auth-2-kakao.md b/examples/2.0.x/server-dart/examples/project/update-o-auth-2-kakao.md new file mode 100644 index 000000000..1a47e3871 --- /dev/null +++ b/examples/2.0.x/server-dart/examples/project/update-o-auth-2-kakao.md @@ -0,0 +1,16 @@ +```dart +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Project project = Project(client); + +OAuth2Kakao result = await project.updateOAuth2Kakao( + clientId: '', // (optional) + clientSecret: '', // (optional) + enabled: false, // (optional) +); +``` diff --git a/examples/2.0.x/server-dart/examples/project/update-o-auth-2-tik-tok.md b/examples/2.0.x/server-dart/examples/project/update-o-auth-2-tik-tok.md new file mode 100644 index 000000000..8190a2704 --- /dev/null +++ b/examples/2.0.x/server-dart/examples/project/update-o-auth-2-tik-tok.md @@ -0,0 +1,16 @@ +```dart +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Project project = Project(client); + +OAuth2TikTok result = await project.updateOAuth2TikTok( + clientId: '', // (optional) + clientSecret: '', // (optional) + enabled: false, // (optional) +); +``` diff --git a/examples/2.0.x/server-dotnet/examples/project/update-o-auth-2-kakao.md b/examples/2.0.x/server-dotnet/examples/project/update-o-auth-2-kakao.md new file mode 100644 index 000000000..546e5ac66 --- /dev/null +++ b/examples/2.0.x/server-dotnet/examples/project/update-o-auth-2-kakao.md @@ -0,0 +1,19 @@ +```csharp +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Project project = new Project(client); + +OAuth2Kakao result = await project.UpdateOAuth2Kakao( + clientId: "", // optional + clientSecret: "", // optional + enabled: false // optional +); + +``` diff --git a/examples/2.0.x/server-dotnet/examples/project/update-o-auth-2-tik-tok.md b/examples/2.0.x/server-dotnet/examples/project/update-o-auth-2-tik-tok.md new file mode 100644 index 000000000..560c4f54e --- /dev/null +++ b/examples/2.0.x/server-dotnet/examples/project/update-o-auth-2-tik-tok.md @@ -0,0 +1,19 @@ +```csharp +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Project project = new Project(client); + +OAuth2TikTok result = await project.UpdateOAuth2TikTok( + clientId: "", // optional + clientSecret: "", // optional + enabled: false // optional +); + +``` diff --git a/examples/2.0.x/server-go/examples/project/update-o-auth-2-kakao.md b/examples/2.0.x/server-go/examples/project/update-o-auth-2-kakao.md new file mode 100644 index 000000000..5979e6dfa --- /dev/null +++ b/examples/2.0.x/server-go/examples/project/update-o-auth-2-kakao.md @@ -0,0 +1,27 @@ +```go +package main + +import ( + "fmt" + + "github.com/appwrite/sdk-for-go/v7/appwrite" + "github.com/appwrite/sdk-for-go/v7/project" +) + +func main() { + client := appwrite.NewClient( + appwrite.WithEndpoint("https://.cloud.appwrite.io/v1"), + appwrite.WithProject(""), + appwrite.WithKey(""), + ) + + service := project.New(client) + + response, err := service.UpdateOAuth2Kakao( + service.WithUpdateOAuth2KakaoClientId(""), + service.WithUpdateOAuth2KakaoClientSecret(""), + service.WithUpdateOAuth2KakaoEnabled(false), + ) + fmt.Println(response, err) +} +``` diff --git a/examples/2.0.x/server-go/examples/project/update-o-auth-2-tik-tok.md b/examples/2.0.x/server-go/examples/project/update-o-auth-2-tik-tok.md new file mode 100644 index 000000000..f5d25d0c1 --- /dev/null +++ b/examples/2.0.x/server-go/examples/project/update-o-auth-2-tik-tok.md @@ -0,0 +1,27 @@ +```go +package main + +import ( + "fmt" + + "github.com/appwrite/sdk-for-go/v7/appwrite" + "github.com/appwrite/sdk-for-go/v7/project" +) + +func main() { + client := appwrite.NewClient( + appwrite.WithEndpoint("https://.cloud.appwrite.io/v1"), + appwrite.WithProject(""), + appwrite.WithKey(""), + ) + + service := project.New(client) + + response, err := service.UpdateOAuth2TikTok( + service.WithUpdateOAuth2TikTokClientId(""), + service.WithUpdateOAuth2TikTokClientSecret(""), + service.WithUpdateOAuth2TikTokEnabled(false), + ) + fmt.Println(response, err) +} +``` diff --git a/examples/2.0.x/server-graphql/examples/project/update-o-auth-2-kakao.md b/examples/2.0.x/server-graphql/examples/project/update-o-auth-2-kakao.md new file mode 100644 index 000000000..5efba028a --- /dev/null +++ b/examples/2.0.x/server-graphql/examples/project/update-o-auth-2-kakao.md @@ -0,0 +1,14 @@ +```graphql +mutation { + projectUpdateOAuth2Kakao( + clientId: "", + clientSecret: "", + enabled: false + ) { + _id + enabled + clientId + clientSecret + } +} +``` diff --git a/examples/2.0.x/server-graphql/examples/project/update-o-auth-2-tik-tok.md b/examples/2.0.x/server-graphql/examples/project/update-o-auth-2-tik-tok.md new file mode 100644 index 000000000..259de0919 --- /dev/null +++ b/examples/2.0.x/server-graphql/examples/project/update-o-auth-2-tik-tok.md @@ -0,0 +1,14 @@ +```graphql +mutation { + projectUpdateOAuth2TikTok( + clientId: "", + clientSecret: "", + enabled: false + ) { + _id + enabled + clientId + clientSecret + } +} +``` diff --git a/examples/2.0.x/server-kotlin/java/project/update-o-auth-2-kakao.md b/examples/2.0.x/server-kotlin/java/project/update-o-auth-2-kakao.md new file mode 100644 index 000000000..da93f607b --- /dev/null +++ b/examples/2.0.x/server-kotlin/java/project/update-o-auth-2-kakao.md @@ -0,0 +1,27 @@ +```java +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Project; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Project project = new Project(client); + +project.updateOAuth2Kakao( + "", // clientId (optional) + "", // clientSecret (optional) + false, // enabled (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + +``` diff --git a/examples/2.0.x/server-kotlin/java/project/update-o-auth-2-tik-tok.md b/examples/2.0.x/server-kotlin/java/project/update-o-auth-2-tik-tok.md new file mode 100644 index 000000000..e372e0644 --- /dev/null +++ b/examples/2.0.x/server-kotlin/java/project/update-o-auth-2-tik-tok.md @@ -0,0 +1,27 @@ +```java +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Project; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Project project = new Project(client); + +project.updateOAuth2TikTok( + "", // clientId (optional) + "", // clientSecret (optional) + false, // enabled (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + +``` diff --git a/examples/2.0.x/server-kotlin/kotlin/project/update-o-auth-2-kakao.md b/examples/2.0.x/server-kotlin/kotlin/project/update-o-auth-2-kakao.md new file mode 100644 index 000000000..364c9b5df --- /dev/null +++ b/examples/2.0.x/server-kotlin/kotlin/project/update-o-auth-2-kakao.md @@ -0,0 +1,18 @@ +```kotlin +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Project + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val project = Project(client) + +val response = project.updateOAuth2Kakao( + clientId = "", // optional + clientSecret = "", // optional + enabled = false // optional +) +``` diff --git a/examples/2.0.x/server-kotlin/kotlin/project/update-o-auth-2-tik-tok.md b/examples/2.0.x/server-kotlin/kotlin/project/update-o-auth-2-tik-tok.md new file mode 100644 index 000000000..cd9fe340a --- /dev/null +++ b/examples/2.0.x/server-kotlin/kotlin/project/update-o-auth-2-tik-tok.md @@ -0,0 +1,18 @@ +```kotlin +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Project + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val project = Project(client) + +val response = project.updateOAuth2TikTok( + clientId = "", // optional + clientSecret = "", // optional + enabled = false // optional +) +``` diff --git a/examples/2.0.x/server-nodejs/examples/project/update-o-auth-2-kakao.md b/examples/2.0.x/server-nodejs/examples/project/update-o-auth-2-kakao.md new file mode 100644 index 000000000..1a26ea6a7 --- /dev/null +++ b/examples/2.0.x/server-nodejs/examples/project/update-o-auth-2-kakao.md @@ -0,0 +1,16 @@ +```javascript +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const project = new sdk.Project(client); + +const result = await project.updateOAuth2Kakao({ + clientId: '', // optional + clientSecret: '', // optional + enabled: false, // optional +}); +``` diff --git a/examples/2.0.x/server-nodejs/examples/project/update-o-auth-2-tik-tok.md b/examples/2.0.x/server-nodejs/examples/project/update-o-auth-2-tik-tok.md new file mode 100644 index 000000000..dd7d2e8d9 --- /dev/null +++ b/examples/2.0.x/server-nodejs/examples/project/update-o-auth-2-tik-tok.md @@ -0,0 +1,16 @@ +```javascript +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const project = new sdk.Project(client); + +const result = await project.updateOAuth2TikTok({ + clientId: '', // optional + clientSecret: '', // optional + enabled: false, // optional +}); +``` diff --git a/examples/2.0.x/server-php/examples/project/update-o-auth-2-kakao.md b/examples/2.0.x/server-php/examples/project/update-o-auth-2-kakao.md new file mode 100644 index 000000000..6262f8694 --- /dev/null +++ b/examples/2.0.x/server-php/examples/project/update-o-auth-2-kakao.md @@ -0,0 +1,19 @@ +```php +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$project = new Project($client); + +$result = $project->updateOAuth2Kakao( + clientId: '', // optional + clientSecret: '', // optional + enabled: false // optional +); +``` diff --git a/examples/2.0.x/server-php/examples/project/update-o-auth-2-tik-tok.md b/examples/2.0.x/server-php/examples/project/update-o-auth-2-tik-tok.md new file mode 100644 index 000000000..435ab6643 --- /dev/null +++ b/examples/2.0.x/server-php/examples/project/update-o-auth-2-tik-tok.md @@ -0,0 +1,19 @@ +```php +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$project = new Project($client); + +$result = $project->updateOAuth2TikTok( + clientId: '', // optional + clientSecret: '', // optional + enabled: false // optional +); +``` diff --git a/examples/2.0.x/server-python/examples/project/get-o-auth-2-provider.md b/examples/2.0.x/server-python/examples/project/get-o-auth-2-provider.md index e2e8f9e95..1bdc7e3c2 100644 --- a/examples/2.0.x/server-python/examples/project/get-o-auth-2-provider.md +++ b/examples/2.0.x/server-python/examples/project/get-o-auth-2-provider.md @@ -44,6 +44,8 @@ from appwrite.models import OAuth2Apple from appwrite.models import OAuth2Okta from appwrite.models import OAuth2Kick from appwrite.models import OAuth2Microsoft +from appwrite.models import OAuth2TikTok +from appwrite.models import OAuth2Kakao from typing import Union from appwrite.enums import ProjectOAuthProviderId @@ -54,7 +56,7 @@ client.set_key('') # Your secret API key project = Project(client) -result: Union[OAuth2Github, OAuth2Discord, OAuth2Figma, OAuth2Dropbox, OAuth2Dailymotion, OAuth2Bitbucket, OAuth2Bitly, OAuth2Box, OAuth2Autodesk, OAuth2Google, OAuth2Zoom, OAuth2Zoho, OAuth2Yandex, OAuth2X, OAuth2WordPress, OAuth2Twitch, OAuth2Stripe, OAuth2Spotify, OAuth2Slack, OAuth2Podio, OAuth2Notion, OAuth2Salesforce, OAuth2Yahoo, OAuth2HuggingFace, OAuth2Resend, OAuth2Cloudflare, OAuth2Linkedin, OAuth2Disqus, OAuth2Amazon, OAuth2Etsy, OAuth2Facebook, OAuth2Tradeshift, OAuth2Paypal, OAuth2Gitlab, OAuth2Authentik, OAuth2Auth0, OAuth2FusionAuth, OAuth2Keycloak, OAuth2Oidc, OAuth2Apple, OAuth2Okta, OAuth2Kick, OAuth2Microsoft] = project.get_o_auth2_provider( +result: Union[OAuth2Github, OAuth2Discord, OAuth2Figma, OAuth2Dropbox, OAuth2Dailymotion, OAuth2Bitbucket, OAuth2Bitly, OAuth2Box, OAuth2Autodesk, OAuth2Google, OAuth2Zoom, OAuth2Zoho, OAuth2Yandex, OAuth2X, OAuth2WordPress, OAuth2Twitch, OAuth2Stripe, OAuth2Spotify, OAuth2Slack, OAuth2Podio, OAuth2Notion, OAuth2Salesforce, OAuth2Yahoo, OAuth2HuggingFace, OAuth2Resend, OAuth2Cloudflare, OAuth2Linkedin, OAuth2Disqus, OAuth2Amazon, OAuth2Etsy, OAuth2Facebook, OAuth2Tradeshift, OAuth2Paypal, OAuth2Gitlab, OAuth2Authentik, OAuth2Auth0, OAuth2FusionAuth, OAuth2Keycloak, OAuth2Oidc, OAuth2Apple, OAuth2Okta, OAuth2Kick, OAuth2Microsoft, OAuth2TikTok, OAuth2Kakao] = project.get_o_auth2_provider( provider_id = ProjectOAuthProviderId.AMAZON ) diff --git a/examples/2.0.x/server-python/examples/project/update-o-auth-2-kakao.md b/examples/2.0.x/server-python/examples/project/update-o-auth-2-kakao.md new file mode 100644 index 000000000..ce8e36a90 --- /dev/null +++ b/examples/2.0.x/server-python/examples/project/update-o-auth-2-kakao.md @@ -0,0 +1,20 @@ +```python +from appwrite.client import Client +from appwrite.services.project import Project +from appwrite.models import OAuth2Kakao + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +project = Project(client) + +result: OAuth2Kakao = project.update_o_auth2_kakao( + client_id = '', # optional + client_secret = '', # optional + enabled = False # optional +) + +print(result.model_dump()) +``` diff --git a/examples/2.0.x/server-python/examples/project/update-o-auth-2-tik-tok.md b/examples/2.0.x/server-python/examples/project/update-o-auth-2-tik-tok.md new file mode 100644 index 000000000..3a7c9cb77 --- /dev/null +++ b/examples/2.0.x/server-python/examples/project/update-o-auth-2-tik-tok.md @@ -0,0 +1,20 @@ +```python +from appwrite.client import Client +from appwrite.services.project import Project +from appwrite.models import OAuth2TikTok + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +project = Project(client) + +result: OAuth2TikTok = project.update_o_auth2_tik_tok( + client_id = '', # optional + client_secret = '', # optional + enabled = False # optional +) + +print(result.model_dump()) +``` diff --git a/examples/2.0.x/server-rest/examples/account/delete-identity.md b/examples/2.0.x/server-rest/examples/account/delete-identity.md index f20de5903..a1a34c28c 100644 --- a/examples/2.0.x/server-rest/examples/account/delete-identity.md +++ b/examples/2.0.x/server-rest/examples/account/delete-identity.md @@ -2,6 +2,7 @@ DELETE /v1/account/identities/{identityId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/account/delete-mfa-authenticator.md b/examples/2.0.x/server-rest/examples/account/delete-mfa-authenticator.md index cbd62a55a..26adaec71 100644 --- a/examples/2.0.x/server-rest/examples/account/delete-mfa-authenticator.md +++ b/examples/2.0.x/server-rest/examples/account/delete-mfa-authenticator.md @@ -2,6 +2,7 @@ DELETE /v1/account/mfa/authenticators/{type} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/account/delete-session.md b/examples/2.0.x/server-rest/examples/account/delete-session.md index cbb8c40c8..5a57448b9 100644 --- a/examples/2.0.x/server-rest/examples/account/delete-session.md +++ b/examples/2.0.x/server-rest/examples/account/delete-session.md @@ -2,6 +2,7 @@ DELETE /v1/account/sessions/{sessionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/account/delete-sessions.md b/examples/2.0.x/server-rest/examples/account/delete-sessions.md index f36a3a5e5..1fb9839a1 100644 --- a/examples/2.0.x/server-rest/examples/account/delete-sessions.md +++ b/examples/2.0.x/server-rest/examples/account/delete-sessions.md @@ -2,6 +2,7 @@ DELETE /v1/account/sessions HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/advisor/delete-report.md b/examples/2.0.x/server-rest/examples/advisor/delete-report.md index 72ae6a1ff..8f0bc31fa 100644 --- a/examples/2.0.x/server-rest/examples/advisor/delete-report.md +++ b/examples/2.0.x/server-rest/examples/advisor/delete-report.md @@ -2,6 +2,7 @@ DELETE /v1/reports/{reportId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/databases/delete-attribute.md b/examples/2.0.x/server-rest/examples/databases/delete-attribute.md index 76245034e..af81a3bbe 100644 --- a/examples/2.0.x/server-rest/examples/databases/delete-attribute.md +++ b/examples/2.0.x/server-rest/examples/databases/delete-attribute.md @@ -2,6 +2,7 @@ DELETE /v1/databases/{databaseId}/collections/{collectionId}/attributes/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/databases/delete-collection.md b/examples/2.0.x/server-rest/examples/databases/delete-collection.md index e67adb76c..5df77058f 100644 --- a/examples/2.0.x/server-rest/examples/databases/delete-collection.md +++ b/examples/2.0.x/server-rest/examples/databases/delete-collection.md @@ -2,6 +2,7 @@ DELETE /v1/databases/{databaseId}/collections/{collectionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/databases/delete-document.md b/examples/2.0.x/server-rest/examples/databases/delete-document.md index e6a63d179..adaa5b487 100644 --- a/examples/2.0.x/server-rest/examples/databases/delete-document.md +++ b/examples/2.0.x/server-rest/examples/databases/delete-document.md @@ -2,6 +2,7 @@ DELETE /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/databases/delete-index.md b/examples/2.0.x/server-rest/examples/databases/delete-index.md index faf8c77ad..545e362d9 100644 --- a/examples/2.0.x/server-rest/examples/databases/delete-index.md +++ b/examples/2.0.x/server-rest/examples/databases/delete-index.md @@ -2,6 +2,7 @@ DELETE /v1/databases/{databaseId}/collections/{collectionId}/indexes/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/databases/delete-transaction.md b/examples/2.0.x/server-rest/examples/databases/delete-transaction.md index 3b1d23f48..802cae1da 100644 --- a/examples/2.0.x/server-rest/examples/databases/delete-transaction.md +++ b/examples/2.0.x/server-rest/examples/databases/delete-transaction.md @@ -2,6 +2,7 @@ DELETE /v1/databases/transactions/{transactionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/databases/delete.md b/examples/2.0.x/server-rest/examples/databases/delete.md index 88a928a82..534990438 100644 --- a/examples/2.0.x/server-rest/examples/databases/delete.md +++ b/examples/2.0.x/server-rest/examples/databases/delete.md @@ -2,6 +2,7 @@ DELETE /v1/databases/{databaseId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/documentsdb/delete-collection.md b/examples/2.0.x/server-rest/examples/documentsdb/delete-collection.md index f60e013af..b92a18eff 100644 --- a/examples/2.0.x/server-rest/examples/documentsdb/delete-collection.md +++ b/examples/2.0.x/server-rest/examples/documentsdb/delete-collection.md @@ -2,6 +2,7 @@ DELETE /v1/documentsdb/{databaseId}/collections/{collectionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/documentsdb/delete-document.md b/examples/2.0.x/server-rest/examples/documentsdb/delete-document.md index e22b30f85..a150e92c2 100644 --- a/examples/2.0.x/server-rest/examples/documentsdb/delete-document.md +++ b/examples/2.0.x/server-rest/examples/documentsdb/delete-document.md @@ -2,6 +2,7 @@ DELETE /v1/documentsdb/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/documentsdb/delete-index.md b/examples/2.0.x/server-rest/examples/documentsdb/delete-index.md index 2b79fe895..e48ba1dc4 100644 --- a/examples/2.0.x/server-rest/examples/documentsdb/delete-index.md +++ b/examples/2.0.x/server-rest/examples/documentsdb/delete-index.md @@ -2,6 +2,7 @@ DELETE /v1/documentsdb/{databaseId}/collections/{collectionId}/indexes/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/documentsdb/delete-transaction.md b/examples/2.0.x/server-rest/examples/documentsdb/delete-transaction.md index a8458e709..83c847b3e 100644 --- a/examples/2.0.x/server-rest/examples/documentsdb/delete-transaction.md +++ b/examples/2.0.x/server-rest/examples/documentsdb/delete-transaction.md @@ -2,6 +2,7 @@ DELETE /v1/documentsdb/transactions/{transactionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/documentsdb/delete.md b/examples/2.0.x/server-rest/examples/documentsdb/delete.md index b40acc819..2eaf29c25 100644 --- a/examples/2.0.x/server-rest/examples/documentsdb/delete.md +++ b/examples/2.0.x/server-rest/examples/documentsdb/delete.md @@ -2,6 +2,7 @@ DELETE /v1/documentsdb/{databaseId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/functions/delete-deployment.md b/examples/2.0.x/server-rest/examples/functions/delete-deployment.md index 08b2394d3..eca4c598e 100644 --- a/examples/2.0.x/server-rest/examples/functions/delete-deployment.md +++ b/examples/2.0.x/server-rest/examples/functions/delete-deployment.md @@ -2,6 +2,7 @@ DELETE /v1/functions/{functionId}/deployments/{deploymentId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/functions/delete-execution.md b/examples/2.0.x/server-rest/examples/functions/delete-execution.md index 79e81423a..a7e379735 100644 --- a/examples/2.0.x/server-rest/examples/functions/delete-execution.md +++ b/examples/2.0.x/server-rest/examples/functions/delete-execution.md @@ -2,6 +2,7 @@ DELETE /v1/functions/{functionId}/executions/{executionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/functions/delete-variable.md b/examples/2.0.x/server-rest/examples/functions/delete-variable.md index 6eee722be..513026fc1 100644 --- a/examples/2.0.x/server-rest/examples/functions/delete-variable.md +++ b/examples/2.0.x/server-rest/examples/functions/delete-variable.md @@ -2,6 +2,7 @@ DELETE /v1/functions/{functionId}/variables/{variableId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/functions/delete.md b/examples/2.0.x/server-rest/examples/functions/delete.md index 44c93ffcc..d565c3889 100644 --- a/examples/2.0.x/server-rest/examples/functions/delete.md +++ b/examples/2.0.x/server-rest/examples/functions/delete.md @@ -2,6 +2,7 @@ DELETE /v1/functions/{functionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/messaging/delete-provider.md b/examples/2.0.x/server-rest/examples/messaging/delete-provider.md index 7a45ef854..1490ae04e 100644 --- a/examples/2.0.x/server-rest/examples/messaging/delete-provider.md +++ b/examples/2.0.x/server-rest/examples/messaging/delete-provider.md @@ -2,6 +2,7 @@ DELETE /v1/messaging/providers/{providerId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/messaging/delete-subscriber.md b/examples/2.0.x/server-rest/examples/messaging/delete-subscriber.md index 782dfc4a7..725114ad3 100644 --- a/examples/2.0.x/server-rest/examples/messaging/delete-subscriber.md +++ b/examples/2.0.x/server-rest/examples/messaging/delete-subscriber.md @@ -2,6 +2,7 @@ DELETE /v1/messaging/topics/{topicId}/subscribers/{subscriberId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/messaging/delete-topic.md b/examples/2.0.x/server-rest/examples/messaging/delete-topic.md index 520b741af..45c52acce 100644 --- a/examples/2.0.x/server-rest/examples/messaging/delete-topic.md +++ b/examples/2.0.x/server-rest/examples/messaging/delete-topic.md @@ -2,6 +2,7 @@ DELETE /v1/messaging/topics/{topicId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/messaging/delete.md b/examples/2.0.x/server-rest/examples/messaging/delete.md index 2ebfd8c53..f364f9d3b 100644 --- a/examples/2.0.x/server-rest/examples/messaging/delete.md +++ b/examples/2.0.x/server-rest/examples/messaging/delete.md @@ -2,6 +2,7 @@ DELETE /v1/messaging/messages/{messageId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/organization/delete-key.md b/examples/2.0.x/server-rest/examples/organization/delete-key.md index fe1442e03..1d7e7eb1c 100644 --- a/examples/2.0.x/server-rest/examples/organization/delete-key.md +++ b/examples/2.0.x/server-rest/examples/organization/delete-key.md @@ -2,6 +2,7 @@ DELETE /v1/organization/keys/{keyId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/organization/delete-membership.md b/examples/2.0.x/server-rest/examples/organization/delete-membership.md index 2134d4b80..a3df6c76f 100644 --- a/examples/2.0.x/server-rest/examples/organization/delete-membership.md +++ b/examples/2.0.x/server-rest/examples/organization/delete-membership.md @@ -2,6 +2,7 @@ DELETE /v1/organization/memberships/{membershipId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/organization/delete-project.md b/examples/2.0.x/server-rest/examples/organization/delete-project.md index 8bd431a35..5d99f4008 100644 --- a/examples/2.0.x/server-rest/examples/organization/delete-project.md +++ b/examples/2.0.x/server-rest/examples/organization/delete-project.md @@ -2,6 +2,7 @@ DELETE /v1/organization/projects/{projectId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/organization/delete.md b/examples/2.0.x/server-rest/examples/organization/delete.md index 64bbd4903..4ddac7bd1 100644 --- a/examples/2.0.x/server-rest/examples/organization/delete.md +++ b/examples/2.0.x/server-rest/examples/organization/delete.md @@ -2,6 +2,7 @@ DELETE /v1/organization HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/organization/get-project.md b/examples/2.0.x/server-rest/examples/organization/get-project.md index 6e3e80e3b..42b565bb7 100644 --- a/examples/2.0.x/server-rest/examples/organization/get-project.md +++ b/examples/2.0.x/server-rest/examples/organization/get-project.md @@ -1,6 +1,7 @@ ```http GET /v1/organization/projects/{projectId} HTTP/1.1 Host: cloud.appwrite.io +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: ``` diff --git a/examples/2.0.x/server-rest/examples/presences/delete.md b/examples/2.0.x/server-rest/examples/presences/delete.md index 933945dd4..1c5e11458 100644 --- a/examples/2.0.x/server-rest/examples/presences/delete.md +++ b/examples/2.0.x/server-rest/examples/presences/delete.md @@ -2,6 +2,7 @@ DELETE /v1/presences/{presenceId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/project/create-smtp-test.md b/examples/2.0.x/server-rest/examples/project/create-smtp-test.md index 57498a09c..5b35d886c 100644 --- a/examples/2.0.x/server-rest/examples/project/create-smtp-test.md +++ b/examples/2.0.x/server-rest/examples/project/create-smtp-test.md @@ -2,6 +2,7 @@ POST /v1/project/smtp/tests HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/project/delete-key.md b/examples/2.0.x/server-rest/examples/project/delete-key.md index 2fb1e7847..a3fffd77d 100644 --- a/examples/2.0.x/server-rest/examples/project/delete-key.md +++ b/examples/2.0.x/server-rest/examples/project/delete-key.md @@ -2,6 +2,7 @@ DELETE /v1/project/keys/{keyId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/project/delete-mock-phone.md b/examples/2.0.x/server-rest/examples/project/delete-mock-phone.md index 03fd7afdc..2268f0e74 100644 --- a/examples/2.0.x/server-rest/examples/project/delete-mock-phone.md +++ b/examples/2.0.x/server-rest/examples/project/delete-mock-phone.md @@ -2,6 +2,7 @@ DELETE /v1/project/mock-phones/{number} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/project/delete-platform.md b/examples/2.0.x/server-rest/examples/project/delete-platform.md index 05493da85..e6f809de3 100644 --- a/examples/2.0.x/server-rest/examples/project/delete-platform.md +++ b/examples/2.0.x/server-rest/examples/project/delete-platform.md @@ -2,6 +2,7 @@ DELETE /v1/project/platforms/{platformId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/project/delete-variable.md b/examples/2.0.x/server-rest/examples/project/delete-variable.md index e94cfaf6c..6f42f2979 100644 --- a/examples/2.0.x/server-rest/examples/project/delete-variable.md +++ b/examples/2.0.x/server-rest/examples/project/delete-variable.md @@ -2,6 +2,7 @@ DELETE /v1/project/variables/{variableId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/project/delete.md b/examples/2.0.x/server-rest/examples/project/delete.md index 88943ee25..30a57e725 100644 --- a/examples/2.0.x/server-rest/examples/project/delete.md +++ b/examples/2.0.x/server-rest/examples/project/delete.md @@ -2,6 +2,7 @@ DELETE /v1/project HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/project/get.md b/examples/2.0.x/server-rest/examples/project/get.md index bd250317f..725eafbc2 100644 --- a/examples/2.0.x/server-rest/examples/project/get.md +++ b/examples/2.0.x/server-rest/examples/project/get.md @@ -1,6 +1,7 @@ ```http GET /v1/project HTTP/1.1 Host: cloud.appwrite.io +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: ``` diff --git a/examples/2.0.x/server-rest/examples/project/update-o-auth-2-kakao.md b/examples/2.0.x/server-rest/examples/project/update-o-auth-2-kakao.md new file mode 100644 index 000000000..d838d1fee --- /dev/null +++ b/examples/2.0.x/server-rest/examples/project/update-o-auth-2-kakao.md @@ -0,0 +1,14 @@ +```http +PATCH /v1/project/oauth2/kakao HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +Accept: application/json +X-Appwrite-Response-Format: 2.0.0 +X-Appwrite-Project: + +{ + "clientId": "", + "clientSecret": "", + "enabled": false +} +``` diff --git a/examples/2.0.x/server-rest/examples/project/update-o-auth-2-tik-tok.md b/examples/2.0.x/server-rest/examples/project/update-o-auth-2-tik-tok.md new file mode 100644 index 000000000..dc83e47df --- /dev/null +++ b/examples/2.0.x/server-rest/examples/project/update-o-auth-2-tik-tok.md @@ -0,0 +1,14 @@ +```http +PATCH /v1/project/oauth2/tiktok HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +Accept: application/json +X-Appwrite-Response-Format: 2.0.0 +X-Appwrite-Project: + +{ + "clientId": "", + "clientSecret": "", + "enabled": false +} +``` diff --git a/examples/2.0.x/server-rest/examples/proxy/delete-rule.md b/examples/2.0.x/server-rest/examples/proxy/delete-rule.md index 9f7486203..284f0c4a9 100644 --- a/examples/2.0.x/server-rest/examples/proxy/delete-rule.md +++ b/examples/2.0.x/server-rest/examples/proxy/delete-rule.md @@ -2,6 +2,7 @@ DELETE /v1/proxy/rules/{ruleId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/sites/delete-deployment.md b/examples/2.0.x/server-rest/examples/sites/delete-deployment.md index cba444ddc..7bb21f3d8 100644 --- a/examples/2.0.x/server-rest/examples/sites/delete-deployment.md +++ b/examples/2.0.x/server-rest/examples/sites/delete-deployment.md @@ -2,6 +2,7 @@ DELETE /v1/sites/{siteId}/deployments/{deploymentId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/sites/delete-variable.md b/examples/2.0.x/server-rest/examples/sites/delete-variable.md index 5f272d443..b4347c0c1 100644 --- a/examples/2.0.x/server-rest/examples/sites/delete-variable.md +++ b/examples/2.0.x/server-rest/examples/sites/delete-variable.md @@ -2,6 +2,7 @@ DELETE /v1/sites/{siteId}/variables/{variableId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/sites/delete.md b/examples/2.0.x/server-rest/examples/sites/delete.md index af2058f55..56db573be 100644 --- a/examples/2.0.x/server-rest/examples/sites/delete.md +++ b/examples/2.0.x/server-rest/examples/sites/delete.md @@ -2,6 +2,7 @@ DELETE /v1/sites/{siteId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/storage/delete-bucket.md b/examples/2.0.x/server-rest/examples/storage/delete-bucket.md index 8c3206096..8453b0650 100644 --- a/examples/2.0.x/server-rest/examples/storage/delete-bucket.md +++ b/examples/2.0.x/server-rest/examples/storage/delete-bucket.md @@ -2,6 +2,7 @@ DELETE /v1/storage/buckets/{bucketId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/storage/delete-file.md b/examples/2.0.x/server-rest/examples/storage/delete-file.md index b39bc4e41..b7234b11a 100644 --- a/examples/2.0.x/server-rest/examples/storage/delete-file.md +++ b/examples/2.0.x/server-rest/examples/storage/delete-file.md @@ -2,6 +2,7 @@ DELETE /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/tablesdb/delete-column.md b/examples/2.0.x/server-rest/examples/tablesdb/delete-column.md index 8990d3547..ec65db7dc 100644 --- a/examples/2.0.x/server-rest/examples/tablesdb/delete-column.md +++ b/examples/2.0.x/server-rest/examples/tablesdb/delete-column.md @@ -2,6 +2,7 @@ DELETE /v1/tablesdb/{databaseId}/tables/{tableId}/columns/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/tablesdb/delete-index.md b/examples/2.0.x/server-rest/examples/tablesdb/delete-index.md index f10e36757..36aeb6a5e 100644 --- a/examples/2.0.x/server-rest/examples/tablesdb/delete-index.md +++ b/examples/2.0.x/server-rest/examples/tablesdb/delete-index.md @@ -2,6 +2,7 @@ DELETE /v1/tablesdb/{databaseId}/tables/{tableId}/indexes/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/tablesdb/delete-row.md b/examples/2.0.x/server-rest/examples/tablesdb/delete-row.md index 92055773a..670b494df 100644 --- a/examples/2.0.x/server-rest/examples/tablesdb/delete-row.md +++ b/examples/2.0.x/server-rest/examples/tablesdb/delete-row.md @@ -2,6 +2,7 @@ DELETE /v1/tablesdb/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/tablesdb/delete-table.md b/examples/2.0.x/server-rest/examples/tablesdb/delete-table.md index 205a6e2cc..d2c458bfa 100644 --- a/examples/2.0.x/server-rest/examples/tablesdb/delete-table.md +++ b/examples/2.0.x/server-rest/examples/tablesdb/delete-table.md @@ -2,6 +2,7 @@ DELETE /v1/tablesdb/{databaseId}/tables/{tableId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/tablesdb/delete-transaction.md b/examples/2.0.x/server-rest/examples/tablesdb/delete-transaction.md index cb4f8e8c5..b547c86cd 100644 --- a/examples/2.0.x/server-rest/examples/tablesdb/delete-transaction.md +++ b/examples/2.0.x/server-rest/examples/tablesdb/delete-transaction.md @@ -2,6 +2,7 @@ DELETE /v1/tablesdb/transactions/{transactionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/tablesdb/delete.md b/examples/2.0.x/server-rest/examples/tablesdb/delete.md index a7bb5d7f4..0465a1be3 100644 --- a/examples/2.0.x/server-rest/examples/tablesdb/delete.md +++ b/examples/2.0.x/server-rest/examples/tablesdb/delete.md @@ -2,6 +2,7 @@ DELETE /v1/tablesdb/{databaseId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/teams/delete-membership.md b/examples/2.0.x/server-rest/examples/teams/delete-membership.md index 4867caf91..ffaa450b2 100644 --- a/examples/2.0.x/server-rest/examples/teams/delete-membership.md +++ b/examples/2.0.x/server-rest/examples/teams/delete-membership.md @@ -2,6 +2,7 @@ DELETE /v1/teams/{teamId}/memberships/{membershipId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/teams/delete.md b/examples/2.0.x/server-rest/examples/teams/delete.md index 230618bce..dd05c4b14 100644 --- a/examples/2.0.x/server-rest/examples/teams/delete.md +++ b/examples/2.0.x/server-rest/examples/teams/delete.md @@ -2,6 +2,7 @@ DELETE /v1/teams/{teamId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/tokens/delete.md b/examples/2.0.x/server-rest/examples/tokens/delete.md index ac054cfb5..7f5bd8989 100644 --- a/examples/2.0.x/server-rest/examples/tokens/delete.md +++ b/examples/2.0.x/server-rest/examples/tokens/delete.md @@ -2,6 +2,7 @@ DELETE /v1/tokens/{tokenId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/users/delete-identity.md b/examples/2.0.x/server-rest/examples/users/delete-identity.md index 25adb4cae..aeb786725 100644 --- a/examples/2.0.x/server-rest/examples/users/delete-identity.md +++ b/examples/2.0.x/server-rest/examples/users/delete-identity.md @@ -2,6 +2,7 @@ DELETE /v1/users/identities/{identityId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/users/delete-mfa-authenticator.md b/examples/2.0.x/server-rest/examples/users/delete-mfa-authenticator.md index e8eb10110..8b6903663 100644 --- a/examples/2.0.x/server-rest/examples/users/delete-mfa-authenticator.md +++ b/examples/2.0.x/server-rest/examples/users/delete-mfa-authenticator.md @@ -2,6 +2,7 @@ DELETE /v1/users/{userId}/mfa/authenticators/{type} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/users/delete-session.md b/examples/2.0.x/server-rest/examples/users/delete-session.md index ffd162a08..ea8a0ffc0 100644 --- a/examples/2.0.x/server-rest/examples/users/delete-session.md +++ b/examples/2.0.x/server-rest/examples/users/delete-session.md @@ -2,6 +2,7 @@ DELETE /v1/users/{userId}/sessions/{sessionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/users/delete-sessions.md b/examples/2.0.x/server-rest/examples/users/delete-sessions.md index 188fae004..fe507fb90 100644 --- a/examples/2.0.x/server-rest/examples/users/delete-sessions.md +++ b/examples/2.0.x/server-rest/examples/users/delete-sessions.md @@ -2,6 +2,7 @@ DELETE /v1/users/{userId}/sessions HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/users/delete-target.md b/examples/2.0.x/server-rest/examples/users/delete-target.md index 2e1945c07..8787dbc86 100644 --- a/examples/2.0.x/server-rest/examples/users/delete-target.md +++ b/examples/2.0.x/server-rest/examples/users/delete-target.md @@ -2,6 +2,7 @@ DELETE /v1/users/{userId}/targets/{targetId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/users/delete.md b/examples/2.0.x/server-rest/examples/users/delete.md index d68ac8ea7..df1f83bbb 100644 --- a/examples/2.0.x/server-rest/examples/users/delete.md +++ b/examples/2.0.x/server-rest/examples/users/delete.md @@ -2,6 +2,7 @@ DELETE /v1/users/{userId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/vectorsdb/delete-collection.md b/examples/2.0.x/server-rest/examples/vectorsdb/delete-collection.md index eeb98927e..fd293b502 100644 --- a/examples/2.0.x/server-rest/examples/vectorsdb/delete-collection.md +++ b/examples/2.0.x/server-rest/examples/vectorsdb/delete-collection.md @@ -2,6 +2,7 @@ DELETE /v1/vectorsdb/{databaseId}/collections/{collectionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/vectorsdb/delete-document.md b/examples/2.0.x/server-rest/examples/vectorsdb/delete-document.md index 6380db120..0ace34914 100644 --- a/examples/2.0.x/server-rest/examples/vectorsdb/delete-document.md +++ b/examples/2.0.x/server-rest/examples/vectorsdb/delete-document.md @@ -2,6 +2,7 @@ DELETE /v1/vectorsdb/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/vectorsdb/delete-index.md b/examples/2.0.x/server-rest/examples/vectorsdb/delete-index.md index 7275a1cbc..127bc3ffb 100644 --- a/examples/2.0.x/server-rest/examples/vectorsdb/delete-index.md +++ b/examples/2.0.x/server-rest/examples/vectorsdb/delete-index.md @@ -2,6 +2,7 @@ DELETE /v1/vectorsdb/{databaseId}/collections/{collectionId}/indexes/{key} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/vectorsdb/delete-transaction.md b/examples/2.0.x/server-rest/examples/vectorsdb/delete-transaction.md index 6d65fcf3f..45aa8cadc 100644 --- a/examples/2.0.x/server-rest/examples/vectorsdb/delete-transaction.md +++ b/examples/2.0.x/server-rest/examples/vectorsdb/delete-transaction.md @@ -2,6 +2,7 @@ DELETE /v1/vectorsdb/transactions/{transactionId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/vectorsdb/delete.md b/examples/2.0.x/server-rest/examples/vectorsdb/delete.md index 6c60fcc82..c207b5141 100644 --- a/examples/2.0.x/server-rest/examples/vectorsdb/delete.md +++ b/examples/2.0.x/server-rest/examples/vectorsdb/delete.md @@ -2,6 +2,7 @@ DELETE /v1/vectorsdb/{databaseId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-rest/examples/webhooks/delete.md b/examples/2.0.x/server-rest/examples/webhooks/delete.md index a49d328db..a430df400 100644 --- a/examples/2.0.x/server-rest/examples/webhooks/delete.md +++ b/examples/2.0.x/server-rest/examples/webhooks/delete.md @@ -2,6 +2,7 @@ DELETE /v1/webhooks/{webhookId} HTTP/1.1 Host: cloud.appwrite.io Content-Type: application/json +Accept: application/json X-Appwrite-Response-Format: 2.0.0 X-Appwrite-Project: diff --git a/examples/2.0.x/server-ruby/examples/project/update-o-auth-2-kakao.md b/examples/2.0.x/server-ruby/examples/project/update-o-auth-2-kakao.md new file mode 100644 index 000000000..53b6a10af --- /dev/null +++ b/examples/2.0.x/server-ruby/examples/project/update-o-auth-2-kakao.md @@ -0,0 +1,18 @@ +```ruby +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +project = Project.new(client) + +result = project.update_o_auth2_kakao( + client_id: '', # optional + client_secret: '', # optional + enabled: false # optional +) +``` diff --git a/examples/2.0.x/server-ruby/examples/project/update-o-auth-2-tik-tok.md b/examples/2.0.x/server-ruby/examples/project/update-o-auth-2-tik-tok.md new file mode 100644 index 000000000..36b8ceeac --- /dev/null +++ b/examples/2.0.x/server-ruby/examples/project/update-o-auth-2-tik-tok.md @@ -0,0 +1,18 @@ +```ruby +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +project = Project.new(client) + +result = project.update_o_auth2_tik_tok( + client_id: '', # optional + client_secret: '', # optional + enabled: false # optional +) +``` diff --git a/examples/2.0.x/server-rust/examples/account/delete-consent-token.md b/examples/2.0.x/server-rust/examples/account/delete-consent-token.md index a6f2987bd..6314ff5bf 100644 --- a/examples/2.0.x/server-rust/examples/account/delete-consent-token.md +++ b/examples/2.0.x/server-rust/examples/account/delete-consent-token.md @@ -11,13 +11,11 @@ async fn main() -> Result<(), Box> { let account = Account::new(&client); - let result = account.delete_consent_token( + account.delete_consent_token( "", "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/account/delete-consent.md b/examples/2.0.x/server-rust/examples/account/delete-consent.md index 084f1c6f4..c850bcd79 100644 --- a/examples/2.0.x/server-rust/examples/account/delete-consent.md +++ b/examples/2.0.x/server-rust/examples/account/delete-consent.md @@ -11,12 +11,10 @@ async fn main() -> Result<(), Box> { let account = Account::new(&client); - let result = account.delete_consent( + account.delete_consent( "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/apps/delete-installation.md b/examples/2.0.x/server-rust/examples/apps/delete-installation.md index 320dac452..8abf00147 100644 --- a/examples/2.0.x/server-rust/examples/apps/delete-installation.md +++ b/examples/2.0.x/server-rust/examples/apps/delete-installation.md @@ -11,13 +11,11 @@ async fn main() -> Result<(), Box> { let apps = Apps::new(&client); - let result = apps.delete_installation( + apps.delete_installation( "", "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/apps/delete-key.md b/examples/2.0.x/server-rust/examples/apps/delete-key.md index 1d3bf370b..2b3c9ae84 100644 --- a/examples/2.0.x/server-rust/examples/apps/delete-key.md +++ b/examples/2.0.x/server-rust/examples/apps/delete-key.md @@ -11,13 +11,11 @@ async fn main() -> Result<(), Box> { let apps = Apps::new(&client); - let result = apps.delete_key( + apps.delete_key( "", "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/apps/delete-secret.md b/examples/2.0.x/server-rust/examples/apps/delete-secret.md index 1fa363ccf..86ba5da09 100644 --- a/examples/2.0.x/server-rust/examples/apps/delete-secret.md +++ b/examples/2.0.x/server-rust/examples/apps/delete-secret.md @@ -11,13 +11,11 @@ async fn main() -> Result<(), Box> { let apps = Apps::new(&client); - let result = apps.delete_secret( + apps.delete_secret( "", "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/apps/delete-tokens.md b/examples/2.0.x/server-rust/examples/apps/delete-tokens.md index febc173e7..dc7104592 100644 --- a/examples/2.0.x/server-rust/examples/apps/delete-tokens.md +++ b/examples/2.0.x/server-rust/examples/apps/delete-tokens.md @@ -11,12 +11,10 @@ async fn main() -> Result<(), Box> { let apps = Apps::new(&client); - let result = apps.delete_tokens( + apps.delete_tokens( "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/apps/delete.md b/examples/2.0.x/server-rust/examples/apps/delete.md index 84d8cfd72..ab57e98d1 100644 --- a/examples/2.0.x/server-rust/examples/apps/delete.md +++ b/examples/2.0.x/server-rust/examples/apps/delete.md @@ -11,12 +11,10 @@ async fn main() -> Result<(), Box> { let apps = Apps::new(&client); - let result = apps.delete( + apps.delete( "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/backups/delete-archive.md b/examples/2.0.x/server-rust/examples/backups/delete-archive.md index d75868a22..5929752f9 100644 --- a/examples/2.0.x/server-rust/examples/backups/delete-archive.md +++ b/examples/2.0.x/server-rust/examples/backups/delete-archive.md @@ -11,12 +11,10 @@ async fn main() -> Result<(), Box> { let backups = Backups::new(&client); - let result = backups.delete_archive( + backups.delete_archive( "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/backups/delete-policy.md b/examples/2.0.x/server-rust/examples/backups/delete-policy.md index 05e44f4d8..2368cc217 100644 --- a/examples/2.0.x/server-rust/examples/backups/delete-policy.md +++ b/examples/2.0.x/server-rust/examples/backups/delete-policy.md @@ -11,12 +11,10 @@ async fn main() -> Result<(), Box> { let backups = Backups::new(&client); - let result = backups.delete_policy( + backups.delete_policy( "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/mongo/delete-backup-policy.md b/examples/2.0.x/server-rust/examples/mongo/delete-backup-policy.md index 9114d692b..05d5d2337 100644 --- a/examples/2.0.x/server-rust/examples/mongo/delete-backup-policy.md +++ b/examples/2.0.x/server-rust/examples/mongo/delete-backup-policy.md @@ -11,13 +11,11 @@ async fn main() -> Result<(), Box> { let mongo = Mongo::new(&client); - let result = mongo.delete_backup_policy( + mongo.delete_backup_policy( "", "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/mongo/delete-backup.md b/examples/2.0.x/server-rust/examples/mongo/delete-backup.md index d596d401c..b992f13ec 100644 --- a/examples/2.0.x/server-rust/examples/mongo/delete-backup.md +++ b/examples/2.0.x/server-rust/examples/mongo/delete-backup.md @@ -11,13 +11,11 @@ async fn main() -> Result<(), Box> { let mongo = Mongo::new(&client); - let result = mongo.delete_backup( + mongo.delete_backup( "", "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/mongo/delete.md b/examples/2.0.x/server-rust/examples/mongo/delete.md index 777f2631e..3f9734f11 100644 --- a/examples/2.0.x/server-rust/examples/mongo/delete.md +++ b/examples/2.0.x/server-rust/examples/mongo/delete.md @@ -11,12 +11,10 @@ async fn main() -> Result<(), Box> { let mongo = Mongo::new(&client); - let result = mongo.delete( + mongo.delete( "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/mysql/delete-backup-policy.md b/examples/2.0.x/server-rust/examples/mysql/delete-backup-policy.md index 39ae07e7d..2e859af83 100644 --- a/examples/2.0.x/server-rust/examples/mysql/delete-backup-policy.md +++ b/examples/2.0.x/server-rust/examples/mysql/delete-backup-policy.md @@ -11,13 +11,11 @@ async fn main() -> Result<(), Box> { let mysql = Mysql::new(&client); - let result = mysql.delete_backup_policy( + mysql.delete_backup_policy( "", "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/mysql/delete-backup.md b/examples/2.0.x/server-rust/examples/mysql/delete-backup.md index 2e0b9319f..40b6302cb 100644 --- a/examples/2.0.x/server-rust/examples/mysql/delete-backup.md +++ b/examples/2.0.x/server-rust/examples/mysql/delete-backup.md @@ -11,13 +11,11 @@ async fn main() -> Result<(), Box> { let mysql = Mysql::new(&client); - let result = mysql.delete_backup( + mysql.delete_backup( "", "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/mysql/delete.md b/examples/2.0.x/server-rust/examples/mysql/delete.md index db5d33223..ab8b4b924 100644 --- a/examples/2.0.x/server-rust/examples/mysql/delete.md +++ b/examples/2.0.x/server-rust/examples/mysql/delete.md @@ -11,12 +11,10 @@ async fn main() -> Result<(), Box> { let mysql = Mysql::new(&client); - let result = mysql.delete( + mysql.delete( "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/organization/delete-installation.md b/examples/2.0.x/server-rust/examples/organization/delete-installation.md index d4cb99d7d..af3dc97a0 100644 --- a/examples/2.0.x/server-rust/examples/organization/delete-installation.md +++ b/examples/2.0.x/server-rust/examples/organization/delete-installation.md @@ -11,12 +11,10 @@ async fn main() -> Result<(), Box> { let organization = Organization::new(&client); - let result = organization.delete_installation( + organization.delete_installation( "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/postgresql/delete-backup-policy.md b/examples/2.0.x/server-rust/examples/postgresql/delete-backup-policy.md index 13626353c..4eeef5525 100644 --- a/examples/2.0.x/server-rust/examples/postgresql/delete-backup-policy.md +++ b/examples/2.0.x/server-rust/examples/postgresql/delete-backup-policy.md @@ -11,13 +11,11 @@ async fn main() -> Result<(), Box> { let postgresql = Postgresql::new(&client); - let result = postgresql.delete_backup_policy( + postgresql.delete_backup_policy( "", "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/postgresql/delete-backup.md b/examples/2.0.x/server-rust/examples/postgresql/delete-backup.md index f30ba45da..f5ba8fd1a 100644 --- a/examples/2.0.x/server-rust/examples/postgresql/delete-backup.md +++ b/examples/2.0.x/server-rust/examples/postgresql/delete-backup.md @@ -11,13 +11,11 @@ async fn main() -> Result<(), Box> { let postgresql = Postgresql::new(&client); - let result = postgresql.delete_backup( + postgresql.delete_backup( "", "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/postgresql/delete.md b/examples/2.0.x/server-rust/examples/postgresql/delete.md index 4d9207e6e..8a966ce8c 100644 --- a/examples/2.0.x/server-rust/examples/postgresql/delete.md +++ b/examples/2.0.x/server-rust/examples/postgresql/delete.md @@ -11,12 +11,10 @@ async fn main() -> Result<(), Box> { let postgresql = Postgresql::new(&client); - let result = postgresql.delete( + postgresql.delete( "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/project/update-o-auth-2-kakao.md b/examples/2.0.x/server-rust/examples/project/update-o-auth-2-kakao.md new file mode 100644 index 000000000..a4f075cc9 --- /dev/null +++ b/examples/2.0.x/server-rust/examples/project/update-o-auth-2-kakao.md @@ -0,0 +1,24 @@ +```rust +use appwrite::Client; +use appwrite::services::Project; + +#[tokio::main] +async fn main() -> Result<(), Box> { + let client = Client::new(); + client.set_endpoint("https://.cloud.appwrite.io/v1"); // Your API Endpoint + client.set_project(""); // Your project ID + client.set_key(""); // Your secret API key + + let project = Project::new(&client); + + let result = project.update_o_auth2_kakao( + Some(""), // optional + Some(""), // optional + Some(false) // optional + ).await?; + + let _ = result; + + Ok(()) +} +``` diff --git a/examples/2.0.x/server-rust/examples/project/update-o-auth-2-tik-tok.md b/examples/2.0.x/server-rust/examples/project/update-o-auth-2-tik-tok.md new file mode 100644 index 000000000..8eec70c25 --- /dev/null +++ b/examples/2.0.x/server-rust/examples/project/update-o-auth-2-tik-tok.md @@ -0,0 +1,24 @@ +```rust +use appwrite::Client; +use appwrite::services::Project; + +#[tokio::main] +async fn main() -> Result<(), Box> { + let client = Client::new(); + client.set_endpoint("https://.cloud.appwrite.io/v1"); // Your API Endpoint + client.set_project(""); // Your project ID + client.set_key(""); // Your secret API key + + let project = Project::new(&client); + + let result = project.update_o_auth2_tik_tok( + Some(""), // optional + Some(""), // optional + Some(false) // optional + ).await?; + + let _ = result; + + Ok(()) +} +``` diff --git a/examples/2.0.x/server-rust/examples/sites/delete-log.md b/examples/2.0.x/server-rust/examples/sites/delete-log.md index 7e5d91586..d837d4edc 100644 --- a/examples/2.0.x/server-rust/examples/sites/delete-log.md +++ b/examples/2.0.x/server-rust/examples/sites/delete-log.md @@ -11,13 +11,11 @@ async fn main() -> Result<(), Box> { let sites = Sites::new(&client); - let result = sites.delete_log( + sites.delete_log( "", "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/tablesdb/delete-migration.md b/examples/2.0.x/server-rust/examples/tablesdb/delete-migration.md index 36606d660..d3ebd3de3 100644 --- a/examples/2.0.x/server-rust/examples/tablesdb/delete-migration.md +++ b/examples/2.0.x/server-rust/examples/tablesdb/delete-migration.md @@ -11,13 +11,11 @@ async fn main() -> Result<(), Box> { let tables_db = TablesDB::new(&client); - let result = tables_db.delete_migration( + tables_db.delete_migration( "", "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-rust/examples/teams/delete-installation.md b/examples/2.0.x/server-rust/examples/teams/delete-installation.md index b635b1427..6af98a554 100644 --- a/examples/2.0.x/server-rust/examples/teams/delete-installation.md +++ b/examples/2.0.x/server-rust/examples/teams/delete-installation.md @@ -11,13 +11,11 @@ async fn main() -> Result<(), Box> { let teams = Teams::new(&client); - let result = teams.delete_installation( + teams.delete_installation( "", "" ).await?; - let _ = result; - Ok(()) } ``` diff --git a/examples/2.0.x/server-swift/examples/databases/create-enum-attribute.md b/examples/2.0.x/server-swift/examples/databases/create-enum-attribute.md index 71303a7a7..7f8c7e4d2 100644 --- a/examples/2.0.x/server-swift/examples/databases/create-enum-attribute.md +++ b/examples/2.0.x/server-swift/examples/databases/create-enum-attribute.md @@ -12,7 +12,10 @@ let attributeEnum = try await databases.createEnumAttribute( databaseId: "", collectionId: "", key: "", - elements: ["active", "inactive"], + elements: [ + "active", + "inactive" + ], required: false, default: "active", // optional array: false // optional diff --git a/examples/2.0.x/server-swift/examples/databases/create-line-attribute.md b/examples/2.0.x/server-swift/examples/databases/create-line-attribute.md index b37e11485..af55d16e4 100644 --- a/examples/2.0.x/server-swift/examples/databases/create-line-attribute.md +++ b/examples/2.0.x/server-swift/examples/databases/create-line-attribute.md @@ -13,7 +13,20 @@ let attributeLine = try await databases.createLineAttribute( collectionId: "", key: "", required: false, - default: [[1, 2], [3, 4], [5, 6]] // optional + default: [ + [ + 1, + 2 + ], + [ + 3, + 4 + ], + [ + 5, + 6 + ] + ] // optional ) ``` diff --git a/examples/2.0.x/server-swift/examples/databases/create-operations.md b/examples/2.0.x/server-swift/examples/databases/create-operations.md index dd2f77333..7257cc83a 100644 --- a/examples/2.0.x/server-swift/examples/databases/create-operations.md +++ b/examples/2.0.x/server-swift/examples/databases/create-operations.md @@ -11,16 +11,16 @@ let databases = Databases(client) let transaction = try await databases.createOperations( transactionId: "", operations: [ - { - "action": "create", - "databaseId": "", - "collectionId": "", - "documentId": "", - "data": { - "name": "Walter O'Brien" - } - } - ] // optional + [ + "action": "create", + "databaseId": "", + "collectionId": "", + "documentId": "", + "data": [ + "name": "Walter O'Brien" + ] + ] + ] // optional ) ``` diff --git a/examples/2.0.x/server-swift/examples/databases/create-point-attribute.md b/examples/2.0.x/server-swift/examples/databases/create-point-attribute.md index 414daa6f6..b3f70cf1c 100644 --- a/examples/2.0.x/server-swift/examples/databases/create-point-attribute.md +++ b/examples/2.0.x/server-swift/examples/databases/create-point-attribute.md @@ -13,7 +13,10 @@ let attributePoint = try await databases.createPointAttribute( collectionId: "", key: "", required: false, - default: [1, 2] // optional + default: [ + 1, + 2 + ] // optional ) ``` diff --git a/examples/2.0.x/server-swift/examples/databases/create-polygon-attribute.md b/examples/2.0.x/server-swift/examples/databases/create-polygon-attribute.md index 2499711f0..03f00ac22 100644 --- a/examples/2.0.x/server-swift/examples/databases/create-polygon-attribute.md +++ b/examples/2.0.x/server-swift/examples/databases/create-polygon-attribute.md @@ -13,7 +13,26 @@ let attributePolygon = try await databases.createPolygonAttribute( collectionId: "", key: "", required: false, - default: [[[1, 2], [3, 4], [5, 6], [1, 2]]] // optional + default: [ + [ + [ + 1, + 2 + ], + [ + 3, + 4 + ], + [ + 5, + 6 + ], + [ + 1, + 2 + ] + ] + ] // optional ) ``` diff --git a/examples/2.0.x/server-swift/examples/databases/update-enum-attribute.md b/examples/2.0.x/server-swift/examples/databases/update-enum-attribute.md index 94dfdac8e..57d2dc49d 100644 --- a/examples/2.0.x/server-swift/examples/databases/update-enum-attribute.md +++ b/examples/2.0.x/server-swift/examples/databases/update-enum-attribute.md @@ -12,7 +12,10 @@ let attributeEnum = try await databases.updateEnumAttribute( databaseId: "", collectionId: "", key: "", - elements: ["active", "inactive"], + elements: [ + "active", + "inactive" + ], required: false, default: "active", newKey: "" // optional diff --git a/examples/2.0.x/server-swift/examples/databases/update-line-attribute.md b/examples/2.0.x/server-swift/examples/databases/update-line-attribute.md index e402dc7d9..fae9572f6 100644 --- a/examples/2.0.x/server-swift/examples/databases/update-line-attribute.md +++ b/examples/2.0.x/server-swift/examples/databases/update-line-attribute.md @@ -13,7 +13,20 @@ let attributeLine = try await databases.updateLineAttribute( collectionId: "", key: "", required: false, - default: [[1, 2], [3, 4], [5, 6]], // optional + default: [ + [ + 1, + 2 + ], + [ + 3, + 4 + ], + [ + 5, + 6 + ] + ], // optional newKey: "" // optional ) diff --git a/examples/2.0.x/server-swift/examples/databases/update-point-attribute.md b/examples/2.0.x/server-swift/examples/databases/update-point-attribute.md index 3e035787a..029c98d4c 100644 --- a/examples/2.0.x/server-swift/examples/databases/update-point-attribute.md +++ b/examples/2.0.x/server-swift/examples/databases/update-point-attribute.md @@ -13,7 +13,10 @@ let attributePoint = try await databases.updatePointAttribute( collectionId: "", key: "", required: false, - default: [1, 2], // optional + default: [ + 1, + 2 + ], // optional newKey: "" // optional ) diff --git a/examples/2.0.x/server-swift/examples/databases/update-polygon-attribute.md b/examples/2.0.x/server-swift/examples/databases/update-polygon-attribute.md index 9f298868d..a712e4df4 100644 --- a/examples/2.0.x/server-swift/examples/databases/update-polygon-attribute.md +++ b/examples/2.0.x/server-swift/examples/databases/update-polygon-attribute.md @@ -13,7 +13,26 @@ let attributePolygon = try await databases.updatePolygonAttribute( collectionId: "", key: "", required: false, - default: [[[1, 2], [3, 4], [5, 6], [1, 2]]], // optional + default: [ + [ + [ + 1, + 2 + ], + [ + 3, + 4 + ], + [ + 5, + 6 + ], + [ + 1, + 2 + ] + ] + ], // optional newKey: "" // optional ) diff --git a/examples/2.0.x/server-swift/examples/documentsdb/create-operations.md b/examples/2.0.x/server-swift/examples/documentsdb/create-operations.md index 2e256c685..8e5cdebeb 100644 --- a/examples/2.0.x/server-swift/examples/documentsdb/create-operations.md +++ b/examples/2.0.x/server-swift/examples/documentsdb/create-operations.md @@ -11,16 +11,16 @@ let documentsDB = DocumentsDB(client) let transaction = try await documentsDB.createOperations( transactionId: "", operations: [ - { - "action": "create", - "databaseId": "", - "collectionId": "", - "documentId": "", - "data": { - "name": "Walter O'Brien" - } - } - ] // optional + [ + "action": "create", + "databaseId": "", + "collectionId": "", + "documentId": "", + "data": [ + "name": "Walter O'Brien" + ] + ] + ] // optional ) ``` diff --git a/examples/2.0.x/server-swift/examples/functions/create.md b/examples/2.0.x/server-swift/examples/functions/create.md index 0b3e08d6a..a6cc75278 100644 --- a/examples/2.0.x/server-swift/examples/functions/create.md +++ b/examples/2.0.x/server-swift/examples/functions/create.md @@ -13,7 +13,9 @@ let function = try await functions.create( functionId: "", name: "", runtime: .node145, - execute: ["any"], // optional + execute: [ + "any" + ], // optional events: [], // optional schedule: "0 0 * * *", // optional timeout: 1, // optional diff --git a/examples/2.0.x/server-swift/examples/functions/update.md b/examples/2.0.x/server-swift/examples/functions/update.md index 37a471e1e..2e6e5695c 100644 --- a/examples/2.0.x/server-swift/examples/functions/update.md +++ b/examples/2.0.x/server-swift/examples/functions/update.md @@ -13,7 +13,9 @@ let function = try await functions.update( functionId: "", name: "", runtime: .node145, // optional - execute: ["any"], // optional + execute: [ + "any" + ], // optional events: [], // optional schedule: "0 0 * * *", // optional timeout: 1, // optional diff --git a/examples/2.0.x/server-swift/examples/messaging/create-topic.md b/examples/2.0.x/server-swift/examples/messaging/create-topic.md index 73abd57a5..78571b57a 100644 --- a/examples/2.0.x/server-swift/examples/messaging/create-topic.md +++ b/examples/2.0.x/server-swift/examples/messaging/create-topic.md @@ -11,7 +11,9 @@ let messaging = Messaging(client) let topic = try await messaging.createTopic( topicId: "", name: "", - subscribe: ["any"] // optional + subscribe: [ + "any" + ] // optional ) ``` diff --git a/examples/2.0.x/server-swift/examples/messaging/update-topic.md b/examples/2.0.x/server-swift/examples/messaging/update-topic.md index 4a3cf737f..ba7a86882 100644 --- a/examples/2.0.x/server-swift/examples/messaging/update-topic.md +++ b/examples/2.0.x/server-swift/examples/messaging/update-topic.md @@ -11,7 +11,9 @@ let messaging = Messaging(client) let topic = try await messaging.updateTopic( topicId: "", name: "", // optional - subscribe: ["any"] // optional + subscribe: [ + "any" + ] // optional ) ``` diff --git a/examples/2.0.x/server-swift/examples/project/update-o-auth-2-kakao.md b/examples/2.0.x/server-swift/examples/project/update-o-auth-2-kakao.md new file mode 100644 index 000000000..d28b0dbe7 --- /dev/null +++ b/examples/2.0.x/server-swift/examples/project/update-o-auth-2-kakao.md @@ -0,0 +1,17 @@ +```swift +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let project = Project(client) + +let oAuth2Kakao = try await project.updateOAuth2Kakao( + clientId: "", // optional + clientSecret: "", // optional + enabled: false // optional +) + +``` diff --git a/examples/2.0.x/server-swift/examples/project/update-o-auth-2-tik-tok.md b/examples/2.0.x/server-swift/examples/project/update-o-auth-2-tik-tok.md new file mode 100644 index 000000000..526b5b696 --- /dev/null +++ b/examples/2.0.x/server-swift/examples/project/update-o-auth-2-tik-tok.md @@ -0,0 +1,17 @@ +```swift +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let project = Project(client) + +let oAuth2TikTok = try await project.updateOAuth2TikTok( + clientId: "", // optional + clientSecret: "", // optional + enabled: false // optional +) + +``` diff --git a/examples/2.0.x/server-swift/examples/tablesdb/create-enum-column.md b/examples/2.0.x/server-swift/examples/tablesdb/create-enum-column.md index 277e46b9d..f99c30e58 100644 --- a/examples/2.0.x/server-swift/examples/tablesdb/create-enum-column.md +++ b/examples/2.0.x/server-swift/examples/tablesdb/create-enum-column.md @@ -12,7 +12,10 @@ let columnEnum = try await tablesDB.createEnumColumn( databaseId: "", tableId: "", key: "", - elements: ["active", "inactive"], + elements: [ + "active", + "inactive" + ], required: false, default: "active", // optional array: false // optional diff --git a/examples/2.0.x/server-swift/examples/tablesdb/create-line-column.md b/examples/2.0.x/server-swift/examples/tablesdb/create-line-column.md index f62782d67..174a85964 100644 --- a/examples/2.0.x/server-swift/examples/tablesdb/create-line-column.md +++ b/examples/2.0.x/server-swift/examples/tablesdb/create-line-column.md @@ -13,7 +13,20 @@ let columnLine = try await tablesDB.createLineColumn( tableId: "", key: "", required: false, - default: [[1, 2], [3, 4], [5, 6]] // optional + default: [ + [ + 1, + 2 + ], + [ + 3, + 4 + ], + [ + 5, + 6 + ] + ] // optional ) ``` diff --git a/examples/2.0.x/server-swift/examples/tablesdb/create-operations.md b/examples/2.0.x/server-swift/examples/tablesdb/create-operations.md index 3f673a5b4..2117beedf 100644 --- a/examples/2.0.x/server-swift/examples/tablesdb/create-operations.md +++ b/examples/2.0.x/server-swift/examples/tablesdb/create-operations.md @@ -11,16 +11,16 @@ let tablesDB = TablesDB(client) let transaction = try await tablesDB.createOperations( transactionId: "", operations: [ - { - "action": "create", - "databaseId": "", - "tableId": "", - "rowId": "", - "data": { - "name": "Walter O'Brien" - } - } - ] // optional + [ + "action": "create", + "databaseId": "", + "tableId": "", + "rowId": "", + "data": [ + "name": "Walter O'Brien" + ] + ] + ] // optional ) ``` diff --git a/examples/2.0.x/server-swift/examples/tablesdb/create-point-column.md b/examples/2.0.x/server-swift/examples/tablesdb/create-point-column.md index 091d8fae4..774121ec1 100644 --- a/examples/2.0.x/server-swift/examples/tablesdb/create-point-column.md +++ b/examples/2.0.x/server-swift/examples/tablesdb/create-point-column.md @@ -13,7 +13,10 @@ let columnPoint = try await tablesDB.createPointColumn( tableId: "", key: "", required: false, - default: [1, 2] // optional + default: [ + 1, + 2 + ] // optional ) ``` diff --git a/examples/2.0.x/server-swift/examples/tablesdb/create-polygon-column.md b/examples/2.0.x/server-swift/examples/tablesdb/create-polygon-column.md index 454e8fb8d..057942b0c 100644 --- a/examples/2.0.x/server-swift/examples/tablesdb/create-polygon-column.md +++ b/examples/2.0.x/server-swift/examples/tablesdb/create-polygon-column.md @@ -13,7 +13,26 @@ let columnPolygon = try await tablesDB.createPolygonColumn( tableId: "", key: "", required: false, - default: [[[1, 2], [3, 4], [5, 6], [1, 2]]] // optional + default: [ + [ + [ + 1, + 2 + ], + [ + 3, + 4 + ], + [ + 5, + 6 + ], + [ + 1, + 2 + ] + ] + ] // optional ) ``` diff --git a/examples/2.0.x/server-swift/examples/tablesdb/update-enum-column.md b/examples/2.0.x/server-swift/examples/tablesdb/update-enum-column.md index 764bfc697..310827c63 100644 --- a/examples/2.0.x/server-swift/examples/tablesdb/update-enum-column.md +++ b/examples/2.0.x/server-swift/examples/tablesdb/update-enum-column.md @@ -12,7 +12,10 @@ let columnEnum = try await tablesDB.updateEnumColumn( databaseId: "", tableId: "", key: "", - elements: ["active", "inactive"], + elements: [ + "active", + "inactive" + ], required: false, default: "active", newKey: "" // optional diff --git a/examples/2.0.x/server-swift/examples/tablesdb/update-line-column.md b/examples/2.0.x/server-swift/examples/tablesdb/update-line-column.md index b93956330..0e2f9a646 100644 --- a/examples/2.0.x/server-swift/examples/tablesdb/update-line-column.md +++ b/examples/2.0.x/server-swift/examples/tablesdb/update-line-column.md @@ -13,7 +13,20 @@ let columnLine = try await tablesDB.updateLineColumn( tableId: "", key: "", required: false, - default: [[1, 2], [3, 4], [5, 6]], // optional + default: [ + [ + 1, + 2 + ], + [ + 3, + 4 + ], + [ + 5, + 6 + ] + ], // optional newKey: "" // optional ) diff --git a/examples/2.0.x/server-swift/examples/tablesdb/update-point-column.md b/examples/2.0.x/server-swift/examples/tablesdb/update-point-column.md index 241070a7c..aab1b6646 100644 --- a/examples/2.0.x/server-swift/examples/tablesdb/update-point-column.md +++ b/examples/2.0.x/server-swift/examples/tablesdb/update-point-column.md @@ -13,7 +13,10 @@ let columnPoint = try await tablesDB.updatePointColumn( tableId: "", key: "", required: false, - default: [1, 2], // optional + default: [ + 1, + 2 + ], // optional newKey: "" // optional ) diff --git a/examples/2.0.x/server-swift/examples/tablesdb/update-polygon-column.md b/examples/2.0.x/server-swift/examples/tablesdb/update-polygon-column.md index 95db86fc1..fc45975c8 100644 --- a/examples/2.0.x/server-swift/examples/tablesdb/update-polygon-column.md +++ b/examples/2.0.x/server-swift/examples/tablesdb/update-polygon-column.md @@ -13,7 +13,26 @@ let columnPolygon = try await tablesDB.updatePolygonColumn( tableId: "", key: "", required: false, - default: [[[1, 2], [3, 4], [5, 6], [1, 2]]], // optional + default: [ + [ + [ + 1, + 2 + ], + [ + 3, + 4 + ], + [ + 5, + 6 + ], + [ + 1, + 2 + ] + ] + ], // optional newKey: "" // optional ) diff --git a/examples/2.0.x/server-swift/examples/vectorsdb/create-document.md b/examples/2.0.x/server-swift/examples/vectorsdb/create-document.md index 636f7f24c..7f3740003 100644 --- a/examples/2.0.x/server-swift/examples/vectorsdb/create-document.md +++ b/examples/2.0.x/server-swift/examples/vectorsdb/create-document.md @@ -14,10 +14,10 @@ let document = try await vectorsDB.createDocument( documentId: "", data: [ "embeddings": [ - "0": 0.12, - "1": -0.55, - "2": 0.88, - "3": 1.02 + 0.12, + -0.55, + 0.88, + 1.02 ], "metadata": [ "key": "value" diff --git a/examples/2.0.x/server-swift/examples/vectorsdb/create-operations.md b/examples/2.0.x/server-swift/examples/vectorsdb/create-operations.md index 9f2870646..7e3c4be10 100644 --- a/examples/2.0.x/server-swift/examples/vectorsdb/create-operations.md +++ b/examples/2.0.x/server-swift/examples/vectorsdb/create-operations.md @@ -11,16 +11,16 @@ let vectorsDB = VectorsDB(client) let transaction = try await vectorsDB.createOperations( transactionId: "", operations: [ - { - "action": "create", - "databaseId": "", - "collectionId": "", - "documentId": "", - "data": { - "name": "Walter O'Brien" - } - } - ] // optional + [ + "action": "create", + "databaseId": "", + "collectionId": "", + "documentId": "", + "data": [ + "name": "Walter O'Brien" + ] + ] + ] // optional ) ``` diff --git a/specs/2.0.x/open-api3-2.0.x.json b/specs/2.0.x/open-api3-2.0.x.json index 21c529db2..e91fa64ec 100644 --- a/specs/2.0.x/open-api3-2.0.x.json +++ b/specs/2.0.x/open-api3-2.0.x.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",