backend.routers.public

Public router – unauthenticated endpoints.

Provides endpoints that do not require a valid access token: application configuration, version information and public gig listings.

Prefix: /public | Tag: public

class backend.routers.public.LogFilter(name='')[Quellcode]

Bases: Filter

filter(record)[Quellcode]

Determine if the specified record is to be logged.

Returns True if the record should be logged, or False otherwise. If deemed appropriate, the record may be modified in-place.

backend.routers.public.get_app_config()[Quellcode]

Gibt die frontend-relevante App-Konfiguration zurück (öffentlich, kein Auth nötig).

backend.routers.public.get_song_histogram(db=Depends(dependency=<function get_db>, use_cache=True, scope=None))[Quellcode]
backend.routers.public.get_dates(db=Depends(dependency=<function get_db>, use_cache=True, scope=None))[Quellcode]

Gibt das Logo zurück (öffentlich, kein Auth nötig).