res://addons/w4gd/supabase/endpoint.gd

Inherits: RefCounted

Inherited By: res://addons/w4gd/supabase/auth.gd, res://addons/w4gd/supabase/auth.gd:Admin, res://addons/w4gd/supabase/client.gd, res://addons/w4gd/supabase/pg_meta.gd, res://addons/w4gd/supabase/rest.gd, res://addons/w4gd/supabase/storage.gd

A Supabase REST end-point under a specific base path (ex. /auth/v1/ or /storage/v1/).

Properties

res://addons/w4gd/rest-client/client.gd

client

String

endpoint

""

res://addons/w4gd/supabase/identity.gd

identity

Methods

res://addons/w4gd/rest-client/client_request.gd

DELETE ( Variant path, Variant data, Dictionary query, Dictionary extra_headers, bool binary )

res://addons/w4gd/rest-client/client_request.gd

GET ( Variant path, Dictionary query, Dictionary extra_headers, bool binary )

res://addons/w4gd/rest-client/client_request.gd

GET_RAW ( Variant path, Dictionary query, Dictionary extra_headers )

res://addons/w4gd/rest-client/client_request.gd

HEAD ( Variant path, Dictionary query, Dictionary extra_headers )

res://addons/w4gd/rest-client/client_request.gd

PATCH ( Variant path, Variant data, Dictionary query, Dictionary extra_headers, bool binary )

res://addons/w4gd/rest-client/client_request.gd

POST ( Variant path, Variant data, Dictionary query, Dictionary extra_headers, bool binary )

res://addons/w4gd/rest-client/client_request.gd

PUT ( Variant path, Variant data, Dictionary query, Dictionary extra_headers, bool binary )

res://addons/w4gd/supabase/poly_result.gd:PolyResult

parse_result ( Variant result, bool binary )


Property Descriptions

res://addons/w4gd/rest-client/client.gd client

The REST client.


String endpoint = ""

The base path.


res://addons/w4gd/supabase/identity.gd identity

The Supabase identity.


Method Descriptions

res://addons/w4gd/rest-client/client_request.gd DELETE ( Variant path, Variant data, Dictionary query, Dictionary extra_headers, bool binary )

Makes a DELETE request.


res://addons/w4gd/rest-client/client_request.gd GET ( Variant path, Dictionary query, Dictionary extra_headers, bool binary )

Makes a GET request.


res://addons/w4gd/rest-client/client_request.gd GET_RAW ( Variant path, Dictionary query, Dictionary extra_headers )

Makes a raw GET request, that returns binary data.


res://addons/w4gd/rest-client/client_request.gd HEAD ( Variant path, Dictionary query, Dictionary extra_headers )

Makes a HEAD request.


res://addons/w4gd/rest-client/client_request.gd PATCH ( Variant path, Variant data, Dictionary query, Dictionary extra_headers, bool binary )

Makes a PATCH request.


res://addons/w4gd/rest-client/client_request.gd POST ( Variant path, Variant data, Dictionary query, Dictionary extra_headers, bool binary )

Makes a POST request.


res://addons/w4gd/rest-client/client_request.gd PUT ( Variant path, Variant data, Dictionary query, Dictionary extra_headers, bool binary )

Makes a PUT request.


res://addons/w4gd/supabase/poly_result.gd:PolyResult parse_result ( Variant result, bool binary )

Parses a result from the REST client into a PolyResult.