main
titiler.xarray.main ¶
titiler.xarray application.
ApiSettings ¶
Bases: BaseSettings
FASTAPI application settings.
conformance ¶
conformance(
request: Request,
f: Annotated[
Literal["html", "json"] | None,
Query(
description="Response MediaType. Defaults to endpoint's default or value defined in `accept` header."
),
] = None,
)
Conformance classes.
Called with GET /conformance.
Returns:
-
–
Conformance classes which the server conforms to.
landing ¶
landing(
request: Request,
f: Annotated[
Literal["html", "json"] | None,
Query(
description="Response MediaType. Defaults to endpoint's default or value defined in `accept` header."
),
] = None,
)
TiTiler landing page.
validate_access_token ¶
Validates API key access token, set as the api_settings.global_access_token value.
Returns True if no access token is required, or if the access token is valid.
Raises an HTTPException (401) if the access token is required but invalid/missing.