admin
root()
async
¶
Handles the root route of the admin router.
This endpoint raises an HTTPException with a 418 status code and a detail message indicating "I'm a teapot." This method does not return any content as it is designed to only trigger the exception. The implementation is aligned with the HTTP 418 status code, which is used as an Easter egg for humorous purposes.
Returns:
Type | Description |
---|---|
NoneType
|
None |
Raises:
Type | Description |
---|---|
HTTPException
|
Always raised with status code 418 and detail "I'm a teapot". |