supabaseApi

fun SupabaseClient.supabaseApi(baseUrl: String, parseErrorResponse: suspend (response: HttpResponse) -> RestException? = null): SupabaseApi

Creates a SupabaseApi with the given baseUrl All requests will be resolved relative to this url


Creates a SupabaseApi for the given plugin All requests will be resolved using the MainPlugin.resolveUrl function


fun SupabaseClient.supabaseApi(resolveUrl: (path: String) -> String, parseErrorResponse: suspend (response: HttpResponse) -> RestException? = null): SupabaseApi

Creates a SupabaseApi with the given resolveUrl function All requests will be resolved using this function