{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/business:appwrite-client/account-get-current-user":{"get":{"operationId":"business_appwrite_client_account_get_current_user","summary":"Get account","description":"GET /account","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-register-user":{"post":{"operationId":"business_appwrite_client_account_register_user","summary":"Create account","description":"POST /account","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-update-user-email":{"post":{"operationId":"business_appwrite_client_account_update_user_email","summary":"Update email","description":"PATCH /account/email","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-list-identities":{"get":{"operationId":"business_appwrite_client_account_list_identities","summary":"List Identities","description":"GET /account/identities","tags":["business"],"parameters":[{"name":"queries","in":"query","required":false,"description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries).…","schema":{"type":"array","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries).…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-delete-identity-by-id":{"post":{"operationId":"business_appwrite_client_account_delete_identity_by_id","summary":"Delete identity","description":"DELETE /account/identities/{identityId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["identityId"],"properties":{"identityId":{"type":"string","description":"Identity ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-create-jwt":{"post":{"operationId":"business_appwrite_client_account_create_jwt","summary":"Create JWT","description":"POST /account/jwt","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-list-logs":{"get":{"operationId":"business_appwrite_client_account_list_logs","summary":"List logs","description":"GET /account/logs","tags":["business"],"parameters":[{"name":"queries","in":"query","required":false,"description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries).…","schema":{"type":"array","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries).…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-update-mfa-status":{"post":{"operationId":"business_appwrite_client_account_update_mfa_status","summary":"Update MFA","description":"PATCH /account/mfa","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-add-authenticator":{"post":{"operationId":"business_appwrite_client_account_add_authenticator","summary":"Add Authenticator","description":"POST /account/mfa/authenticators/{type}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["totp"],"description":"Type of authenticator. Must be `totp`"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-verify-authenticator":{"post":{"operationId":"business_appwrite_client_account_verify_authenticator","summary":"Verify Authenticator","description":"PUT /account/mfa/authenticators/{type}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["totp"],"description":"Type of authenticator."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-delete-authenticator":{"post":{"operationId":"business_appwrite_client_account_delete_authenticator","summary":"Delete Authenticator","description":"DELETE /account/mfa/authenticators/{type}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["totp"],"description":"Type of authenticator."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-create-mfa-challenge":{"post":{"operationId":"business_appwrite_client_account_create_mfa_challenge","summary":"Create 2FA Challenge","description":"POST /account/mfa/challenge","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-complete-mfa-challenge":{"post":{"operationId":"business_appwrite_client_account_complete_mfa_challenge","summary":"Create MFA Challenge (confirmation)","description":"PUT /account/mfa/challenge","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-list-mfa-factors":{"get":{"operationId":"business_appwrite_client_account_list_mfa_factors","summary":"List Factors","description":"GET /account/mfa/factors","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-get-mfa-recovery-codes":{"get":{"operationId":"business_appwrite_client_account_get_mfa_recovery_codes","summary":"Get MFA Recovery Codes","description":"GET /account/mfa/recovery-codes","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-create-mfa-recovery-codes":{"post":{"operationId":"business_appwrite_client_account_create_mfa_recovery_codes","summary":"Create MFA Recovery Codes","description":"POST /account/mfa/recovery-codes","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-regenerate-mfa-recovery-codes":{"post":{"operationId":"business_appwrite_client_account_regenerate_mfa_recovery_codes","summary":"Regenerate MFA Recovery Codes","description":"PATCH /account/mfa/recovery-codes","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-update-name-operation":{"post":{"operationId":"business_appwrite_client_account_update_name_operation","summary":"Update name","description":"PATCH /account/name","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-update-password":{"post":{"operationId":"business_appwrite_client_account_update_password","summary":"Update password","description":"PATCH /account/password","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-update-phone":{"post":{"operationId":"business_appwrite_client_account_update_phone","summary":"Update phone","description":"PATCH /account/phone","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-get-prefs":{"get":{"operationId":"business_appwrite_client_account_get_prefs","summary":"Get account preferences","description":"GET /account/prefs","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-update-preferences":{"post":{"operationId":"business_appwrite_client_account_update_preferences","summary":"Update preferences","description":"PATCH /account/prefs","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-create-password-recovery":{"post":{"operationId":"business_appwrite_client_account_create_password_recovery","summary":"Create password recovery","description":"POST /account/recovery","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-complete-password-recovery":{"post":{"operationId":"business_appwrite_client_account_complete_password_recovery","summary":"Create password recovery (confirmation)","description":"PUT /account/recovery","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-list-sessions":{"get":{"operationId":"business_appwrite_client_account_list_sessions","summary":"List sessions","description":"GET /account/sessions","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-remove-sessions":{"post":{"operationId":"business_appwrite_client_account_remove_sessions","summary":"Delete sessions","description":"DELETE /account/sessions","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-create-anonymous-session":{"post":{"operationId":"business_appwrite_client_account_create_anonymous_session","summary":"Create anonymous session","description":"POST /account/sessions/anonymous","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-create-email-password-session":{"post":{"operationId":"business_appwrite_client_account_create_email_password_session","summary":"Create email password session","description":"POST /account/sessions/email","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-update-magic-url-session":{"post":{"operationId":"business_appwrite_client_account_update_magic_url_session","summary":"Update magic URL session","description":"PUT /account/sessions/magic-url","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-create-oauth2-session":{"get":{"operationId":"business_appwrite_client_account_create_oauth2_session","summary":"Create OAuth2 session","description":"GET /account/sessions/oauth2/{provider}","tags":["business"],"parameters":[{"name":"provider","in":"query","required":true,"description":"OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion,…","schema":{"type":"string","enum":["amazon","apple","auth0","authentik","autodesk","bitbucket","bitly","box","dailymotion","discord","disqus","dropbox","etsy","facebook","github","gitlab","google","linkedin","microsoft","notion","oidc","okta","paypal","paypalSandbox","podio","salesforce","slack","spotify","stripe","tradeshift","tradeshiftBox","twitch","wordpress","yahoo","yammer","yandex","zoho","zoom","mock"],"description":"OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion,…"}},{"name":"success","in":"query","required":false,"description":"URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed.…","schema":{"type":"string","default":"","description":"URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed.…"}},{"name":"failure","in":"query","required":false,"description":"URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This…","schema":{"type":"string","default":"","description":"URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This…"}},{"name":"scopes","in":"query","required":false,"description":"A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each…","schema":{"type":"array","description":"A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-update-phone-session":{"post":{"operationId":"business_appwrite_client_account_update_phone_session","summary":"Update phone session","description":"PUT /account/sessions/phone","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-create-session-from-token":{"post":{"operationId":"business_appwrite_client_account_create_session_from_token","summary":"Create session","description":"POST /account/sessions/token","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-get-session":{"get":{"operationId":"business_appwrite_client_account_get_session","summary":"Get session","description":"GET /account/sessions/{sessionId}","tags":["business"],"parameters":[{"name":"sessionId","in":"query","required":true,"description":"Session ID. Use the string 'current' to get the current device session.","schema":{"type":"string","description":"Session ID. Use the string 'current' to get the current device session."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-extend-session-length":{"post":{"operationId":"business_appwrite_client_account_extend_session_length","summary":"Update session","description":"PATCH /account/sessions/{sessionId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sessionId"],"properties":{"sessionId":{"type":"string","description":"Session ID. Use the string 'current' to update the current device session."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-logout-session-by-id":{"post":{"operationId":"business_appwrite_client_account_logout_session_by_id","summary":"Delete session","description":"DELETE /account/sessions/{sessionId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sessionId"],"properties":{"sessionId":{"type":"string","description":"Session ID. Use the string 'current' to delete the current device session."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-block-user-status":{"post":{"operationId":"business_appwrite_client_account_block_user_status","summary":"Update status","description":"PATCH /account/status","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-create-push-target":{"post":{"operationId":"business_appwrite_client_account_create_push_target","summary":"Create push target","description":"POST /account/targets/push","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-update-push-target":{"post":{"operationId":"business_appwrite_client_account_update_push_target","summary":"Update push target","description":"PUT /account/targets/{targetId}/push","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["targetId"],"properties":{"targetId":{"type":"string","description":"Target ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-delete-push-target":{"post":{"operationId":"business_appwrite_client_account_delete_push_target","summary":"Delete push target","description":"DELETE /account/targets/{targetId}/push","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["targetId"],"properties":{"targetId":{"type":"string","description":"Target ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-create-email-token":{"post":{"operationId":"business_appwrite_client_account_create_email_token","summary":"Create email token (OTP)","description":"POST /account/tokens/email","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-create-magic-url-token":{"post":{"operationId":"business_appwrite_client_account_create_magic_url_token","summary":"Create magic URL token","description":"POST /account/tokens/magic-url","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-create-oauth2-token":{"get":{"operationId":"business_appwrite_client_account_create_oauth2_token","summary":"Create OAuth2 token","description":"GET /account/tokens/oauth2/{provider}","tags":["business"],"parameters":[{"name":"provider","in":"query","required":true,"description":"OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion,…","schema":{"type":"string","enum":["amazon","apple","auth0","authentik","autodesk","bitbucket","bitly","box","dailymotion","discord","disqus","dropbox","etsy","facebook","github","gitlab","google","linkedin","microsoft","notion","oidc","okta","paypal","paypalSandbox","podio","salesforce","slack","spotify","stripe","tradeshift","tradeshiftBox","twitch","wordpress","yahoo","yammer","yandex","zoho","zoom","mock"],"description":"OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion,…"}},{"name":"success","in":"query","required":false,"description":"URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed.…","schema":{"type":"string","default":"","description":"URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed.…"}},{"name":"failure","in":"query","required":false,"description":"URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This…","schema":{"type":"string","default":"","description":"URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This…"}},{"name":"scopes","in":"query","required":false,"description":"A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each…","schema":{"type":"array","description":"A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-create-phone-token":{"post":{"operationId":"business_appwrite_client_account_create_phone_token","summary":"Create phone token","description":"POST /account/tokens/phone","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-create-email-verification":{"post":{"operationId":"business_appwrite_client_account_create_email_verification","summary":"Create email verification","description":"POST /account/verification","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-create-email-verification-2":{"post":{"operationId":"business_appwrite_client_account_create_email_verification_2","summary":"Create email verification (confirmation)","description":"PUT /account/verification","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-create-phone-verification":{"post":{"operationId":"business_appwrite_client_account_create_phone_verification","summary":"Create phone verification","description":"POST /account/verification/phone","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/account-confirm-phone-verification":{"post":{"operationId":"business_appwrite_client_account_confirm_phone_verification","summary":"Create phone verification (confirmation)","description":"PUT /account/verification/phone","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/avatars-get-browser-icon-by-code":{"get":{"operationId":"business_appwrite_client_avatars_get_browser_icon_by_code","summary":"Get browser icon","description":"GET /avatars/browsers/{code}","tags":["business"],"parameters":[{"name":"code","in":"query","required":true,"description":"Browser Code.","schema":{"type":"string","enum":["aa","an","ch","ci","cm","cr","ff","sf","mf","ps","oi","om","op","on"],"description":"Browser Code."}},{"name":"width","in":"query","required":false,"description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","schema":{"type":"integer","default":100,"description":"Image width. Pass an integer between 0 to 2000. Defaults to 100."}},{"name":"height","in":"query","required":false,"description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","schema":{"type":"integer","default":100,"description":"Image height. Pass an integer between 0 to 2000. Defaults to 100."}},{"name":"quality","in":"query","required":false,"description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","schema":{"type":"integer","default":100,"description":"Image quality. Pass an integer between 0 to 100. Defaults to 100."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/avatars-get-credit-card-icon":{"get":{"operationId":"business_appwrite_client_avatars_get_credit_card_icon","summary":"Get credit card icon","description":"GET /avatars/credit-cards/{code}","tags":["business"],"parameters":[{"name":"code","in":"query","required":true,"description":"Credit Card Code. Possible values: amex, argencard, cabal, censosud, diners, discover, elo, hipercard, jcb, mastercard, naranja,…","schema":{"type":"string","enum":["amex","argencard","cabal","censosud","diners","discover","elo","hipercard","jcb","mastercard","naranja","targeta-shopping","union-china-pay","visa","mir","maestro"],"description":"Credit Card Code. Possible values: amex, argencard, cabal, censosud, diners, discover, elo, hipercard, jcb, mastercard, naranja,…"}},{"name":"width","in":"query","required":false,"description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","schema":{"type":"integer","default":100,"description":"Image width. Pass an integer between 0 to 2000. Defaults to 100."}},{"name":"height","in":"query","required":false,"description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","schema":{"type":"integer","default":100,"description":"Image height. Pass an integer between 0 to 2000. Defaults to 100."}},{"name":"quality","in":"query","required":false,"description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","schema":{"type":"integer","default":100,"description":"Image quality. Pass an integer between 0 to 100. Defaults to 100."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/avatars-get-favicon":{"get":{"operationId":"business_appwrite_client_avatars_get_favicon","summary":"Get favicon","description":"GET /avatars/favicon","tags":["business"],"parameters":[{"name":"url","in":"query","required":true,"description":"Website URL which you want to fetch the favicon from.","schema":{"type":"string","description":"Website URL which you want to fetch the favicon from."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/avatars-get-country-flag-by-code":{"get":{"operationId":"business_appwrite_client_avatars_get_country_flag_by_code","summary":"Get country flag","description":"GET /avatars/flags/{code}","tags":["business"],"parameters":[{"name":"code","in":"query","required":true,"description":"Country Code. ISO Alpha-2 country code format.","schema":{"type":"string","description":"Country Code. ISO Alpha-2 country code format."}},{"name":"width","in":"query","required":false,"description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","schema":{"type":"integer","default":100,"description":"Image width. Pass an integer between 0 to 2000. Defaults to 100."}},{"name":"height","in":"query","required":false,"description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","schema":{"type":"integer","default":100,"description":"Image height. Pass an integer between 0 to 2000. Defaults to 100."}},{"name":"quality","in":"query","required":false,"description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","schema":{"type":"integer","default":100,"description":"Image quality. Pass an integer between 0 to 100. Defaults to 100."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/avatars-get-remote-image":{"get":{"operationId":"business_appwrite_client_avatars_get_remote_image","summary":"Get image from URL","description":"GET /avatars/image","tags":["business"],"parameters":[{"name":"url","in":"query","required":true,"description":"Image URL which you want to crop.","schema":{"type":"string","description":"Image URL which you want to crop."}},{"name":"width","in":"query","required":false,"description":"Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.","schema":{"type":"integer","default":400,"description":"Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400."}},{"name":"height","in":"query","required":false,"description":"Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.","schema":{"type":"integer","default":400,"description":"Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/avatars-get-user-initials":{"get":{"operationId":"business_appwrite_client_avatars_get_user_initials","summary":"Get user initials","description":"GET /avatars/initials","tags":["business"],"parameters":[{"name":"name","in":"query","required":false,"description":"Full Name. When empty, current user name or email will be used. Max length: 128 chars.","schema":{"type":"string","default":"","description":"Full Name. When empty, current user name or email will be used. Max length: 128 chars."}},{"name":"width","in":"query","required":false,"description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","schema":{"type":"integer","default":500,"description":"Image width. Pass an integer between 0 to 2000. Defaults to 100."}},{"name":"height","in":"query","required":false,"description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","schema":{"type":"integer","default":500,"description":"Image height. Pass an integer between 0 to 2000. Defaults to 100."}},{"name":"background","in":"query","required":false,"description":"Changes background color. By default a random color will be picked and stay will persistent to the given name.","schema":{"type":"string","default":"","description":"Changes background color. By default a random color will be picked and stay will persistent to the given name."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/avatars-generate-qr-code-image":{"get":{"operationId":"business_appwrite_client_avatars_generate_qr_code_image","summary":"Get QR code","description":"GET /avatars/qr","tags":["business"],"parameters":[{"name":"text","in":"query","required":true,"description":"Plain text to be converted to QR code image.","schema":{"type":"string","description":"Plain text to be converted to QR code image."}},{"name":"size","in":"query","required":false,"description":"QR code size. Pass an integer between 1 to 1000. Defaults to 400.","schema":{"type":"integer","default":400,"description":"QR code size. Pass an integer between 1 to 1000. Defaults to 400."}},{"name":"margin","in":"query","required":false,"description":"Margin from edge. Pass an integer between 0 to 10. Defaults to 1.","schema":{"type":"integer","default":1,"description":"Margin from edge. Pass an integer between 0 to 10. Defaults to 1."}},{"name":"download","in":"query","required":false,"description":"Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1…","schema":{"type":"boolean","default":false,"description":"Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/databases-list-user-documents":{"get":{"operationId":"business_appwrite_client_databases_list_user_documents","summary":"List documents","description":"GET /databases/{databaseId}/collections/{collectionId}/documents","tags":["business"],"parameters":[{"name":"databaseId","in":"query","required":true,"description":"Database ID.","schema":{"type":"string","description":"Database ID."}},{"name":"collectionId","in":"query","required":true,"description":"Collection ID. You can create a new collection using the Database service [server…","schema":{"type":"string","description":"Collection ID. You can create a new collection using the Database service [server…"}},{"name":"queries","in":"query","required":false,"description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries).…","schema":{"type":"array","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries).…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/databases-create-document":{"post":{"operationId":"business_appwrite_client_databases_create_document","summary":"Create document","description":"POST /databases/{databaseId}/collections/{collectionId}/documents","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["databaseId","collectionId"],"properties":{"databaseId":{"type":"string","description":"Database ID."},"collectionId":{"type":"string","description":"Collection ID. You can create a new collection using the Database service [server…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/databases-get-document-by-id":{"get":{"operationId":"business_appwrite_client_databases_get_document_by_id","summary":"Get document","description":"GET /databases/{databaseId}/collections/{collectionId}/documents/{documentId}","tags":["business"],"parameters":[{"name":"databaseId","in":"query","required":true,"description":"Database ID.","schema":{"type":"string","description":"Database ID."}},{"name":"collectionId","in":"query","required":true,"description":"Collection ID. You can create a new collection using the Database service [server…","schema":{"type":"string","description":"Collection ID. You can create a new collection using the Database service [server…"}},{"name":"documentId","in":"query","required":true,"description":"Document ID.","schema":{"type":"string","description":"Document ID."}},{"name":"queries","in":"query","required":false,"description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries).…","schema":{"type":"array","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries).…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/databases-update-document-by-id":{"post":{"operationId":"business_appwrite_client_databases_update_document_by_id","summary":"Update document","description":"PATCH /databases/{databaseId}/collections/{collectionId}/documents/{documentId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["databaseId","collectionId","documentId"],"properties":{"databaseId":{"type":"string","description":"Database ID."},"collectionId":{"type":"string","description":"Collection ID."},"documentId":{"type":"string","description":"Document ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/databases-delete-document-by-id":{"post":{"operationId":"business_appwrite_client_databases_delete_document_by_id","summary":"Delete document","description":"DELETE /databases/{databaseId}/collections/{collectionId}/documents/{documentId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["databaseId","collectionId","documentId"],"properties":{"databaseId":{"type":"string","description":"Database ID."},"collectionId":{"type":"string","description":"Collection ID. You can create a new collection using the Database service [server…"},"documentId":{"type":"string","description":"Document ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/functions-list-executions":{"get":{"operationId":"business_appwrite_client_functions_list_executions","summary":"List executions","description":"GET /functions/{functionId}/executions","tags":["business"],"parameters":[{"name":"functionId","in":"query","required":true,"description":"Function ID.","schema":{"type":"string","description":"Function ID."}},{"name":"queries","in":"query","required":false,"description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries).…","schema":{"type":"array","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries).…"}},{"name":"search","in":"query","required":false,"description":"Search term to filter your list results. Max length: 256 chars.","schema":{"type":"string","default":"","description":"Search term to filter your list results. Max length: 256 chars."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/functions-trigger-function-execution":{"post":{"operationId":"business_appwrite_client_functions_trigger_function_execution","summary":"Create execution","description":"POST /functions/{functionId}/executions","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["functionId"],"properties":{"functionId":{"type":"string","description":"Function ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/functions-get-execution-log":{"get":{"operationId":"business_appwrite_client_functions_get_execution_log","summary":"Get execution","description":"GET /functions/{functionId}/executions/{executionId}","tags":["business"],"parameters":[{"name":"functionId","in":"query","required":true,"description":"Function ID.","schema":{"type":"string","description":"Function ID."}},{"name":"executionId","in":"query","required":true,"description":"Execution ID.","schema":{"type":"string","description":"Execution ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/graphql-execute-mutation":{"post":{"operationId":"business_appwrite_client_graphql_execute_mutation","summary":"GraphQL endpoint","description":"POST /graphql","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/graphql-execute-mutation-operation":{"post":{"operationId":"business_appwrite_client_graphql_execute_mutation_operation","summary":"GraphQL endpoint","description":"POST /graphql/mutation","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/locale-get-user-locale":{"get":{"operationId":"business_appwrite_client_locale_get_user_locale","summary":"Get user locale","description":"GET /locale","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/locale-list-codes":{"get":{"operationId":"business_appwrite_client_locale_list_codes","summary":"List Locale Codes","description":"GET /locale/codes","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/locale-list-continents":{"get":{"operationId":"business_appwrite_client_locale_list_continents","summary":"List continents","description":"GET /locale/continents","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/locale-list-countries":{"get":{"operationId":"business_appwrite_client_locale_list_countries","summary":"List countries","description":"GET /locale/countries","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/locale-get-eucountries":{"get":{"operationId":"business_appwrite_client_locale_get_eucountries","summary":"List EU countries","description":"GET /locale/countries/eu","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/locale-list-countries-phones":{"get":{"operationId":"business_appwrite_client_locale_list_countries_phones","summary":"List countries phone codes","description":"GET /locale/countries/phones","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/locale-get-currencies":{"get":{"operationId":"business_appwrite_client_locale_get_currencies","summary":"List currencies","description":"GET /locale/currencies","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/locale-list-languages":{"get":{"operationId":"business_appwrite_client_locale_list_languages","summary":"List languages","description":"GET /locale/languages","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/messaging-add-new-subscriber":{"post":{"operationId":"business_appwrite_client_messaging_add_new_subscriber","summary":"Create subscriber","description":"POST /messaging/topics/{topicId}/subscribers","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["topicId"],"properties":{"topicId":{"type":"string","description":"Topic ID. The topic ID to subscribe to."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/messaging-delete-subscriber-by-id":{"post":{"operationId":"business_appwrite_client_messaging_delete_subscriber_by_id","summary":"Delete subscriber","description":"DELETE /messaging/topics/{topicId}/subscribers/{subscriberId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["topicId","subscriberId"],"properties":{"topicId":{"type":"string","description":"Topic ID. The topic ID subscribed to."},"subscriberId":{"type":"string","description":"Subscriber ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/storage-list-files":{"get":{"operationId":"business_appwrite_client_storage_list_files","summary":"List files","description":"GET /storage/buckets/{bucketId}/files","tags":["business"],"parameters":[{"name":"bucketId","in":"query","required":true,"description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server…","schema":{"type":"string","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server…"}},{"name":"queries","in":"query","required":false,"description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries).…","schema":{"type":"array","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries).…"}},{"name":"search","in":"query","required":false,"description":"Search term to filter your list results. Max length: 256 chars.","schema":{"type":"string","default":"","description":"Search term to filter your list results. Max length: 256 chars."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/storage-create-file":{"post":{"operationId":"business_appwrite_client_storage_create_file","summary":"Create file","description":"POST /storage/buckets/{bucketId}/files","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["bucketId"],"properties":{"bucketId":{"type":"string","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server…"},"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/storage-get-file-by-id":{"get":{"operationId":"business_appwrite_client_storage_get_file_by_id","summary":"Get file","description":"GET /storage/buckets/{bucketId}/files/{fileId}","tags":["business"],"parameters":[{"name":"bucketId","in":"query","required":true,"description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server…","schema":{"type":"string","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server…"}},{"name":"fileId","in":"query","required":true,"description":"File ID.","schema":{"type":"string","description":"File ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/storage-update-file-by-id":{"post":{"operationId":"business_appwrite_client_storage_update_file_by_id","summary":"Update file","description":"PUT /storage/buckets/{bucketId}/files/{fileId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["bucketId","fileId"],"properties":{"bucketId":{"type":"string","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server…"},"fileId":{"type":"string","description":"File unique ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/storage-delete-file-by-id":{"post":{"operationId":"business_appwrite_client_storage_delete_file_by_id","summary":"Delete File","description":"DELETE /storage/buckets/{bucketId}/files/{fileId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["bucketId","fileId"],"properties":{"bucketId":{"type":"string","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server…"},"fileId":{"type":"string","description":"File ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/storage-get-file-download":{"get":{"operationId":"business_appwrite_client_storage_get_file_download","summary":"Get file for download","description":"GET /storage/buckets/{bucketId}/files/{fileId}/download","tags":["business"],"parameters":[{"name":"bucketId","in":"query","required":true,"description":"Storage bucket ID. You can create a new storage bucket using the Storage service [server…","schema":{"type":"string","description":"Storage bucket ID. You can create a new storage bucket using the Storage service [server…"}},{"name":"fileId","in":"query","required":true,"description":"File ID.","schema":{"type":"string","description":"File ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/storage-get-file-preview-image":{"get":{"operationId":"business_appwrite_client_storage_get_file_preview_image","summary":"Get file preview","description":"GET /storage/buckets/{bucketId}/files/{fileId}/preview","tags":["business"],"parameters":[{"name":"bucketId","in":"query","required":true,"description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server…","schema":{"type":"string","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server…"}},{"name":"fileId","in":"query","required":true,"description":"File ID","schema":{"type":"string","description":"File ID"}},{"name":"width","in":"query","required":false,"description":"Resize preview image width, Pass an integer between 0 to 4000.","schema":{"type":"integer","default":0,"description":"Resize preview image width, Pass an integer between 0 to 4000."}},{"name":"height","in":"query","required":false,"description":"Resize preview image height, Pass an integer between 0 to 4000.","schema":{"type":"integer","default":0,"description":"Resize preview image height, Pass an integer between 0 to 4000."}},{"name":"gravity","in":"query","required":false,"description":"Image crop gravity. Can be one of center,top-left,top,top-right,left,right,bottom-left,bottom,bottom-right","schema":{"type":"string","enum":["center","top-left","top","top-right","left","right","bottom-left","bottom","bottom-right"],"default":"center","description":"Image crop gravity. Can be one of center,top-left,top,top-right,left,right,bottom-left,bottom,bottom-right"}},{"name":"quality","in":"query","required":false,"description":"Preview image quality. Pass an integer between 0 to 100. Defaults to 100.","schema":{"type":"integer","default":100,"description":"Preview image quality. Pass an integer between 0 to 100. Defaults to 100."}},{"name":"borderWidth","in":"query","required":false,"description":"Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.","schema":{"type":"integer","default":0,"description":"Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0."}},{"name":"borderColor","in":"query","required":false,"description":"Preview image border color. Use a valid HEX color, no # is needed for prefix.","schema":{"type":"string","default":"","description":"Preview image border color. Use a valid HEX color, no # is needed for prefix."}},{"name":"borderRadius","in":"query","required":false,"description":"Preview image border radius in pixels. Pass an integer between 0 to 4000.","schema":{"type":"integer","default":0,"description":"Preview image border radius in pixels. Pass an integer between 0 to 4000."}},{"name":"opacity","in":"query","required":false,"description":"Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1.","schema":{"type":"number","default":1,"description":"Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1."}},{"name":"rotation","in":"query","required":false,"description":"Preview image rotation in degrees. Pass an integer between -360 and 360.","schema":{"type":"integer","default":0,"description":"Preview image rotation in degrees. Pass an integer between -360 and 360."}},{"name":"background","in":"query","required":false,"description":"Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix.","schema":{"type":"string","default":"","description":"Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix."}},{"name":"output","in":"query","required":false,"description":"Output format type (jpeg, jpg, png, gif and webp).","schema":{"type":"string","enum":["jpg","jpeg","gif","png","webp"],"default":"","description":"Output format type (jpeg, jpg, png, gif and webp)."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/storage-get-file-for-view":{"get":{"operationId":"business_appwrite_client_storage_get_file_for_view","summary":"Get file for view","description":"GET /storage/buckets/{bucketId}/files/{fileId}/view","tags":["business"],"parameters":[{"name":"bucketId","in":"query","required":true,"description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server…","schema":{"type":"string","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server…"}},{"name":"fileId","in":"query","required":true,"description":"File ID.","schema":{"type":"string","description":"File ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/teams-get-user-memberships":{"get":{"operationId":"business_appwrite_client_teams_get_user_memberships","summary":"List teams","description":"GET /teams","tags":["business"],"parameters":[{"name":"queries","in":"query","required":false,"description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries).…","schema":{"type":"array","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries).…"}},{"name":"search","in":"query","required":false,"description":"Search term to filter your list results. Max length: 256 chars.","schema":{"type":"string","default":"","description":"Search term to filter your list results. Max length: 256 chars."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/teams-create-new-team":{"post":{"operationId":"business_appwrite_client_teams_create_new_team","summary":"Create team","description":"POST /teams","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/teams-get-by-id":{"get":{"operationId":"business_appwrite_client_teams_get_by_id","summary":"Get team","description":"GET /teams/{teamId}","tags":["business"],"parameters":[{"name":"teamId","in":"query","required":true,"description":"Team ID.","schema":{"type":"string","description":"Team ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/teams-update-name-by-id":{"post":{"operationId":"business_appwrite_client_teams_update_name_by_id","summary":"Update name","description":"PUT /teams/{teamId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["teamId"],"properties":{"teamId":{"type":"string","description":"Team ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/teams-remove-team":{"post":{"operationId":"business_appwrite_client_teams_remove_team","summary":"Delete team","description":"DELETE /teams/{teamId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["teamId"],"properties":{"teamId":{"type":"string","description":"Team ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/teams-list-memberships":{"get":{"operationId":"business_appwrite_client_teams_list_memberships","summary":"List team memberships","description":"GET /teams/{teamId}/memberships","tags":["business"],"parameters":[{"name":"teamId","in":"query","required":true,"description":"Team ID.","schema":{"type":"string","description":"Team ID."}},{"name":"queries","in":"query","required":false,"description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries).…","schema":{"type":"array","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries).…"}},{"name":"search","in":"query","required":false,"description":"Search term to filter your list results. Max length: 256 chars.","schema":{"type":"string","default":"","description":"Search term to filter your list results. Max length: 256 chars."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/teams-create-membership":{"post":{"operationId":"business_appwrite_client_teams_create_membership","summary":"Create team membership","description":"POST /teams/{teamId}/memberships","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["teamId"],"properties":{"teamId":{"type":"string","description":"Team ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/teams-get-membership":{"get":{"operationId":"business_appwrite_client_teams_get_membership","summary":"Get team membership","description":"GET /teams/{teamId}/memberships/{membershipId}","tags":["business"],"parameters":[{"name":"teamId","in":"query","required":true,"description":"Team ID.","schema":{"type":"string","description":"Team ID."}},{"name":"membershipId","in":"query","required":true,"description":"Membership ID.","schema":{"type":"string","description":"Membership ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/teams-update-membership-roles":{"post":{"operationId":"business_appwrite_client_teams_update_membership_roles","summary":"Update membership","description":"PATCH /teams/{teamId}/memberships/{membershipId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["teamId","membershipId"],"properties":{"teamId":{"type":"string","description":"Team ID."},"membershipId":{"type":"string","description":"Membership ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/teams-delete-membership":{"post":{"operationId":"business_appwrite_client_teams_delete_membership","summary":"Delete team membership","description":"DELETE /teams/{teamId}/memberships/{membershipId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["teamId","membershipId"],"properties":{"teamId":{"type":"string","description":"Team ID."},"membershipId":{"type":"string","description":"Membership ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/teams-update-membership-status":{"post":{"operationId":"business_appwrite_client_teams_update_membership_status","summary":"Update team membership status","description":"PATCH /teams/{teamId}/memberships/{membershipId}/status","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["teamId","membershipId"],"properties":{"teamId":{"type":"string","description":"Team ID."},"membershipId":{"type":"string","description":"Membership ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/teams-get-prefs":{"get":{"operationId":"business_appwrite_client_teams_get_prefs","summary":"Get team preferences","description":"GET /teams/{teamId}/prefs","tags":["business"],"parameters":[{"name":"teamId","in":"query","required":true,"description":"Team ID.","schema":{"type":"string","description":"Team ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:appwrite-client/teams-update-prefs-by-id":{"post":{"operationId":"business_appwrite_client_teams_update_prefs_by_id","summary":"Update preferences","description":"PUT /teams/{teamId}/prefs","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["teamId"],"properties":{"teamId":{"type":"string","description":"Team ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}