mirror of
https://github.com/TronoSfera/Law.git
synced 2026-05-18 10:03:45 +03:00
10 lines
251 B
Python
10 lines
251 B
Python
from fastapi import APIRouter
|
|
router = APIRouter()
|
|
|
|
@router.post("/init")
|
|
def upload_init():
|
|
return {"method": "PRESIGNED_PUT", "presigned_url": "https://s3.local/..."}
|
|
|
|
@router.post("/complete")
|
|
def upload_complete():
|
|
return {"status": "ok"}
|