From 6f1573855aede4991c213e0392aca07d8484df57 Mon Sep 17 00:00:00 2001
From: loks0n <22452787+loks0n@users.noreply.github.com>
Date: Tue, 1 Oct 2024 21:29:19 +0100
Subject: [PATCH 1/5] fix: multipart testing
---
README.md | 4 +-
.../account/create-email-password-session.md | 4 +-
.../java/account/create-email-token.md | 4 +-
.../java/account/create-magic-u-r-l-token.md | 6 +-
.../java/account/create-o-auth2token.md | 4 +-
.../java/account/create-phone-token.md | 4 +-
docs/examples/java/account/create-recovery.md | 4 +-
docs/examples/java/account/create-session.md | 4 +-
.../java/account/create-verification.md | 2 +-
docs/examples/java/account/create.md | 6 +-
docs/examples/java/account/delete-identity.md | 2 +-
docs/examples/java/account/delete-session.md | 2 +-
docs/examples/java/account/get-session.md | 2 +-
docs/examples/java/account/update-email.md | 4 +-
.../account/update-magic-u-r-l-session.md | 4 +-
.../java/account/update-mfa-authenticator.md | 2 +-
.../java/account/update-mfa-challenge.md | 4 +-
docs/examples/java/account/update-name.md | 2 +-
docs/examples/java/account/update-password.md | 2 +-
.../java/account/update-phone-session.md | 4 +-
.../java/account/update-phone-verification.md | 4 +-
docs/examples/java/account/update-phone.md | 4 +-
docs/examples/java/account/update-recovery.md | 4 +-
docs/examples/java/account/update-session.md | 2 +-
.../java/account/update-verification.md | 4 +-
docs/examples/java/avatars/get-favicon.md | 2 +-
docs/examples/java/avatars/get-image.md | 2 +-
docs/examples/java/avatars/get-initials.md | 2 +-
docs/examples/java/avatars/get-q-r.md | 2 +-
.../databases/create-boolean-attribute.md | 4 +-
.../java/databases/create-collection.md | 6 +-
.../databases/create-datetime-attribute.md | 4 +-
.../java/databases/create-document.md | 6 +-
.../java/databases/create-email-attribute.md | 6 +-
.../java/databases/create-enum-attribute.md | 6 +-
.../java/databases/create-float-attribute.md | 4 +-
docs/examples/java/databases/create-index.md | 4 +-
.../databases/create-integer-attribute.md | 4 +-
.../java/databases/create-ip-attribute.md | 4 +-
.../create-relationship-attribute.md | 6 +-
.../java/databases/create-string-attribute.md | 6 +-
.../java/databases/create-url-attribute.md | 6 +-
docs/examples/java/databases/create.md | 4 +-
.../java/databases/delete-attribute.md | 4 +-
.../java/databases/delete-collection.md | 4 +-
.../java/databases/delete-document.md | 6 +-
docs/examples/java/databases/delete-index.md | 4 +-
docs/examples/java/databases/delete.md | 2 +-
docs/examples/java/databases/get-attribute.md | 4 +-
.../examples/java/databases/get-collection.md | 4 +-
docs/examples/java/databases/get-document.md | 6 +-
docs/examples/java/databases/get-index.md | 4 +-
docs/examples/java/databases/get.md | 2 +-
.../java/databases/list-attributes.md | 4 +-
.../java/databases/list-collections.md | 4 +-
.../examples/java/databases/list-documents.md | 4 +-
docs/examples/java/databases/list-indexes.md | 4 +-
docs/examples/java/databases/list.md | 2 +-
.../databases/update-boolean-attribute.md | 4 +-
.../java/databases/update-collection.md | 6 +-
.../databases/update-datetime-attribute.md | 4 +-
.../java/databases/update-document.md | 6 +-
.../java/databases/update-email-attribute.md | 6 +-
.../java/databases/update-enum-attribute.md | 6 +-
.../java/databases/update-float-attribute.md | 4 +-
.../databases/update-integer-attribute.md | 4 +-
.../java/databases/update-ip-attribute.md | 4 +-
.../update-relationship-attribute.md | 4 +-
.../java/databases/update-string-attribute.md | 6 +-
.../java/databases/update-url-attribute.md | 6 +-
docs/examples/java/databases/update.md | 4 +-
docs/examples/java/functions/create-build.md | 6 +-
.../java/functions/create-deployment.md | 10 +-
.../java/functions/create-execution.md | 6 +-
.../java/functions/create-variable.md | 6 +-
docs/examples/java/functions/create.md | 24 ++--
.../java/functions/delete-deployment.md | 4 +-
.../java/functions/delete-execution.md | 4 +-
.../java/functions/delete-variable.md | 4 +-
docs/examples/java/functions/delete.md | 2 +-
.../java/functions/get-deployment-download.md | 4 +-
.../examples/java/functions/get-deployment.md | 4 +-
docs/examples/java/functions/get-execution.md | 4 +-
docs/examples/java/functions/get-variable.md | 4 +-
docs/examples/java/functions/get.md | 2 +-
.../java/functions/list-deployments.md | 4 +-
.../java/functions/list-executions.md | 4 +-
.../examples/java/functions/list-variables.md | 2 +-
docs/examples/java/functions/list.md | 2 +-
.../java/functions/update-deployment-build.md | 4 +-
.../java/functions/update-deployment.md | 4 +-
.../java/functions/update-variable.md | 8 +-
docs/examples/java/functions/update.md | 16 +--
.../java/health/get-queue-databases.md | 2 +-
.../java/messaging/create-apns-provider.md | 12 +-
docs/examples/java/messaging/create-email.md | 6 +-
.../java/messaging/create-fcm-provider.md | 4 +-
.../java/messaging/create-mailgun-provider.md | 16 +--
.../java/messaging/create-msg91provider.md | 10 +-
docs/examples/java/messaging/create-push.md | 20 ++--
.../messaging/create-sendgrid-provider.md | 14 +--
docs/examples/java/messaging/create-sms.md | 4 +-
.../java/messaging/create-smtp-provider.md | 20 ++--
.../java/messaging/create-subscriber.md | 6 +-
.../messaging/create-telesign-provider.md | 10 +-
.../messaging/create-textmagic-provider.md | 10 +-
docs/examples/java/messaging/create-topic.md | 4 +-
.../java/messaging/create-twilio-provider.md | 10 +-
.../java/messaging/create-vonage-provider.md | 10 +-
.../java/messaging/delete-provider.md | 2 +-
.../java/messaging/delete-subscriber.md | 4 +-
docs/examples/java/messaging/delete-topic.md | 2 +-
docs/examples/java/messaging/delete.md | 2 +-
docs/examples/java/messaging/get-message.md | 2 +-
docs/examples/java/messaging/get-provider.md | 2 +-
.../examples/java/messaging/get-subscriber.md | 4 +-
docs/examples/java/messaging/get-topic.md | 2 +-
.../java/messaging/list-message-logs.md | 2 +-
docs/examples/java/messaging/list-messages.md | 2 +-
.../java/messaging/list-provider-logs.md | 2 +-
.../examples/java/messaging/list-providers.md | 2 +-
.../java/messaging/list-subscriber-logs.md | 2 +-
.../java/messaging/list-subscribers.md | 4 +-
docs/examples/java/messaging/list-targets.md | 2 +-
.../java/messaging/list-topic-logs.md | 2 +-
docs/examples/java/messaging/list-topics.md | 2 +-
.../java/messaging/update-apns-provider.md | 12 +-
docs/examples/java/messaging/update-email.md | 6 +-
.../java/messaging/update-fcm-provider.md | 4 +-
.../java/messaging/update-mailgun-provider.md | 16 +--
.../java/messaging/update-msg91provider.md | 10 +-
docs/examples/java/messaging/update-push.md | 18 +--
.../messaging/update-sendgrid-provider.md | 14 +--
docs/examples/java/messaging/update-sms.md | 4 +-
.../java/messaging/update-smtp-provider.md | 20 ++--
.../messaging/update-telesign-provider.md | 10 +-
.../messaging/update-textmagic-provider.md | 10 +-
docs/examples/java/messaging/update-topic.md | 4 +-
.../java/messaging/update-twilio-provider.md | 10 +-
.../java/messaging/update-vonage-provider.md | 10 +-
docs/examples/java/storage/create-bucket.md | 4 +-
docs/examples/java/storage/create-file.md | 8 +-
docs/examples/java/storage/delete-bucket.md | 2 +-
docs/examples/java/storage/delete-file.md | 4 +-
docs/examples/java/storage/get-bucket.md | 2 +-
.../java/storage/get-file-download.md | 4 +-
.../examples/java/storage/get-file-preview.md | 4 +-
docs/examples/java/storage/get-file-view.md | 4 +-
docs/examples/java/storage/get-file.md | 4 +-
docs/examples/java/storage/list-buckets.md | 2 +-
docs/examples/java/storage/list-files.md | 4 +-
docs/examples/java/storage/update-bucket.md | 4 +-
docs/examples/java/storage/update-file.md | 6 +-
docs/examples/java/teams/create-membership.md | 12 +-
docs/examples/java/teams/create.md | 4 +-
docs/examples/java/teams/delete-membership.md | 4 +-
docs/examples/java/teams/delete.md | 2 +-
docs/examples/java/teams/get-membership.md | 4 +-
docs/examples/java/teams/get-prefs.md | 2 +-
docs/examples/java/teams/get.md | 2 +-
docs/examples/java/teams/list-memberships.md | 4 +-
docs/examples/java/teams/list.md | 2 +-
.../java/teams/update-membership-status.md | 8 +-
docs/examples/java/teams/update-membership.md | 4 +-
docs/examples/java/teams/update-name.md | 4 +-
docs/examples/java/teams/update-prefs.md | 2 +-
docs/examples/java/users/create-argon2user.md | 8 +-
.../examples/java/users/create-bcrypt-user.md | 8 +-
docs/examples/java/users/create-j-w-t.md | 4 +-
docs/examples/java/users/create-m-d5user.md | 8 +-
.../java/users/create-mfa-recovery-codes.md | 2 +-
.../java/users/create-p-h-pass-user.md | 8 +-
docs/examples/java/users/create-s-h-a-user.md | 8 +-
.../java/users/create-scrypt-modified-user.md | 14 +--
.../examples/java/users/create-scrypt-user.md | 10 +-
docs/examples/java/users/create-session.md | 2 +-
docs/examples/java/users/create-target.md | 10 +-
docs/examples/java/users/create-token.md | 2 +-
docs/examples/java/users/create.md | 8 +-
docs/examples/java/users/delete-identity.md | 2 +-
.../java/users/delete-mfa-authenticator.md | 2 +-
docs/examples/java/users/delete-session.md | 4 +-
docs/examples/java/users/delete-sessions.md | 2 +-
docs/examples/java/users/delete-target.md | 4 +-
docs/examples/java/users/delete.md | 2 +-
.../java/users/get-mfa-recovery-codes.md | 2 +-
docs/examples/java/users/get-prefs.md | 2 +-
docs/examples/java/users/get-target.md | 4 +-
docs/examples/java/users/get.md | 2 +-
docs/examples/java/users/list-identities.md | 2 +-
docs/examples/java/users/list-logs.md | 2 +-
docs/examples/java/users/list-memberships.md | 2 +-
docs/examples/java/users/list-mfa-factors.md | 2 +-
docs/examples/java/users/list-sessions.md | 2 +-
docs/examples/java/users/list-targets.md | 2 +-
docs/examples/java/users/list.md | 2 +-
.../java/users/update-email-verification.md | 2 +-
docs/examples/java/users/update-email.md | 4 +-
docs/examples/java/users/update-labels.md | 2 +-
.../java/users/update-mfa-recovery-codes.md | 2 +-
docs/examples/java/users/update-mfa.md | 2 +-
docs/examples/java/users/update-name.md | 4 +-
docs/examples/java/users/update-password.md | 2 +-
.../java/users/update-phone-verification.md | 2 +-
docs/examples/java/users/update-phone.md | 4 +-
docs/examples/java/users/update-prefs.md | 2 +-
docs/examples/java/users/update-status.md | 2 +-
docs/examples/java/users/update-target.md | 10 +-
.../account/create-email-password-session.md | 4 +-
.../kotlin/account/create-email-token.md | 4 +-
.../account/create-magic-u-r-l-token.md | 6 +-
.../kotlin/account/create-o-auth2token.md | 4 +-
.../kotlin/account/create-phone-token.md | 4 +-
.../kotlin/account/create-recovery.md | 4 +-
.../examples/kotlin/account/create-session.md | 4 +-
.../kotlin/account/create-verification.md | 2 +-
docs/examples/kotlin/account/create.md | 6 +-
.../kotlin/account/delete-identity.md | 2 +-
.../examples/kotlin/account/delete-session.md | 2 +-
docs/examples/kotlin/account/get-session.md | 2 +-
docs/examples/kotlin/account/update-email.md | 4 +-
.../account/update-magic-u-r-l-session.md | 4 +-
.../account/update-mfa-authenticator.md | 2 +-
.../kotlin/account/update-mfa-challenge.md | 4 +-
docs/examples/kotlin/account/update-name.md | 2 +-
.../kotlin/account/update-password.md | 2 +-
.../kotlin/account/update-phone-session.md | 4 +-
.../account/update-phone-verification.md | 4 +-
docs/examples/kotlin/account/update-phone.md | 4 +-
.../kotlin/account/update-recovery.md | 4 +-
.../examples/kotlin/account/update-session.md | 2 +-
.../kotlin/account/update-verification.md | 4 +-
docs/examples/kotlin/avatars/get-favicon.md | 2 +-
docs/examples/kotlin/avatars/get-image.md | 2 +-
docs/examples/kotlin/avatars/get-initials.md | 2 +-
docs/examples/kotlin/avatars/get-q-r.md | 2 +-
.../databases/create-boolean-attribute.md | 4 +-
.../kotlin/databases/create-collection.md | 6 +-
.../databases/create-datetime-attribute.md | 4 +-
.../kotlin/databases/create-document.md | 6 +-
.../databases/create-email-attribute.md | 6 +-
.../kotlin/databases/create-enum-attribute.md | 6 +-
.../databases/create-float-attribute.md | 4 +-
.../examples/kotlin/databases/create-index.md | 4 +-
.../databases/create-integer-attribute.md | 4 +-
.../kotlin/databases/create-ip-attribute.md | 4 +-
.../create-relationship-attribute.md | 8 +-
.../databases/create-string-attribute.md | 6 +-
.../kotlin/databases/create-url-attribute.md | 6 +-
docs/examples/kotlin/databases/create.md | 4 +-
.../kotlin/databases/delete-attribute.md | 4 +-
.../kotlin/databases/delete-collection.md | 4 +-
.../kotlin/databases/delete-document.md | 6 +-
.../examples/kotlin/databases/delete-index.md | 4 +-
docs/examples/kotlin/databases/delete.md | 2 +-
.../kotlin/databases/get-attribute.md | 4 +-
.../kotlin/databases/get-collection.md | 4 +-
.../examples/kotlin/databases/get-document.md | 6 +-
docs/examples/kotlin/databases/get-index.md | 4 +-
docs/examples/kotlin/databases/get.md | 2 +-
.../kotlin/databases/list-attributes.md | 4 +-
.../kotlin/databases/list-collections.md | 4 +-
.../kotlin/databases/list-documents.md | 4 +-
.../examples/kotlin/databases/list-indexes.md | 4 +-
docs/examples/kotlin/databases/list.md | 2 +-
.../databases/update-boolean-attribute.md | 4 +-
.../kotlin/databases/update-collection.md | 6 +-
.../databases/update-datetime-attribute.md | 4 +-
.../kotlin/databases/update-document.md | 6 +-
.../databases/update-email-attribute.md | 6 +-
.../kotlin/databases/update-enum-attribute.md | 6 +-
.../databases/update-float-attribute.md | 4 +-
.../databases/update-integer-attribute.md | 4 +-
.../kotlin/databases/update-ip-attribute.md | 4 +-
.../update-relationship-attribute.md | 6 +-
.../databases/update-string-attribute.md | 6 +-
.../kotlin/databases/update-url-attribute.md | 6 +-
docs/examples/kotlin/databases/update.md | 4 +-
.../examples/kotlin/functions/create-build.md | 6 +-
.../kotlin/functions/create-deployment.md | 10 +-
.../kotlin/functions/create-execution.md | 8 +-
.../kotlin/functions/create-variable.md | 6 +-
docs/examples/kotlin/functions/create.md | 24 ++--
.../kotlin/functions/delete-deployment.md | 4 +-
.../kotlin/functions/delete-execution.md | 4 +-
.../kotlin/functions/delete-variable.md | 4 +-
docs/examples/kotlin/functions/delete.md | 2 +-
.../functions/get-deployment-download.md | 4 +-
.../kotlin/functions/get-deployment.md | 4 +-
.../kotlin/functions/get-execution.md | 4 +-
.../examples/kotlin/functions/get-variable.md | 4 +-
docs/examples/kotlin/functions/get.md | 2 +-
.../kotlin/functions/list-deployments.md | 4 +-
.../kotlin/functions/list-executions.md | 4 +-
.../kotlin/functions/list-variables.md | 2 +-
docs/examples/kotlin/functions/list.md | 2 +-
.../functions/update-deployment-build.md | 4 +-
.../kotlin/functions/update-deployment.md | 4 +-
.../kotlin/functions/update-variable.md | 8 +-
docs/examples/kotlin/functions/update.md | 18 +--
.../kotlin/health/get-queue-databases.md | 2 +-
.../kotlin/messaging/create-apns-provider.md | 12 +-
.../examples/kotlin/messaging/create-email.md | 6 +-
.../kotlin/messaging/create-fcm-provider.md | 4 +-
.../messaging/create-mailgun-provider.md | 16 +--
.../kotlin/messaging/create-msg91provider.md | 10 +-
docs/examples/kotlin/messaging/create-push.md | 20 ++--
.../messaging/create-sendgrid-provider.md | 14 +--
docs/examples/kotlin/messaging/create-sms.md | 4 +-
.../kotlin/messaging/create-smtp-provider.md | 22 ++--
.../kotlin/messaging/create-subscriber.md | 6 +-
.../messaging/create-telesign-provider.md | 10 +-
.../messaging/create-textmagic-provider.md | 10 +-
.../examples/kotlin/messaging/create-topic.md | 4 +-
.../messaging/create-twilio-provider.md | 10 +-
.../messaging/create-vonage-provider.md | 10 +-
.../kotlin/messaging/delete-provider.md | 2 +-
.../kotlin/messaging/delete-subscriber.md | 4 +-
.../examples/kotlin/messaging/delete-topic.md | 2 +-
docs/examples/kotlin/messaging/delete.md | 2 +-
docs/examples/kotlin/messaging/get-message.md | 2 +-
.../examples/kotlin/messaging/get-provider.md | 2 +-
.../kotlin/messaging/get-subscriber.md | 4 +-
docs/examples/kotlin/messaging/get-topic.md | 2 +-
.../kotlin/messaging/list-message-logs.md | 2 +-
.../kotlin/messaging/list-messages.md | 2 +-
.../kotlin/messaging/list-provider-logs.md | 2 +-
.../kotlin/messaging/list-providers.md | 2 +-
.../kotlin/messaging/list-subscriber-logs.md | 2 +-
.../kotlin/messaging/list-subscribers.md | 4 +-
.../examples/kotlin/messaging/list-targets.md | 2 +-
.../kotlin/messaging/list-topic-logs.md | 2 +-
docs/examples/kotlin/messaging/list-topics.md | 2 +-
.../kotlin/messaging/update-apns-provider.md | 12 +-
.../examples/kotlin/messaging/update-email.md | 6 +-
.../kotlin/messaging/update-fcm-provider.md | 4 +-
.../messaging/update-mailgun-provider.md | 16 +--
.../kotlin/messaging/update-msg91provider.md | 10 +-
docs/examples/kotlin/messaging/update-push.md | 18 +--
.../messaging/update-sendgrid-provider.md | 14 +--
docs/examples/kotlin/messaging/update-sms.md | 4 +-
.../kotlin/messaging/update-smtp-provider.md | 22 ++--
.../messaging/update-telesign-provider.md | 10 +-
.../messaging/update-textmagic-provider.md | 10 +-
.../examples/kotlin/messaging/update-topic.md | 4 +-
.../messaging/update-twilio-provider.md | 10 +-
.../messaging/update-vonage-provider.md | 10 +-
docs/examples/kotlin/storage/create-bucket.md | 6 +-
docs/examples/kotlin/storage/create-file.md | 8 +-
docs/examples/kotlin/storage/delete-bucket.md | 2 +-
docs/examples/kotlin/storage/delete-file.md | 4 +-
docs/examples/kotlin/storage/get-bucket.md | 2 +-
.../kotlin/storage/get-file-download.md | 4 +-
.../kotlin/storage/get-file-preview.md | 8 +-
docs/examples/kotlin/storage/get-file-view.md | 4 +-
docs/examples/kotlin/storage/get-file.md | 4 +-
docs/examples/kotlin/storage/list-buckets.md | 2 +-
docs/examples/kotlin/storage/list-files.md | 4 +-
docs/examples/kotlin/storage/update-bucket.md | 6 +-
docs/examples/kotlin/storage/update-file.md | 6 +-
.../kotlin/teams/create-membership.md | 12 +-
docs/examples/kotlin/teams/create.md | 4 +-
.../kotlin/teams/delete-membership.md | 4 +-
docs/examples/kotlin/teams/delete.md | 2 +-
docs/examples/kotlin/teams/get-membership.md | 4 +-
docs/examples/kotlin/teams/get-prefs.md | 2 +-
docs/examples/kotlin/teams/get.md | 2 +-
.../examples/kotlin/teams/list-memberships.md | 4 +-
docs/examples/kotlin/teams/list.md | 2 +-
.../kotlin/teams/update-membership-status.md | 8 +-
.../kotlin/teams/update-membership.md | 4 +-
docs/examples/kotlin/teams/update-name.md | 4 +-
docs/examples/kotlin/teams/update-prefs.md | 2 +-
.../kotlin/users/create-argon2user.md | 8 +-
.../kotlin/users/create-bcrypt-user.md | 8 +-
docs/examples/kotlin/users/create-j-w-t.md | 4 +-
docs/examples/kotlin/users/create-m-d5user.md | 8 +-
.../kotlin/users/create-mfa-recovery-codes.md | 2 +-
.../kotlin/users/create-p-h-pass-user.md | 8 +-
.../kotlin/users/create-s-h-a-user.md | 10 +-
.../users/create-scrypt-modified-user.md | 14 +--
.../kotlin/users/create-scrypt-user.md | 10 +-
docs/examples/kotlin/users/create-session.md | 2 +-
docs/examples/kotlin/users/create-target.md | 10 +-
docs/examples/kotlin/users/create-token.md | 2 +-
docs/examples/kotlin/users/create.md | 8 +-
docs/examples/kotlin/users/delete-identity.md | 2 +-
.../kotlin/users/delete-mfa-authenticator.md | 2 +-
docs/examples/kotlin/users/delete-session.md | 4 +-
docs/examples/kotlin/users/delete-sessions.md | 2 +-
docs/examples/kotlin/users/delete-target.md | 4 +-
docs/examples/kotlin/users/delete.md | 2 +-
.../kotlin/users/get-mfa-recovery-codes.md | 2 +-
docs/examples/kotlin/users/get-prefs.md | 2 +-
docs/examples/kotlin/users/get-target.md | 4 +-
docs/examples/kotlin/users/get.md | 2 +-
docs/examples/kotlin/users/list-identities.md | 2 +-
docs/examples/kotlin/users/list-logs.md | 2 +-
.../examples/kotlin/users/list-memberships.md | 2 +-
.../examples/kotlin/users/list-mfa-factors.md | 2 +-
docs/examples/kotlin/users/list-sessions.md | 2 +-
docs/examples/kotlin/users/list-targets.md | 2 +-
docs/examples/kotlin/users/list.md | 2 +-
.../kotlin/users/update-email-verification.md | 2 +-
docs/examples/kotlin/users/update-email.md | 4 +-
docs/examples/kotlin/users/update-labels.md | 2 +-
.../kotlin/users/update-mfa-recovery-codes.md | 2 +-
docs/examples/kotlin/users/update-mfa.md | 2 +-
docs/examples/kotlin/users/update-name.md | 4 +-
docs/examples/kotlin/users/update-password.md | 2 +-
.../kotlin/users/update-phone-verification.md | 2 +-
docs/examples/kotlin/users/update-phone.md | 4 +-
docs/examples/kotlin/users/update-prefs.md | 2 +-
docs/examples/kotlin/users/update-status.md | 2 +-
docs/examples/kotlin/users/update-target.md | 10 +-
src/main/kotlin/io/appwrite/Client.kt | 54 ++++++---
src/main/kotlin/io/appwrite/enums/Runtime.kt | 6 +
.../io/appwrite/extensions/TypeExtensions.kt | 101 +++++++++++++++-
.../kotlin/io/appwrite/models/Execution.kt | 4 +-
.../kotlin/io/appwrite/models/InputFile.kt | 37 ------
src/main/kotlin/io/appwrite/models/Payload.kt | 73 ++++++++++++
.../kotlin/io/appwrite/services/Account.kt | 110 +++++++++---------
.../kotlin/io/appwrite/services/Avatars.kt | 16 +--
.../kotlin/io/appwrite/services/Databases.kt | 86 +++++++-------
.../kotlin/io/appwrite/services/Functions.kt | 58 ++++-----
.../kotlin/io/appwrite/services/Graphql.kt | 6 +-
.../kotlin/io/appwrite/services/Health.kt | 48 ++++----
.../kotlin/io/appwrite/services/Locale.kt | 20 ++--
.../kotlin/io/appwrite/services/Messaging.kt | 94 +++++++--------
.../kotlin/io/appwrite/services/Storage.kt | 32 ++---
src/main/kotlin/io/appwrite/services/Teams.kt | 28 ++---
src/main/kotlin/io/appwrite/services/Users.kt | 108 ++++++++---------
432 files changed, 1568 insertions(+), 1407 deletions(-)
delete mode 100644 src/main/kotlin/io/appwrite/models/InputFile.kt
create mode 100644 src/main/kotlin/io/appwrite/models/Payload.kt
diff --git a/README.md b/README.md
index bddbe28..167ea44 100644
--- a/README.md
+++ b/README.md
@@ -39,7 +39,7 @@ repositories {
Next, add the dependency to your project's `build.gradle(.kts)` file:
```groovy
-implementation("io.appwrite:sdk-for-kotlin:6.1.0")
+implementation("io.appwrite:sdk-for-kotlin:7.0.0")
```
### Maven
@@ -50,7 +50,7 @@ Add this to your project's `pom.xml` file:
io.appwrite
sdk-for-kotlin
- 6.1.0
+ 7.0.0
```
diff --git a/docs/examples/java/account/create-email-password-session.md b/docs/examples/java/account/create-email-password-session.md
index 75fa73f..a92c734 100644
--- a/docs/examples/java/account/create-email-password-session.md
+++ b/docs/examples/java/account/create-email-password-session.md
@@ -9,8 +9,8 @@ Client client = new Client()
Account account = new Account(client);
account.createEmailPasswordSession(
- "email@example.com", // email
- "password", // password
+ "{$example}", // email
+ "{$example}", // password
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/create-email-token.md b/docs/examples/java/account/create-email-token.md
index eff6d43..ccd6248 100644
--- a/docs/examples/java/account/create-email-token.md
+++ b/docs/examples/java/account/create-email-token.md
@@ -9,8 +9,8 @@ Client client = new Client()
Account account = new Account(client);
account.createEmailToken(
- "", // userId
- "email@example.com", // email
+ "{$example}", // userId
+ "{$example}", // email
false, // phrase (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/account/create-magic-u-r-l-token.md b/docs/examples/java/account/create-magic-u-r-l-token.md
index 3f9bda2..87c452a 100644
--- a/docs/examples/java/account/create-magic-u-r-l-token.md
+++ b/docs/examples/java/account/create-magic-u-r-l-token.md
@@ -9,9 +9,9 @@ Client client = new Client()
Account account = new Account(client);
account.createMagicURLToken(
- "", // userId
- "email@example.com", // email
- "https://example.com", // url (optional)
+ "{$example}", // userId
+ "{$example}", // email
+ "{$example}", // url (optional)
false, // phrase (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/account/create-o-auth2token.md b/docs/examples/java/account/create-o-auth2token.md
index 47873c5..bbb4acb 100644
--- a/docs/examples/java/account/create-o-auth2token.md
+++ b/docs/examples/java/account/create-o-auth2token.md
@@ -11,8 +11,8 @@ Account account = new Account(client);
account.createOAuth2Token(
OAuthProvider.AMAZON, // provider
- "https://example.com", // success (optional)
- "https://example.com", // failure (optional)
+ "{$example}", // success (optional)
+ "{$example}", // failure (optional)
listOf(), // scopes (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/account/create-phone-token.md b/docs/examples/java/account/create-phone-token.md
index 1f7c05c..7a6e575 100644
--- a/docs/examples/java/account/create-phone-token.md
+++ b/docs/examples/java/account/create-phone-token.md
@@ -9,8 +9,8 @@ Client client = new Client()
Account account = new Account(client);
account.createPhoneToken(
- "", // userId
- "+12065550100", // phone
+ "{$example}", // userId
+ "{$example}", // phone
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/create-recovery.md b/docs/examples/java/account/create-recovery.md
index d74106b..84cdee9 100644
--- a/docs/examples/java/account/create-recovery.md
+++ b/docs/examples/java/account/create-recovery.md
@@ -10,8 +10,8 @@ Client client = new Client()
Account account = new Account(client);
account.createRecovery(
- "email@example.com", // email
- "https://example.com", // url
+ "{$example}", // email
+ "{$example}", // url
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/create-session.md b/docs/examples/java/account/create-session.md
index 861af3d..5515ae8 100644
--- a/docs/examples/java/account/create-session.md
+++ b/docs/examples/java/account/create-session.md
@@ -9,8 +9,8 @@ Client client = new Client()
Account account = new Account(client);
account.createSession(
- "", // userId
- "", // secret
+ "{$example}", // userId
+ "{$example}", // secret
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/create-verification.md b/docs/examples/java/account/create-verification.md
index 4479cc6..9bc4e96 100644
--- a/docs/examples/java/account/create-verification.md
+++ b/docs/examples/java/account/create-verification.md
@@ -10,7 +10,7 @@ Client client = new Client()
Account account = new Account(client);
account.createVerification(
- "https://example.com", // url
+ "{$example}", // url
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/create.md b/docs/examples/java/account/create.md
index 3bcfe1d..f59cfc3 100644
--- a/docs/examples/java/account/create.md
+++ b/docs/examples/java/account/create.md
@@ -9,10 +9,10 @@ Client client = new Client()
Account account = new Account(client);
account.create(
- "", // userId
- "email@example.com", // email
+ "{$example}", // userId
+ "{$example}", // email
"", // password
- "", // name (optional)
+ "{$example}", // name (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/delete-identity.md b/docs/examples/java/account/delete-identity.md
index 5eec242..3e07f12 100644
--- a/docs/examples/java/account/delete-identity.md
+++ b/docs/examples/java/account/delete-identity.md
@@ -10,7 +10,7 @@ Client client = new Client()
Account account = new Account(client);
account.deleteIdentity(
- "", // identityId
+ "{$example}", // identityId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/delete-session.md b/docs/examples/java/account/delete-session.md
index 687df81..70f3f7e 100644
--- a/docs/examples/java/account/delete-session.md
+++ b/docs/examples/java/account/delete-session.md
@@ -10,7 +10,7 @@ Client client = new Client()
Account account = new Account(client);
account.deleteSession(
- "", // sessionId
+ "{$example}", // sessionId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/get-session.md b/docs/examples/java/account/get-session.md
index 6d07a85..75fd7e8 100644
--- a/docs/examples/java/account/get-session.md
+++ b/docs/examples/java/account/get-session.md
@@ -10,7 +10,7 @@ Client client = new Client()
Account account = new Account(client);
account.getSession(
- "", // sessionId
+ "{$example}", // sessionId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/update-email.md b/docs/examples/java/account/update-email.md
index 391e531..f488c35 100644
--- a/docs/examples/java/account/update-email.md
+++ b/docs/examples/java/account/update-email.md
@@ -10,8 +10,8 @@ Client client = new Client()
Account account = new Account(client);
account.updateEmail(
- "email@example.com", // email
- "password", // password
+ "{$example}", // email
+ "{$example}", // password
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/update-magic-u-r-l-session.md b/docs/examples/java/account/update-magic-u-r-l-session.md
index 62fe856..4a7eda5 100644
--- a/docs/examples/java/account/update-magic-u-r-l-session.md
+++ b/docs/examples/java/account/update-magic-u-r-l-session.md
@@ -9,8 +9,8 @@ Client client = new Client()
Account account = new Account(client);
account.updateMagicURLSession(
- "", // userId
- "", // secret
+ "{$example}", // userId
+ "{$example}", // secret
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/update-mfa-authenticator.md b/docs/examples/java/account/update-mfa-authenticator.md
index b492d8c..b9fea57 100644
--- a/docs/examples/java/account/update-mfa-authenticator.md
+++ b/docs/examples/java/account/update-mfa-authenticator.md
@@ -12,7 +12,7 @@ Account account = new Account(client);
account.updateMfaAuthenticator(
AuthenticatorType.TOTP, // type
- "", // otp
+ "{$example}", // otp
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/update-mfa-challenge.md b/docs/examples/java/account/update-mfa-challenge.md
index 74ca481..e3450df 100644
--- a/docs/examples/java/account/update-mfa-challenge.md
+++ b/docs/examples/java/account/update-mfa-challenge.md
@@ -10,8 +10,8 @@ Client client = new Client()
Account account = new Account(client);
account.updateMfaChallenge(
- "", // challengeId
- "", // otp
+ "{$example}", // challengeId
+ "{$example}", // otp
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/update-name.md b/docs/examples/java/account/update-name.md
index 1ce2abf..8c8f840 100644
--- a/docs/examples/java/account/update-name.md
+++ b/docs/examples/java/account/update-name.md
@@ -10,7 +10,7 @@ Client client = new Client()
Account account = new Account(client);
account.updateName(
- "", // name
+ "{$example}", // name
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/update-password.md b/docs/examples/java/account/update-password.md
index 437e825..276197a 100644
--- a/docs/examples/java/account/update-password.md
+++ b/docs/examples/java/account/update-password.md
@@ -11,7 +11,7 @@ Account account = new Account(client);
account.updatePassword(
"", // password
- "password", // oldPassword (optional)
+ "{$example}", // oldPassword (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/update-phone-session.md b/docs/examples/java/account/update-phone-session.md
index c401de4..d3e25d4 100644
--- a/docs/examples/java/account/update-phone-session.md
+++ b/docs/examples/java/account/update-phone-session.md
@@ -9,8 +9,8 @@ Client client = new Client()
Account account = new Account(client);
account.updatePhoneSession(
- "", // userId
- "", // secret
+ "{$example}", // userId
+ "{$example}", // secret
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/update-phone-verification.md b/docs/examples/java/account/update-phone-verification.md
index ddf786a..1153d5b 100644
--- a/docs/examples/java/account/update-phone-verification.md
+++ b/docs/examples/java/account/update-phone-verification.md
@@ -10,8 +10,8 @@ Client client = new Client()
Account account = new Account(client);
account.updatePhoneVerification(
- "", // userId
- "", // secret
+ "{$example}", // userId
+ "{$example}", // secret
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/update-phone.md b/docs/examples/java/account/update-phone.md
index 6a47fd1..4c09029 100644
--- a/docs/examples/java/account/update-phone.md
+++ b/docs/examples/java/account/update-phone.md
@@ -10,8 +10,8 @@ Client client = new Client()
Account account = new Account(client);
account.updatePhone(
- "+12065550100", // phone
- "password", // password
+ "{$example}", // phone
+ "{$example}", // password
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/update-recovery.md b/docs/examples/java/account/update-recovery.md
index be4301c..bb4e215 100644
--- a/docs/examples/java/account/update-recovery.md
+++ b/docs/examples/java/account/update-recovery.md
@@ -10,8 +10,8 @@ Client client = new Client()
Account account = new Account(client);
account.updateRecovery(
- "", // userId
- "", // secret
+ "{$example}", // userId
+ "{$example}", // secret
"", // password
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/account/update-session.md b/docs/examples/java/account/update-session.md
index 96e3506..57c3959 100644
--- a/docs/examples/java/account/update-session.md
+++ b/docs/examples/java/account/update-session.md
@@ -10,7 +10,7 @@ Client client = new Client()
Account account = new Account(client);
account.updateSession(
- "", // sessionId
+ "{$example}", // sessionId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/update-verification.md b/docs/examples/java/account/update-verification.md
index ed8a40b..4f2622a 100644
--- a/docs/examples/java/account/update-verification.md
+++ b/docs/examples/java/account/update-verification.md
@@ -10,8 +10,8 @@ Client client = new Client()
Account account = new Account(client);
account.updateVerification(
- "", // userId
- "", // secret
+ "{$example}", // userId
+ "{$example}", // secret
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/avatars/get-favicon.md b/docs/examples/java/avatars/get-favicon.md
index 9f51941..7c24d5e 100644
--- a/docs/examples/java/avatars/get-favicon.md
+++ b/docs/examples/java/avatars/get-favicon.md
@@ -10,7 +10,7 @@ Client client = new Client()
Avatars avatars = new Avatars(client);
avatars.getFavicon(
- "https://example.com", // url
+ "{$example}", // url
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/avatars/get-image.md b/docs/examples/java/avatars/get-image.md
index af5f217..1a93164 100644
--- a/docs/examples/java/avatars/get-image.md
+++ b/docs/examples/java/avatars/get-image.md
@@ -10,7 +10,7 @@ Client client = new Client()
Avatars avatars = new Avatars(client);
avatars.getImage(
- "https://example.com", // url
+ "{$example}", // url
0, // width (optional)
0, // height (optional)
new CoroutineCallback<>((result, error) -> {
diff --git a/docs/examples/java/avatars/get-initials.md b/docs/examples/java/avatars/get-initials.md
index 4b00f73..7277e39 100644
--- a/docs/examples/java/avatars/get-initials.md
+++ b/docs/examples/java/avatars/get-initials.md
@@ -10,7 +10,7 @@ Client client = new Client()
Avatars avatars = new Avatars(client);
avatars.getInitials(
- "", // name (optional)
+ "{$example}", // name (optional)
0, // width (optional)
0, // height (optional)
"", // background (optional)
diff --git a/docs/examples/java/avatars/get-q-r.md b/docs/examples/java/avatars/get-q-r.md
index 903e2b0..243e245 100644
--- a/docs/examples/java/avatars/get-q-r.md
+++ b/docs/examples/java/avatars/get-q-r.md
@@ -10,7 +10,7 @@ Client client = new Client()
Avatars avatars = new Avatars(client);
avatars.getQR(
- "", // text
+ "{$example}", // text
1, // size (optional)
0, // margin (optional)
false, // download (optional)
diff --git a/docs/examples/java/databases/create-boolean-attribute.md b/docs/examples/java/databases/create-boolean-attribute.md
index d959a65..0c6f55d 100644
--- a/docs/examples/java/databases/create-boolean-attribute.md
+++ b/docs/examples/java/databases/create-boolean-attribute.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.createBooleanAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
false, // required
false, // default (optional)
diff --git a/docs/examples/java/databases/create-collection.md b/docs/examples/java/databases/create-collection.md
index 9a17b26..229c800 100644
--- a/docs/examples/java/databases/create-collection.md
+++ b/docs/examples/java/databases/create-collection.md
@@ -10,9 +10,9 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.createCollection(
- "", // databaseId
- "", // collectionId
- "", // name
+ "{$example}", // databaseId
+ "{$example}", // collectionId
+ "{$example}", // name
listOf("read("any")"), // permissions (optional)
false, // documentSecurity (optional)
false, // enabled (optional)
diff --git a/docs/examples/java/databases/create-datetime-attribute.md b/docs/examples/java/databases/create-datetime-attribute.md
index b35d489..ecb68a2 100644
--- a/docs/examples/java/databases/create-datetime-attribute.md
+++ b/docs/examples/java/databases/create-datetime-attribute.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.createDatetimeAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
false, // required
"", // default (optional)
diff --git a/docs/examples/java/databases/create-document.md b/docs/examples/java/databases/create-document.md
index e05d1fe..ebca7a4 100644
--- a/docs/examples/java/databases/create-document.md
+++ b/docs/examples/java/databases/create-document.md
@@ -10,9 +10,9 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.createDocument(
- "", // databaseId
- "", // collectionId
- "", // documentId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
+ "{$example}", // documentId
mapOf( "a" to "b" ), // data
listOf("read("any")"), // permissions (optional)
new CoroutineCallback<>((result, error) -> {
diff --git a/docs/examples/java/databases/create-email-attribute.md b/docs/examples/java/databases/create-email-attribute.md
index 5a42e97..4a032ca 100644
--- a/docs/examples/java/databases/create-email-attribute.md
+++ b/docs/examples/java/databases/create-email-attribute.md
@@ -10,11 +10,11 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.createEmailAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
false, // required
- "email@example.com", // default (optional)
+ "{$example}", // default (optional)
false, // array (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/databases/create-enum-attribute.md b/docs/examples/java/databases/create-enum-attribute.md
index 59cbd46..eb817f3 100644
--- a/docs/examples/java/databases/create-enum-attribute.md
+++ b/docs/examples/java/databases/create-enum-attribute.md
@@ -10,12 +10,12 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.createEnumAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
listOf(), // elements
false, // required
- "", // default (optional)
+ "{$example}", // default (optional)
false, // array (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/databases/create-float-attribute.md b/docs/examples/java/databases/create-float-attribute.md
index cdbdbb2..092b17f 100644
--- a/docs/examples/java/databases/create-float-attribute.md
+++ b/docs/examples/java/databases/create-float-attribute.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.createFloatAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
false, // required
0, // min (optional)
diff --git a/docs/examples/java/databases/create-index.md b/docs/examples/java/databases/create-index.md
index a3f09d4..56f2303 100644
--- a/docs/examples/java/databases/create-index.md
+++ b/docs/examples/java/databases/create-index.md
@@ -11,8 +11,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.createIndex(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
IndexType.KEY, // type
listOf(), // attributes
diff --git a/docs/examples/java/databases/create-integer-attribute.md b/docs/examples/java/databases/create-integer-attribute.md
index 37e7f37..0acd2ae 100644
--- a/docs/examples/java/databases/create-integer-attribute.md
+++ b/docs/examples/java/databases/create-integer-attribute.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.createIntegerAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
false, // required
0, // min (optional)
diff --git a/docs/examples/java/databases/create-ip-attribute.md b/docs/examples/java/databases/create-ip-attribute.md
index bdb0093..9630869 100644
--- a/docs/examples/java/databases/create-ip-attribute.md
+++ b/docs/examples/java/databases/create-ip-attribute.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.createIpAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
false, // required
"", // default (optional)
diff --git a/docs/examples/java/databases/create-relationship-attribute.md b/docs/examples/java/databases/create-relationship-attribute.md
index f3d0f51..36af499 100644
--- a/docs/examples/java/databases/create-relationship-attribute.md
+++ b/docs/examples/java/databases/create-relationship-attribute.md
@@ -11,9 +11,9 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.createRelationshipAttribute(
- "", // databaseId
- "", // collectionId
- "", // relatedCollectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
+ "{$example}", // relatedCollectionId
RelationshipType.ONETOONE, // type
false, // twoWay (optional)
"", // key (optional)
diff --git a/docs/examples/java/databases/create-string-attribute.md b/docs/examples/java/databases/create-string-attribute.md
index 7d9d8d4..c4ebac3 100644
--- a/docs/examples/java/databases/create-string-attribute.md
+++ b/docs/examples/java/databases/create-string-attribute.md
@@ -10,12 +10,12 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.createStringAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
1, // size
false, // required
- "", // default (optional)
+ "{$example}", // default (optional)
false, // array (optional)
false, // encrypt (optional)
new CoroutineCallback<>((result, error) -> {
diff --git a/docs/examples/java/databases/create-url-attribute.md b/docs/examples/java/databases/create-url-attribute.md
index 57ed89d..5abebbd 100644
--- a/docs/examples/java/databases/create-url-attribute.md
+++ b/docs/examples/java/databases/create-url-attribute.md
@@ -10,11 +10,11 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.createUrlAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
false, // required
- "https://example.com", // default (optional)
+ "{$example}", // default (optional)
false, // array (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/databases/create.md b/docs/examples/java/databases/create.md
index 5b66510..315f3c5 100644
--- a/docs/examples/java/databases/create.md
+++ b/docs/examples/java/databases/create.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.create(
- "", // databaseId
- "", // name
+ "{$example}", // databaseId
+ "{$example}", // name
false, // enabled (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/databases/delete-attribute.md b/docs/examples/java/databases/delete-attribute.md
index 8f9d2f0..cd2b500 100644
--- a/docs/examples/java/databases/delete-attribute.md
+++ b/docs/examples/java/databases/delete-attribute.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.deleteAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/databases/delete-collection.md b/docs/examples/java/databases/delete-collection.md
index 334e7ad..92cf3b1 100644
--- a/docs/examples/java/databases/delete-collection.md
+++ b/docs/examples/java/databases/delete-collection.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.deleteCollection(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/databases/delete-document.md b/docs/examples/java/databases/delete-document.md
index a42b3f1..0f8f0c0 100644
--- a/docs/examples/java/databases/delete-document.md
+++ b/docs/examples/java/databases/delete-document.md
@@ -10,9 +10,9 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.deleteDocument(
- "", // databaseId
- "", // collectionId
- "", // documentId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
+ "{$example}", // documentId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/databases/delete-index.md b/docs/examples/java/databases/delete-index.md
index 725045e..d6f67f0 100644
--- a/docs/examples/java/databases/delete-index.md
+++ b/docs/examples/java/databases/delete-index.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.deleteIndex(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/databases/delete.md b/docs/examples/java/databases/delete.md
index 41fb72b..2cbcebf 100644
--- a/docs/examples/java/databases/delete.md
+++ b/docs/examples/java/databases/delete.md
@@ -10,7 +10,7 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.delete(
- "", // databaseId
+ "{$example}", // databaseId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/databases/get-attribute.md b/docs/examples/java/databases/get-attribute.md
index 1b29312..c91cca8 100644
--- a/docs/examples/java/databases/get-attribute.md
+++ b/docs/examples/java/databases/get-attribute.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.getAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/databases/get-collection.md b/docs/examples/java/databases/get-collection.md
index 41bbb23..bb52d3e 100644
--- a/docs/examples/java/databases/get-collection.md
+++ b/docs/examples/java/databases/get-collection.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.getCollection(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/databases/get-document.md b/docs/examples/java/databases/get-document.md
index 870642b..5b87c93 100644
--- a/docs/examples/java/databases/get-document.md
+++ b/docs/examples/java/databases/get-document.md
@@ -10,9 +10,9 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.getDocument(
- "", // databaseId
- "", // collectionId
- "", // documentId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
+ "{$example}", // documentId
listOf(), // queries (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/databases/get-index.md b/docs/examples/java/databases/get-index.md
index eb33b87..dddec5d 100644
--- a/docs/examples/java/databases/get-index.md
+++ b/docs/examples/java/databases/get-index.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.getIndex(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/databases/get.md b/docs/examples/java/databases/get.md
index b276da4..056578d 100644
--- a/docs/examples/java/databases/get.md
+++ b/docs/examples/java/databases/get.md
@@ -10,7 +10,7 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.get(
- "", // databaseId
+ "{$example}", // databaseId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/databases/list-attributes.md b/docs/examples/java/databases/list-attributes.md
index 417fe6e..c34b39c 100644
--- a/docs/examples/java/databases/list-attributes.md
+++ b/docs/examples/java/databases/list-attributes.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.listAttributes(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
listOf(), // queries (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/databases/list-collections.md b/docs/examples/java/databases/list-collections.md
index e12e158..b512141 100644
--- a/docs/examples/java/databases/list-collections.md
+++ b/docs/examples/java/databases/list-collections.md
@@ -10,9 +10,9 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.listCollections(
- "", // databaseId
+ "{$example}", // databaseId
listOf(), // queries (optional)
- "", // search (optional)
+ "{$example}", // search (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/databases/list-documents.md b/docs/examples/java/databases/list-documents.md
index 4fab62a..f7ae7a7 100644
--- a/docs/examples/java/databases/list-documents.md
+++ b/docs/examples/java/databases/list-documents.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.listDocuments(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
listOf(), // queries (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/databases/list-indexes.md b/docs/examples/java/databases/list-indexes.md
index c266265..76671b6 100644
--- a/docs/examples/java/databases/list-indexes.md
+++ b/docs/examples/java/databases/list-indexes.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.listIndexes(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
listOf(), // queries (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/databases/list.md b/docs/examples/java/databases/list.md
index d014a70..46eaa39 100644
--- a/docs/examples/java/databases/list.md
+++ b/docs/examples/java/databases/list.md
@@ -11,7 +11,7 @@ Databases databases = new Databases(client);
databases.list(
listOf(), // queries (optional)
- "", // search (optional)
+ "{$example}", // search (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/databases/update-boolean-attribute.md b/docs/examples/java/databases/update-boolean-attribute.md
index 01a8ba1..f1075ef 100644
--- a/docs/examples/java/databases/update-boolean-attribute.md
+++ b/docs/examples/java/databases/update-boolean-attribute.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.updateBooleanAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
false, // required
false, // default
diff --git a/docs/examples/java/databases/update-collection.md b/docs/examples/java/databases/update-collection.md
index 533d7a7..e54b6f4 100644
--- a/docs/examples/java/databases/update-collection.md
+++ b/docs/examples/java/databases/update-collection.md
@@ -10,9 +10,9 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.updateCollection(
- "", // databaseId
- "", // collectionId
- "", // name
+ "{$example}", // databaseId
+ "{$example}", // collectionId
+ "{$example}", // name
listOf("read("any")"), // permissions (optional)
false, // documentSecurity (optional)
false, // enabled (optional)
diff --git a/docs/examples/java/databases/update-datetime-attribute.md b/docs/examples/java/databases/update-datetime-attribute.md
index 00b3568..1746313 100644
--- a/docs/examples/java/databases/update-datetime-attribute.md
+++ b/docs/examples/java/databases/update-datetime-attribute.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.updateDatetimeAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
false, // required
"", // default
diff --git a/docs/examples/java/databases/update-document.md b/docs/examples/java/databases/update-document.md
index 43c9600..4ec5d61 100644
--- a/docs/examples/java/databases/update-document.md
+++ b/docs/examples/java/databases/update-document.md
@@ -10,9 +10,9 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.updateDocument(
- "", // databaseId
- "", // collectionId
- "", // documentId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
+ "{$example}", // documentId
mapOf( "a" to "b" ), // data (optional)
listOf("read("any")"), // permissions (optional)
new CoroutineCallback<>((result, error) -> {
diff --git a/docs/examples/java/databases/update-email-attribute.md b/docs/examples/java/databases/update-email-attribute.md
index b931370..9798d5f 100644
--- a/docs/examples/java/databases/update-email-attribute.md
+++ b/docs/examples/java/databases/update-email-attribute.md
@@ -10,11 +10,11 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.updateEmailAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
false, // required
- "email@example.com", // default
+ "{$example}", // default
"", // newKey (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/databases/update-enum-attribute.md b/docs/examples/java/databases/update-enum-attribute.md
index febf784..29b44a1 100644
--- a/docs/examples/java/databases/update-enum-attribute.md
+++ b/docs/examples/java/databases/update-enum-attribute.md
@@ -10,12 +10,12 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.updateEnumAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
listOf(), // elements
false, // required
- "", // default
+ "{$example}", // default
"", // newKey (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/databases/update-float-attribute.md b/docs/examples/java/databases/update-float-attribute.md
index 071bd48..ae9800b 100644
--- a/docs/examples/java/databases/update-float-attribute.md
+++ b/docs/examples/java/databases/update-float-attribute.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.updateFloatAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
false, // required
0, // min
diff --git a/docs/examples/java/databases/update-integer-attribute.md b/docs/examples/java/databases/update-integer-attribute.md
index b6c1e44..5b8cf85 100644
--- a/docs/examples/java/databases/update-integer-attribute.md
+++ b/docs/examples/java/databases/update-integer-attribute.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.updateIntegerAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
false, // required
0, // min
diff --git a/docs/examples/java/databases/update-ip-attribute.md b/docs/examples/java/databases/update-ip-attribute.md
index 72b85cf..412d5e7 100644
--- a/docs/examples/java/databases/update-ip-attribute.md
+++ b/docs/examples/java/databases/update-ip-attribute.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.updateIpAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
false, // required
"", // default
diff --git a/docs/examples/java/databases/update-relationship-attribute.md b/docs/examples/java/databases/update-relationship-attribute.md
index 73e2121..ab5cc05 100644
--- a/docs/examples/java/databases/update-relationship-attribute.md
+++ b/docs/examples/java/databases/update-relationship-attribute.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.updateRelationshipAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
RelationMutate.CASCADE, // onDelete (optional)
"", // newKey (optional)
diff --git a/docs/examples/java/databases/update-string-attribute.md b/docs/examples/java/databases/update-string-attribute.md
index 75be9e0..fa02a2b 100644
--- a/docs/examples/java/databases/update-string-attribute.md
+++ b/docs/examples/java/databases/update-string-attribute.md
@@ -10,11 +10,11 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.updateStringAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
false, // required
- "", // default
+ "{$example}", // default
0, // size (optional)
"", // newKey (optional)
new CoroutineCallback<>((result, error) -> {
diff --git a/docs/examples/java/databases/update-url-attribute.md b/docs/examples/java/databases/update-url-attribute.md
index dcfbf30..236c146 100644
--- a/docs/examples/java/databases/update-url-attribute.md
+++ b/docs/examples/java/databases/update-url-attribute.md
@@ -10,11 +10,11 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.updateUrlAttribute(
- "", // databaseId
- "", // collectionId
+ "{$example}", // databaseId
+ "{$example}", // collectionId
"", // key
false, // required
- "https://example.com", // default
+ "{$example}", // default
"", // newKey (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/databases/update.md b/docs/examples/java/databases/update.md
index f1e6dd3..960df6e 100644
--- a/docs/examples/java/databases/update.md
+++ b/docs/examples/java/databases/update.md
@@ -10,8 +10,8 @@ Client client = new Client()
Databases databases = new Databases(client);
databases.update(
- "", // databaseId
- "", // name
+ "{$example}", // databaseId
+ "{$example}", // name
false, // enabled (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/functions/create-build.md b/docs/examples/java/functions/create-build.md
index ad55df1..e4babf3 100644
--- a/docs/examples/java/functions/create-build.md
+++ b/docs/examples/java/functions/create-build.md
@@ -10,9 +10,9 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.createBuild(
- "", // functionId
- "", // deploymentId
- "", // buildId (optional)
+ "{$example}", // functionId
+ "{$example}", // deploymentId
+ "{$example}", // buildId (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/create-deployment.md b/docs/examples/java/functions/create-deployment.md
index 920998e..0508964 100644
--- a/docs/examples/java/functions/create-deployment.md
+++ b/docs/examples/java/functions/create-deployment.md
@@ -1,6 +1,6 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
-import io.appwrite.models.InputFile;
+import io.appwrite.models.Payload;
import io.appwrite.services.Functions;
Client client = new Client()
@@ -11,11 +11,11 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.createDeployment(
- "", // functionId
- InputFile.fromPath("file.png"), // code
+ "{$example}", // functionId
+ Payload.fromFile("/path/to/file.png"), // code
false, // activate
- "", // entrypoint (optional)
- "", // commands (optional)
+ "{$example}", // entrypoint (optional)
+ "{$example}", // commands (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/create-execution.md b/docs/examples/java/functions/create-execution.md
index 62c0634..97274ce 100644
--- a/docs/examples/java/functions/create-execution.md
+++ b/docs/examples/java/functions/create-execution.md
@@ -10,10 +10,10 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.createExecution(
- "", // functionId
- "", // body (optional)
+ "{$example}", // functionId
+ Payload.fromJson(mapOf("x" to "y" as Any)), // body (optional)
false, // async (optional)
- "", // path (optional)
+ "{$example}", // path (optional)
ExecutionMethod.GET, // method (optional)
mapOf( "a" to "b" ), // headers (optional)
"", // scheduledAt (optional)
diff --git a/docs/examples/java/functions/create-variable.md b/docs/examples/java/functions/create-variable.md
index a1d6c7b..cdd4c1a 100644
--- a/docs/examples/java/functions/create-variable.md
+++ b/docs/examples/java/functions/create-variable.md
@@ -10,9 +10,9 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.createVariable(
- "", // functionId
- "", // key
- "", // value
+ "{$example}", // functionId
+ "{$example}", // key
+ "{$example}", // value
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/create.md b/docs/examples/java/functions/create.md
index db0cc56..aef0858 100644
--- a/docs/examples/java/functions/create.md
+++ b/docs/examples/java/functions/create.md
@@ -11,8 +11,8 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.create(
- "", // functionId
- "", // name
+ "{$example}", // functionId
+ "{$example}", // name
.NODE_14_5, // runtime
listOf("any"), // execute (optional)
listOf(), // events (optional)
@@ -20,18 +20,18 @@ functions.create(
1, // timeout (optional)
false, // enabled (optional)
false, // logging (optional)
- "", // entrypoint (optional)
- "", // commands (optional)
+ "{$example}", // entrypoint (optional)
+ "{$example}", // commands (optional)
listOf(), // scopes (optional)
- "", // installationId (optional)
- "", // providerRepositoryId (optional)
- "", // providerBranch (optional)
+ "{$example}", // installationId (optional)
+ "{$example}", // providerRepositoryId (optional)
+ "{$example}", // providerBranch (optional)
false, // providerSilentMode (optional)
- "", // providerRootDirectory (optional)
- "", // templateRepository (optional)
- "", // templateOwner (optional)
- "", // templateRootDirectory (optional)
- "", // templateVersion (optional)
+ "{$example}", // providerRootDirectory (optional)
+ "{$example}", // templateRepository (optional)
+ "{$example}", // templateOwner (optional)
+ "{$example}", // templateRootDirectory (optional)
+ "{$example}", // templateVersion (optional)
"", // specification (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/functions/delete-deployment.md b/docs/examples/java/functions/delete-deployment.md
index f115bcc..9157299 100644
--- a/docs/examples/java/functions/delete-deployment.md
+++ b/docs/examples/java/functions/delete-deployment.md
@@ -10,8 +10,8 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.deleteDeployment(
- "", // functionId
- "", // deploymentId
+ "{$example}", // functionId
+ "{$example}", // deploymentId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/delete-execution.md b/docs/examples/java/functions/delete-execution.md
index 68c11bd..4240e03 100644
--- a/docs/examples/java/functions/delete-execution.md
+++ b/docs/examples/java/functions/delete-execution.md
@@ -10,8 +10,8 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.deleteExecution(
- "", // functionId
- "", // executionId
+ "{$example}", // functionId
+ "{$example}", // executionId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/delete-variable.md b/docs/examples/java/functions/delete-variable.md
index ca4d4f4..b0301e6 100644
--- a/docs/examples/java/functions/delete-variable.md
+++ b/docs/examples/java/functions/delete-variable.md
@@ -10,8 +10,8 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.deleteVariable(
- "", // functionId
- "", // variableId
+ "{$example}", // functionId
+ "{$example}", // variableId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/delete.md b/docs/examples/java/functions/delete.md
index 94c7da5..93af02e 100644
--- a/docs/examples/java/functions/delete.md
+++ b/docs/examples/java/functions/delete.md
@@ -10,7 +10,7 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.delete(
- "", // functionId
+ "{$example}", // functionId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/get-deployment-download.md b/docs/examples/java/functions/get-deployment-download.md
index 719d662..0332a1e 100644
--- a/docs/examples/java/functions/get-deployment-download.md
+++ b/docs/examples/java/functions/get-deployment-download.md
@@ -10,8 +10,8 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.getDeploymentDownload(
- "", // functionId
- "", // deploymentId
+ "{$example}", // functionId
+ "{$example}", // deploymentId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/get-deployment.md b/docs/examples/java/functions/get-deployment.md
index f039bee..f70eb0c 100644
--- a/docs/examples/java/functions/get-deployment.md
+++ b/docs/examples/java/functions/get-deployment.md
@@ -10,8 +10,8 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.getDeployment(
- "", // functionId
- "", // deploymentId
+ "{$example}", // functionId
+ "{$example}", // deploymentId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/get-execution.md b/docs/examples/java/functions/get-execution.md
index 253ff54..7c8bcec 100644
--- a/docs/examples/java/functions/get-execution.md
+++ b/docs/examples/java/functions/get-execution.md
@@ -10,8 +10,8 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.getExecution(
- "", // functionId
- "", // executionId
+ "{$example}", // functionId
+ "{$example}", // executionId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/get-variable.md b/docs/examples/java/functions/get-variable.md
index 3d01fa4..508034d 100644
--- a/docs/examples/java/functions/get-variable.md
+++ b/docs/examples/java/functions/get-variable.md
@@ -10,8 +10,8 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.getVariable(
- "", // functionId
- "", // variableId
+ "{$example}", // functionId
+ "{$example}", // variableId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/get.md b/docs/examples/java/functions/get.md
index c22ccca..e854d7f 100644
--- a/docs/examples/java/functions/get.md
+++ b/docs/examples/java/functions/get.md
@@ -10,7 +10,7 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.get(
- "", // functionId
+ "{$example}", // functionId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/list-deployments.md b/docs/examples/java/functions/list-deployments.md
index 9a1f1ef..62a4f05 100644
--- a/docs/examples/java/functions/list-deployments.md
+++ b/docs/examples/java/functions/list-deployments.md
@@ -10,9 +10,9 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.listDeployments(
- "", // functionId
+ "{$example}", // functionId
listOf(), // queries (optional)
- "", // search (optional)
+ "{$example}", // search (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/list-executions.md b/docs/examples/java/functions/list-executions.md
index f2faa02..a67d2ef 100644
--- a/docs/examples/java/functions/list-executions.md
+++ b/docs/examples/java/functions/list-executions.md
@@ -10,9 +10,9 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.listExecutions(
- "", // functionId
+ "{$example}", // functionId
listOf(), // queries (optional)
- "", // search (optional)
+ "{$example}", // search (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/list-variables.md b/docs/examples/java/functions/list-variables.md
index 1e1e0e7..8c0b845 100644
--- a/docs/examples/java/functions/list-variables.md
+++ b/docs/examples/java/functions/list-variables.md
@@ -10,7 +10,7 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.listVariables(
- "", // functionId
+ "{$example}", // functionId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/list.md b/docs/examples/java/functions/list.md
index 1c501fd..e37aa87 100644
--- a/docs/examples/java/functions/list.md
+++ b/docs/examples/java/functions/list.md
@@ -11,7 +11,7 @@ Functions functions = new Functions(client);
functions.list(
listOf(), // queries (optional)
- "", // search (optional)
+ "{$example}", // search (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/update-deployment-build.md b/docs/examples/java/functions/update-deployment-build.md
index 62b684f..fdb9ae1 100644
--- a/docs/examples/java/functions/update-deployment-build.md
+++ b/docs/examples/java/functions/update-deployment-build.md
@@ -10,8 +10,8 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.updateDeploymentBuild(
- "", // functionId
- "", // deploymentId
+ "{$example}", // functionId
+ "{$example}", // deploymentId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/update-deployment.md b/docs/examples/java/functions/update-deployment.md
index 8d28501..fc03550 100644
--- a/docs/examples/java/functions/update-deployment.md
+++ b/docs/examples/java/functions/update-deployment.md
@@ -10,8 +10,8 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.updateDeployment(
- "", // functionId
- "", // deploymentId
+ "{$example}", // functionId
+ "{$example}", // deploymentId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/update-variable.md b/docs/examples/java/functions/update-variable.md
index 4e0576e..1ac49ab 100644
--- a/docs/examples/java/functions/update-variable.md
+++ b/docs/examples/java/functions/update-variable.md
@@ -10,10 +10,10 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.updateVariable(
- "", // functionId
- "", // variableId
- "", // key
- "", // value (optional)
+ "{$example}", // functionId
+ "{$example}", // variableId
+ "{$example}", // key
+ "{$example}", // value (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/update.md b/docs/examples/java/functions/update.md
index c63dfb4..3afaea6 100644
--- a/docs/examples/java/functions/update.md
+++ b/docs/examples/java/functions/update.md
@@ -10,8 +10,8 @@ Client client = new Client()
Functions functions = new Functions(client);
functions.update(
- "", // functionId
- "", // name
+ "{$example}", // functionId
+ "{$example}", // name
.NODE_14_5, // runtime (optional)
listOf("any"), // execute (optional)
listOf(), // events (optional)
@@ -19,14 +19,14 @@ functions.update(
1, // timeout (optional)
false, // enabled (optional)
false, // logging (optional)
- "", // entrypoint (optional)
- "", // commands (optional)
+ "{$example}", // entrypoint (optional)
+ "{$example}", // commands (optional)
listOf(), // scopes (optional)
- "", // installationId (optional)
- "", // providerRepositoryId (optional)
- "", // providerBranch (optional)
+ "{$example}", // installationId (optional)
+ "{$example}", // providerRepositoryId (optional)
+ "{$example}", // providerBranch (optional)
false, // providerSilentMode (optional)
- "", // providerRootDirectory (optional)
+ "{$example}", // providerRootDirectory (optional)
"", // specification (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/health/get-queue-databases.md b/docs/examples/java/health/get-queue-databases.md
index 7f34b19..21d30aa 100644
--- a/docs/examples/java/health/get-queue-databases.md
+++ b/docs/examples/java/health/get-queue-databases.md
@@ -10,7 +10,7 @@ Client client = new Client()
Health health = new Health(client);
health.getQueueDatabases(
- "", // name (optional)
+ "{$example}", // name (optional)
0, // threshold (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/messaging/create-apns-provider.md b/docs/examples/java/messaging/create-apns-provider.md
index 5dde983..ad6a7ef 100644
--- a/docs/examples/java/messaging/create-apns-provider.md
+++ b/docs/examples/java/messaging/create-apns-provider.md
@@ -10,12 +10,12 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.createApnsProvider(
- "", // providerId
- "", // name
- "", // authKey (optional)
- "", // authKeyId (optional)
- "", // teamId (optional)
- "", // bundleId (optional)
+ "{$example}", // providerId
+ "{$example}", // name
+ "{$example}", // authKey (optional)
+ "{$example}", // authKeyId (optional)
+ "{$example}", // teamId (optional)
+ "{$example}", // bundleId (optional)
false, // sandbox (optional)
false, // enabled (optional)
new CoroutineCallback<>((result, error) -> {
diff --git a/docs/examples/java/messaging/create-email.md b/docs/examples/java/messaging/create-email.md
index 753a89b..edb5381 100644
--- a/docs/examples/java/messaging/create-email.md
+++ b/docs/examples/java/messaging/create-email.md
@@ -10,9 +10,9 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.createEmail(
- "", // messageId
- "", // subject
- "", // content
+ "{$example}", // messageId
+ "{$example}", // subject
+ "{$example}", // content
listOf(), // topics (optional)
listOf(), // users (optional)
listOf(), // targets (optional)
diff --git a/docs/examples/java/messaging/create-fcm-provider.md b/docs/examples/java/messaging/create-fcm-provider.md
index 1078514..19ecb62 100644
--- a/docs/examples/java/messaging/create-fcm-provider.md
+++ b/docs/examples/java/messaging/create-fcm-provider.md
@@ -10,8 +10,8 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.createFcmProvider(
- "", // providerId
- "", // name
+ "{$example}", // providerId
+ "{$example}", // name
mapOf( "a" to "b" ), // serviceAccountJSON (optional)
false, // enabled (optional)
new CoroutineCallback<>((result, error) -> {
diff --git a/docs/examples/java/messaging/create-mailgun-provider.md b/docs/examples/java/messaging/create-mailgun-provider.md
index 4b2a7bd..d04bc4a 100644
--- a/docs/examples/java/messaging/create-mailgun-provider.md
+++ b/docs/examples/java/messaging/create-mailgun-provider.md
@@ -10,15 +10,15 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.createMailgunProvider(
- "", // providerId
- "", // name
- "", // apiKey (optional)
- "", // domain (optional)
+ "{$example}", // providerId
+ "{$example}", // name
+ "{$example}", // apiKey (optional)
+ "{$example}", // domain (optional)
false, // isEuRegion (optional)
- "", // fromName (optional)
- "email@example.com", // fromEmail (optional)
- "", // replyToName (optional)
- "email@example.com", // replyToEmail (optional)
+ "{$example}", // fromName (optional)
+ "{$example}", // fromEmail (optional)
+ "{$example}", // replyToName (optional)
+ "{$example}", // replyToEmail (optional)
false, // enabled (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/messaging/create-msg91provider.md b/docs/examples/java/messaging/create-msg91provider.md
index 6cc120c..c6e6c4e 100644
--- a/docs/examples/java/messaging/create-msg91provider.md
+++ b/docs/examples/java/messaging/create-msg91provider.md
@@ -10,11 +10,11 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.createMsg91Provider(
- "", // providerId
- "", // name
- "", // templateId (optional)
- "", // senderId (optional)
- "", // authKey (optional)
+ "{$example}", // providerId
+ "{$example}", // name
+ "{$example}", // templateId (optional)
+ "{$example}", // senderId (optional)
+ "{$example}", // authKey (optional)
false, // enabled (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/messaging/create-push.md b/docs/examples/java/messaging/create-push.md
index 934f1fa..a860a8d 100644
--- a/docs/examples/java/messaging/create-push.md
+++ b/docs/examples/java/messaging/create-push.md
@@ -10,20 +10,20 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.createPush(
- "", // messageId
- "", // title
- "", // body
+ "{$example}", // messageId
+ "{$example}", // title
+ "{$example}", // body
listOf(), // topics (optional)
listOf(), // users (optional)
listOf(), // targets (optional)
mapOf( "a" to "b" ), // data (optional)
- "", // action (optional)
- "[ID1:ID2]", // image (optional)
- "", // icon (optional)
- "", // sound (optional)
- "", // color (optional)
- "", // tag (optional)
- "", // badge (optional)
+ "{$example}", // action (optional)
+ "{$example}", // image (optional)
+ "{$example}", // icon (optional)
+ "{$example}", // sound (optional)
+ "{$example}", // color (optional)
+ "{$example}", // tag (optional)
+ "{$example}", // badge (optional)
false, // draft (optional)
"", // scheduledAt (optional)
new CoroutineCallback<>((result, error) -> {
diff --git a/docs/examples/java/messaging/create-sendgrid-provider.md b/docs/examples/java/messaging/create-sendgrid-provider.md
index 20e1274..325da4c 100644
--- a/docs/examples/java/messaging/create-sendgrid-provider.md
+++ b/docs/examples/java/messaging/create-sendgrid-provider.md
@@ -10,13 +10,13 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.createSendgridProvider(
- "", // providerId
- "", // name
- "", // apiKey (optional)
- "", // fromName (optional)
- "email@example.com", // fromEmail (optional)
- "", // replyToName (optional)
- "email@example.com", // replyToEmail (optional)
+ "{$example}", // providerId
+ "{$example}", // name
+ "{$example}", // apiKey (optional)
+ "{$example}", // fromName (optional)
+ "{$example}", // fromEmail (optional)
+ "{$example}", // replyToName (optional)
+ "{$example}", // replyToEmail (optional)
false, // enabled (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/messaging/create-sms.md b/docs/examples/java/messaging/create-sms.md
index 60e1749..17bf81e 100644
--- a/docs/examples/java/messaging/create-sms.md
+++ b/docs/examples/java/messaging/create-sms.md
@@ -10,8 +10,8 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.createSms(
- "", // messageId
- "", // content
+ "{$example}", // messageId
+ "{$example}", // content
listOf(), // topics (optional)
listOf(), // users (optional)
listOf(), // targets (optional)
diff --git a/docs/examples/java/messaging/create-smtp-provider.md b/docs/examples/java/messaging/create-smtp-provider.md
index 3f69f61..8c3671b 100644
--- a/docs/examples/java/messaging/create-smtp-provider.md
+++ b/docs/examples/java/messaging/create-smtp-provider.md
@@ -10,19 +10,19 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.createSmtpProvider(
- "", // providerId
- "", // name
- "", // host
+ "{$example}", // providerId
+ "{$example}", // name
+ "{$example}", // host
1, // port (optional)
- "", // username (optional)
- "", // password (optional)
+ "{$example}", // username (optional)
+ "{$example}", // password (optional)
SmtpEncryption.NONE, // encryption (optional)
false, // autoTLS (optional)
- "", // mailer (optional)
- "", // fromName (optional)
- "email@example.com", // fromEmail (optional)
- "", // replyToName (optional)
- "email@example.com", // replyToEmail (optional)
+ "{$example}", // mailer (optional)
+ "{$example}", // fromName (optional)
+ "{$example}", // fromEmail (optional)
+ "{$example}", // replyToName (optional)
+ "{$example}", // replyToEmail (optional)
false, // enabled (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/messaging/create-subscriber.md b/docs/examples/java/messaging/create-subscriber.md
index 77ef2d5..4ed2672 100644
--- a/docs/examples/java/messaging/create-subscriber.md
+++ b/docs/examples/java/messaging/create-subscriber.md
@@ -10,9 +10,9 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.createSubscriber(
- "", // topicId
- "", // subscriberId
- "", // targetId
+ "{$example}", // topicId
+ "{$example}", // subscriberId
+ "{$example}", // targetId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/messaging/create-telesign-provider.md b/docs/examples/java/messaging/create-telesign-provider.md
index f660814..3d9430f 100644
--- a/docs/examples/java/messaging/create-telesign-provider.md
+++ b/docs/examples/java/messaging/create-telesign-provider.md
@@ -10,11 +10,11 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.createTelesignProvider(
- "", // providerId
- "", // name
- "+12065550100", // from (optional)
- "", // customerId (optional)
- "", // apiKey (optional)
+ "{$example}", // providerId
+ "{$example}", // name
+ "{$example}", // from (optional)
+ "{$example}", // customerId (optional)
+ "{$example}", // apiKey (optional)
false, // enabled (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/messaging/create-textmagic-provider.md b/docs/examples/java/messaging/create-textmagic-provider.md
index cda11d5..b708e20 100644
--- a/docs/examples/java/messaging/create-textmagic-provider.md
+++ b/docs/examples/java/messaging/create-textmagic-provider.md
@@ -10,11 +10,11 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.createTextmagicProvider(
- "", // providerId
- "", // name
- "+12065550100", // from (optional)
- "", // username (optional)
- "", // apiKey (optional)
+ "{$example}", // providerId
+ "{$example}", // name
+ "{$example}", // from (optional)
+ "{$example}", // username (optional)
+ "{$example}", // apiKey (optional)
false, // enabled (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/messaging/create-topic.md b/docs/examples/java/messaging/create-topic.md
index 8fa74d8..aa27cca 100644
--- a/docs/examples/java/messaging/create-topic.md
+++ b/docs/examples/java/messaging/create-topic.md
@@ -10,8 +10,8 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.createTopic(
- "", // topicId
- "", // name
+ "{$example}", // topicId
+ "{$example}", // name
listOf("any"), // subscribe (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/messaging/create-twilio-provider.md b/docs/examples/java/messaging/create-twilio-provider.md
index a122837..4f3e5bd 100644
--- a/docs/examples/java/messaging/create-twilio-provider.md
+++ b/docs/examples/java/messaging/create-twilio-provider.md
@@ -10,11 +10,11 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.createTwilioProvider(
- "", // providerId
- "", // name
- "+12065550100", // from (optional)
- "", // accountSid (optional)
- "", // authToken (optional)
+ "{$example}", // providerId
+ "{$example}", // name
+ "{$example}", // from (optional)
+ "{$example}", // accountSid (optional)
+ "{$example}", // authToken (optional)
false, // enabled (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/messaging/create-vonage-provider.md b/docs/examples/java/messaging/create-vonage-provider.md
index 808ca0c..38dd2c1 100644
--- a/docs/examples/java/messaging/create-vonage-provider.md
+++ b/docs/examples/java/messaging/create-vonage-provider.md
@@ -10,11 +10,11 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.createVonageProvider(
- "", // providerId
- "", // name
- "+12065550100", // from (optional)
- "", // apiKey (optional)
- "", // apiSecret (optional)
+ "{$example}", // providerId
+ "{$example}", // name
+ "{$example}", // from (optional)
+ "{$example}", // apiKey (optional)
+ "{$example}", // apiSecret (optional)
false, // enabled (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
diff --git a/docs/examples/java/messaging/delete-provider.md b/docs/examples/java/messaging/delete-provider.md
index e1337dc..9166e20 100644
--- a/docs/examples/java/messaging/delete-provider.md
+++ b/docs/examples/java/messaging/delete-provider.md
@@ -10,7 +10,7 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.deleteProvider(
- "", // providerId
+ "{$example}", // providerId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/messaging/delete-subscriber.md b/docs/examples/java/messaging/delete-subscriber.md
index c80fc72..0bbebfb 100644
--- a/docs/examples/java/messaging/delete-subscriber.md
+++ b/docs/examples/java/messaging/delete-subscriber.md
@@ -10,8 +10,8 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.deleteSubscriber(
- "", // topicId
- "", // subscriberId
+ "{$example}", // topicId
+ "{$example}", // subscriberId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/messaging/delete-topic.md b/docs/examples/java/messaging/delete-topic.md
index 9c51144..bb2d98b 100644
--- a/docs/examples/java/messaging/delete-topic.md
+++ b/docs/examples/java/messaging/delete-topic.md
@@ -10,7 +10,7 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.deleteTopic(
- "", // topicId
+ "{$example}", // topicId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/messaging/delete.md b/docs/examples/java/messaging/delete.md
index f90336a..e5d62f1 100644
--- a/docs/examples/java/messaging/delete.md
+++ b/docs/examples/java/messaging/delete.md
@@ -10,7 +10,7 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.delete(
- "", // messageId
+ "{$example}", // messageId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/messaging/get-message.md b/docs/examples/java/messaging/get-message.md
index 5e940cf..142c018 100644
--- a/docs/examples/java/messaging/get-message.md
+++ b/docs/examples/java/messaging/get-message.md
@@ -10,7 +10,7 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.getMessage(
- "", // messageId
+ "{$example}", // messageId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/messaging/get-provider.md b/docs/examples/java/messaging/get-provider.md
index 74ece13..c2338ee 100644
--- a/docs/examples/java/messaging/get-provider.md
+++ b/docs/examples/java/messaging/get-provider.md
@@ -10,7 +10,7 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.getProvider(
- "", // providerId
+ "{$example}", // providerId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/messaging/get-subscriber.md b/docs/examples/java/messaging/get-subscriber.md
index 2e6beaa..a7eab83 100644
--- a/docs/examples/java/messaging/get-subscriber.md
+++ b/docs/examples/java/messaging/get-subscriber.md
@@ -10,8 +10,8 @@ Client client = new Client()
Messaging messaging = new Messaging(client);
messaging.getSubscriber(
- "", // topicId
- "