Devices are still commented out
This commit is contained in:
parent
22f74b75b3
commit
342da62d5f
21
extensions/devices.py
Normal file
21
extensions/devices.py
Normal file
@ -0,0 +1,21 @@
|
||||
# from modules.app import app, get_api_key
|
||||
# from modules.utils import configGet, jsonLoad
|
||||
# from fastapi import HTTPException, Depends
|
||||
# from fastapi.responses import UJSONResponse, FileResponse
|
||||
# from fastapi.openapi.models import APIKey
|
||||
|
||||
# @app.get("/devices", response_class=UJSONResponse, description="Get all devices")
|
||||
# async def devices_get(apikey: APIKey = Depends(get_api_key)):
|
||||
# pass
|
||||
|
||||
# @app.get("/devices/{name}", response_class=UJSONResponse, description="Get game saves from device by name")
|
||||
# async def devices_get_by_name(name: str, apikey: APIKey = Depends(get_api_key)):
|
||||
# pass
|
||||
|
||||
# @app.post("/devices", response_class=UJSONResponse, description="Create new device")
|
||||
# async def devices_post(name: str, apikey: APIKey = Depends(get_api_key)):
|
||||
# pass
|
||||
|
||||
# @app.put("/devices/{name}", response_class=UJSONResponse, description="Update name of the existing device")
|
||||
# async def devices_put(name: str, apikey: APIKey = Depends(get_api_key)):
|
||||
# pass
|
1
models/devices.py
Normal file
1
models/devices.py
Normal file
@ -0,0 +1 @@
|
||||
# from pydantic import BaseModel
|
Loading…
Reference in New Issue
Block a user