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='')[source]

Bases: Filter

filter(record)[source]

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()[source]

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))[source]
backend.routers.public.get_dates(db=Depends(dependency=<function get_db>, use_cache=True, scope=None))[source]

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