Skip to main content

ApiPaths

Struct ApiPaths 

Source
pub struct ApiPaths;

Implementations§

Source§

impl ApiPaths

Source

pub const ADMIN_LOGIN: &'static str = "/admin/api/auth/login"

Source

pub const ADMIN_REFRESH: &'static str = "/admin/api/auth/refresh"

Source

pub const BACKUP_CLEANUP_PLUGIN: &'static str = "/admin/api/backup/cleanup-plugin"

Source

pub const BACKUP_GET_CONFIG: &'static str = "/admin/api/backup/config"

Source

pub const BACKUP_DUMP_CONTROL_D1: &'static str = "/admin/api/backup/dump-control-d1"

Source

pub const BACKUP_DUMP_D1: &'static str = "/admin/api/backup/dump-d1"

Source

pub const BACKUP_DUMP_DATA: &'static str = "/admin/api/backup/dump-data"

Source

pub const BACKUP_DUMP_DO: &'static str = "/admin/api/backup/dump-do"

Source

pub const BACKUP_DUMP_STORAGE: &'static str = "/admin/api/backup/dump-storage"

Source

pub const BACKUP_LIST_DOS: &'static str = "/admin/api/backup/list-dos"

Source

pub const BACKUP_RESTORE_CONTROL_D1: &'static str = "/admin/api/backup/restore-control-d1"

Source

pub const BACKUP_RESTORE_D1: &'static str = "/admin/api/backup/restore-d1"

Source

pub const BACKUP_RESTORE_DATA: &'static str = "/admin/api/backup/restore-data"

Source

pub const BACKUP_RESTORE_DO: &'static str = "/admin/api/backup/restore-do"

Source

pub const BACKUP_RESTORE_STORAGE: &'static str = "/admin/api/backup/restore-storage"

Source

pub const BACKUP_RESYNC_USERS_PUBLIC: &'static str = "/admin/api/backup/resync-users-public"

Source

pub const BACKUP_WIPE_DO: &'static str = "/admin/api/backup/wipe-do"

Source

pub const ADMIN_LIST_ADMINS: &'static str = "/admin/api/data/admins"

Source

pub const ADMIN_CREATE_ADMIN: &'static str = "/admin/api/data/admins"

Source

pub const ADMIN_GET_ANALYTICS: &'static str = "/admin/api/data/analytics"

Source

pub const ADMIN_GET_ANALYTICS_EVENTS: &'static str = "/admin/api/data/analytics/events"

Source

pub const ADMIN_GET_AUTH_SETTINGS: &'static str = "/admin/api/data/auth/settings"

Source

pub const ADMIN_BACKUP_GET_CONFIG: &'static str = "/admin/api/data/backup/config"

Source

pub const ADMIN_BACKUP_DUMP_D1: &'static str = "/admin/api/data/backup/dump-d1"

Source

pub const ADMIN_BACKUP_DUMP_DATA: &'static str = "/admin/api/data/backup/dump-data"

Source

pub const ADMIN_BACKUP_DUMP_DO: &'static str = "/admin/api/data/backup/dump-do"

Source

pub const ADMIN_BACKUP_LIST_DOS: &'static str = "/admin/api/data/backup/list-dos"

Source

pub const ADMIN_BACKUP_RESTORE_D1: &'static str = "/admin/api/data/backup/restore-d1"

Source

pub const ADMIN_BACKUP_RESTORE_DATA: &'static str = "/admin/api/data/backup/restore-data"

Source

pub const ADMIN_BACKUP_RESTORE_DO: &'static str = "/admin/api/data/backup/restore-do"

Source

pub const ADMIN_CLEANUP_ANON: &'static str = "/admin/api/data/cleanup-anon"

Source

pub const ADMIN_GET_CONFIG_INFO: &'static str = "/admin/api/data/config-info"

Source

pub const ADMIN_DESTROY_APP: &'static str = "/admin/api/data/destroy-app"

Source

pub const ADMIN_GET_DEV_INFO: &'static str = "/admin/api/data/dev-info"

Source

pub const ADMIN_GET_EMAIL_TEMPLATES: &'static str = "/admin/api/data/email/templates"

Source

pub const ADMIN_LIST_FUNCTIONS: &'static str = "/admin/api/data/functions"

Source

pub const ADMIN_GET_LOGS: &'static str = "/admin/api/data/logs"

Source

pub const ADMIN_GET_RECENT_LOGS: &'static str = "/admin/api/data/logs/recent"

Source

pub const ADMIN_GET_MONITORING: &'static str = "/admin/api/data/monitoring"

Source

pub const ADMIN_GET_OVERVIEW: &'static str = "/admin/api/data/overview"

Source

pub const ADMIN_GET_PUSH_LOGS: &'static str = "/admin/api/data/push/logs"

Source

pub const ADMIN_TEST_PUSH_SEND: &'static str = "/admin/api/data/push/test-send"

Source

pub const ADMIN_GET_PUSH_TOKENS: &'static str = "/admin/api/data/push/tokens"

Source

pub const ADMIN_RULES_TEST: &'static str = "/admin/api/data/rules-test"

Source

pub const ADMIN_GET_SCHEMA: &'static str = "/admin/api/data/schema"

Source

pub const ADMIN_EXECUTE_SQL: &'static str = "/admin/api/data/sql"

Source

pub const ADMIN_LIST_BUCKETS: &'static str = "/admin/api/data/storage/buckets"

Source

pub const ADMIN_LIST_TABLES: &'static str = "/admin/api/data/tables"

Source

pub const ADMIN_LIST_USERS: &'static str = "/admin/api/data/users"

Source

pub const ADMIN_CREATE_USER: &'static str = "/admin/api/data/users"

Source

pub const ADMIN_RESET_PASSWORD: &'static str = "/admin/api/internal/reset-password"

Source

pub const ADMIN_SETUP: &'static str = "/admin/api/setup"

Source

pub const ADMIN_SETUP_STATUS: &'static str = "/admin/api/setup/status"

Source

pub const QUERY_CUSTOM_EVENTS: &'static str = "/api/analytics/events"

Source

pub const QUERY_ANALYTICS: &'static str = "/api/analytics/query"

Source

pub const TRACK_EVENTS: &'static str = "/api/analytics/track"

Source

pub const ADMIN_AUTH_LIST_USERS: &'static str = "/api/auth/admin/users"

Source

pub const ADMIN_AUTH_CREATE_USER: &'static str = "/api/auth/admin/users"

Source

pub const ADMIN_AUTH_IMPORT_USERS: &'static str = "/api/auth/admin/users/import"

Source

pub const AUTH_CHANGE_EMAIL: &'static str = "/api/auth/change-email"

Source

pub const AUTH_CHANGE_PASSWORD: &'static str = "/api/auth/change-password"

Source

pub const AUTH_GET_IDENTITIES: &'static str = "/api/auth/identities"

Source

pub const AUTH_GET_ME: &'static str = "/api/auth/me"

Source

pub const AUTH_MFA_FACTORS: &'static str = "/api/auth/mfa/factors"

Source

pub const AUTH_MFA_RECOVERY: &'static str = "/api/auth/mfa/recovery"

Source

pub const AUTH_MFA_TOTP_DELETE: &'static str = "/api/auth/mfa/totp"

Source

pub const AUTH_MFA_TOTP_ENROLL: &'static str = "/api/auth/mfa/totp/enroll"

Source

pub const AUTH_MFA_TOTP_VERIFY: &'static str = "/api/auth/mfa/totp/verify"

Source

pub const AUTH_MFA_VERIFY: &'static str = "/api/auth/mfa/verify"

Source

pub const AUTH_PASSKEYS_LIST: &'static str = "/api/auth/passkeys"

Source

pub const AUTH_PASSKEYS_AUTH_OPTIONS: &'static str = "/api/auth/passkeys/auth-options"

Source

pub const AUTH_PASSKEYS_AUTHENTICATE: &'static str = "/api/auth/passkeys/authenticate"

Source

pub const AUTH_PASSKEYS_REGISTER: &'static str = "/api/auth/passkeys/register"

Source

pub const AUTH_PASSKEYS_REGISTER_OPTIONS: &'static str = "/api/auth/passkeys/register-options"

Source

pub const AUTH_UPDATE_PROFILE: &'static str = "/api/auth/profile"

Source

pub const AUTH_REFRESH: &'static str = "/api/auth/refresh"

Source

pub const AUTH_REQUEST_EMAIL_VERIFICATION: &'static str = "/api/auth/request-email-verification"

Source

pub const AUTH_REQUEST_PASSWORD_RESET: &'static str = "/api/auth/request-password-reset"

Source

pub const AUTH_RESET_PASSWORD: &'static str = "/api/auth/reset-password"

Source

pub const AUTH_GET_SESSIONS: &'static str = "/api/auth/sessions"

Source

pub const AUTH_SIGNIN: &'static str = "/api/auth/signin"

Source

pub const AUTH_SIGNIN_ANONYMOUS: &'static str = "/api/auth/signin/anonymous"

Source

pub const AUTH_SIGNIN_EMAIL_OTP: &'static str = "/api/auth/signin/email-otp"

Source

pub const AUTH_SIGNIN_PHONE: &'static str = "/api/auth/signin/phone"

Source

pub const AUTH_SIGNOUT: &'static str = "/api/auth/signout"

Source

pub const AUTH_SIGNUP: &'static str = "/api/auth/signup"

Source

pub const AUTH_VERIFY_EMAIL: &'static str = "/api/auth/verify-email"

Source

pub const AUTH_VERIFY_EMAIL_CHANGE: &'static str = "/api/auth/verify-email-change"

Source

pub const AUTH_VERIFY_EMAIL_OTP: &'static str = "/api/auth/verify-email-otp"

Source

pub const AUTH_VERIFY_PHONE: &'static str = "/api/auth/verify-phone"

Source

pub const GET_CONFIG: &'static str = "/api/config"

Source

pub const DATABASE_LIVE_BROADCAST: &'static str = "/api/db/broadcast"

Source

pub const CHECK_DATABASE_SUBSCRIPTION_CONNECTION: &'static str = "/api/db/connect-check"

Source

pub const CONNECT_DATABASE_SUBSCRIPTION: &'static str = "/api/db/subscribe"

Source

pub const GET_HEALTH: &'static str = "/api/health"

Source

pub const PUSH_BROADCAST: &'static str = "/api/push/broadcast"

Source

pub const GET_PUSH_LOGS: &'static str = "/api/push/logs"

Source

pub const PUSH_REGISTER: &'static str = "/api/push/register"

Source

pub const PUSH_SEND: &'static str = "/api/push/send"

Source

pub const PUSH_SEND_MANY: &'static str = "/api/push/send-many"

Source

pub const PUSH_SEND_TO_TOKEN: &'static str = "/api/push/send-to-token"

Source

pub const PUSH_SEND_TO_TOPIC: &'static str = "/api/push/send-to-topic"

Source

pub const GET_PUSH_TOKENS: &'static str = "/api/push/tokens"

Source

pub const PUT_PUSH_TOKENS: &'static str = "/api/push/tokens"

Source

pub const PATCH_PUSH_TOKENS: &'static str = "/api/push/tokens"

Source

pub const PUSH_TOPIC_SUBSCRIBE: &'static str = "/api/push/topic/subscribe"

Source

pub const PUSH_TOPIC_UNSUBSCRIBE: &'static str = "/api/push/topic/unsubscribe"

Source

pub const PUSH_UNREGISTER: &'static str = "/api/push/unregister"

Source

pub const CONNECT_ROOM: &'static str = "/api/room"

Source

pub const CHECK_ROOM_CONNECTION: &'static str = "/api/room/connect-check"

Source

pub const GET_ROOM_METADATA: &'static str = "/api/room/metadata"

Source

pub const GET_SCHEMA: &'static str = "/api/schema"

Source

pub const EXECUTE_SQL: &'static str = "/api/sql"

Source

pub fn backup_export_table(name: &str) -> String

Source

pub fn admin_delete_admin(id: &str) -> String

Source

pub fn admin_change_password(id: &str) -> String

Source

pub fn admin_list_namespace_instances(namespace: &str) -> String

Source

pub fn admin_list_bucket_objects(name: &str) -> String

Source

pub fn admin_get_bucket_object(name: &str, key: &str) -> String

Source

pub fn admin_delete_bucket_object(name: &str, key: &str) -> String

Source

pub fn admin_create_signed_url(name: &str) -> String

Source

pub fn admin_get_bucket_stats(name: &str) -> String

Source

pub fn admin_upload_file(name: &str) -> String

Source

pub fn admin_export_table(name: &str) -> String

Source

pub fn admin_import_table(name: &str) -> String

Source

pub fn admin_get_table_records(name: &str) -> String

Source

pub fn admin_create_table_record(name: &str) -> String

Source

pub fn admin_update_table_record(name: &str, id: &str) -> String

Source

pub fn admin_delete_table_record(name: &str, id: &str) -> String

Source

pub fn admin_get_user(id: &str) -> String

Source

pub fn admin_update_user(id: &str) -> String

Source

pub fn admin_delete_user(id: &str) -> String

Source

pub fn admin_delete_user_mfa(id: &str) -> String

Source

pub fn admin_get_user_profile(id: &str) -> String

Source

pub fn admin_send_password_reset(id: &str) -> String

Source

pub fn admin_delete_user_sessions(id: &str) -> String

Source

pub fn admin_auth_get_user(id: &str) -> String

Source

pub fn admin_auth_update_user(id: &str) -> String

Source

pub fn admin_auth_delete_user(id: &str) -> String

Source

pub fn admin_auth_set_claims(id: &str) -> String

Source

pub fn admin_auth_delete_user_mfa(id: &str) -> String

Source

pub fn admin_auth_revoke_user_sessions(id: &str) -> String

Source

pub fn auth_delete_identity(identity_id: &str) -> String

Source

pub fn oauth_redirect(provider: &str) -> String

Source

pub fn oauth_callback(provider: &str) -> String

Source

pub fn auth_passkeys_delete(credential_id: &str) -> String

Source

pub fn auth_delete_session(id: &str) -> String

Source

pub fn execute_d1_query(database: &str) -> String

Source

pub fn db_list_records( namespace: &str, instance_id: &str, table: &str, ) -> String

Source

pub fn db_insert_record( namespace: &str, instance_id: &str, table: &str, ) -> String

Source

pub fn db_get_record( namespace: &str, instance_id: &str, table: &str, id: &str, ) -> String

Source

pub fn db_update_record( namespace: &str, instance_id: &str, table: &str, id: &str, ) -> String

Source

pub fn db_delete_record( namespace: &str, instance_id: &str, table: &str, id: &str, ) -> String

Source

pub fn db_batch_records( namespace: &str, instance_id: &str, table: &str, ) -> String

Source

pub fn db_batch_by_filter( namespace: &str, instance_id: &str, table: &str, ) -> String

Source

pub fn db_count_records( namespace: &str, instance_id: &str, table: &str, ) -> String

Source

pub fn db_search_records( namespace: &str, instance_id: &str, table: &str, ) -> String

Source

pub fn db_single_list_records(namespace: &str, table: &str) -> String

Source

pub fn db_single_insert_record(namespace: &str, table: &str) -> String

Source

pub fn db_single_get_record(namespace: &str, table: &str, id: &str) -> String

Source

pub fn db_single_update_record(namespace: &str, table: &str, id: &str) -> String

Source

pub fn db_single_delete_record(namespace: &str, table: &str, id: &str) -> String

Source

pub fn db_single_batch_records(namespace: &str, table: &str) -> String

Source

pub fn db_single_batch_by_filter(namespace: &str, table: &str) -> String

Source

pub fn db_single_count_records(namespace: &str, table: &str) -> String

Source

pub fn db_single_search_records(namespace: &str, table: &str) -> String

Source

pub fn kv_operation(namespace: &str) -> String

Source

pub fn list_files(bucket: &str) -> String

Source

pub fn check_file_exists(bucket: &str, key: &str) -> String

Source

pub fn download_file(bucket: &str, key: &str) -> String

Source

pub fn delete_file(bucket: &str, key: &str) -> String

Source

pub fn get_file_metadata(bucket: &str, key: &str) -> String

Source

pub fn update_file_metadata(bucket: &str, key: &str) -> String

Source

pub fn delete_batch(bucket: &str) -> String

Source

pub fn abort_multipart_upload(bucket: &str) -> String

Source

pub fn complete_multipart_upload(bucket: &str) -> String

Source

pub fn create_multipart_upload(bucket: &str) -> String

Source

pub fn upload_part(bucket: &str) -> String

Source

pub fn create_signed_upload_url(bucket: &str) -> String

Source

pub fn create_signed_download_url(bucket: &str) -> String

Source

pub fn create_signed_download_urls(bucket: &str) -> String

Source

pub fn upload_file(bucket: &str) -> String

Source

pub fn get_upload_parts(bucket: &str, upload_id: &str) -> String

Source

pub fn vectorize_operation(index: &str) -> String

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more