server.web.routes.v3

Submodules

Attributes

version

api_v3_router

api_v3_health_router

mod

Functions

is_alive(→ starlette.responses.JSONResponse)

Test connectivity to the database.

get_pst_now() → starlette.responses.JSONResponse)

Get the current time in the Pacific.

health() → starlette.responses.JSONResponse)

Test connectivity to the app. Always unauthenticated for health checks.

test_route() → None)

Test route.

api_version(→ starlette.responses.JSONResponse)

Test connectivity to the database.

Package Contents

server.web.routes.v3.version = 'v3'
server.web.routes.v3.api_v3_router
server.web.routes.v3.api_v3_health_router
server.web.routes.v3.mod
server.web.routes.v3.is_alive() starlette.responses.JSONResponse

Test connectivity to the database.

server.web.routes.v3.get_pst_now(db: sqlalchemy.orm.Session = Depends(get_db)) starlette.responses.JSONResponse

Get the current time in the Pacific.

server.web.routes.v3.health(db: sqlalchemy.orm.Session = Depends(get_db)) starlette.responses.JSONResponse

Test connectivity to the app. Always unauthenticated for health checks.

server.web.routes.v3.test_route(db: sqlalchemy.orm.Session = Depends(get_db)) None

Test route.

server.web.routes.v3.api_version() starlette.responses.JSONResponse

Test connectivity to the database.