Spaces:
Runtime error
Runtime error
File size: 575 Bytes
99fdb5f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # routers/devtools.py — UNIVERSAL TOOL TRACKING ENDPOINTS
from fastapi import APIRouter
router = APIRouter(prefix="/devtools")
@router.post("/open")
async def devtool_open(data: dict):
return {"status": "ok", "event": "open"}
@router.post("/process")
async def devtool_process(data: dict):
return {"status": "ok", "event": "process"}
@router.post("/result")
async def devtool_result(data: dict):
return {"status": "ok", "event": "result"}
@router.post("/download")
async def devtool_download(data: dict):
return {"status": "ok", "event": "download"}
|