Skip to content

Commit 4e708ec

Browse files
committed
lastest
1 parent ecd830f commit 4e708ec

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from app.core.metrics import metrics
1414
from app.db import engine, init_db
1515

16-
app = FastAPI(title="AlterBase CDN API", version="1.0")
16+
app = FastAPI(title="AlterBase CDN API", version="3.0.0")
1717

1818
logging.basicConfig(level=logging.INFO)
1919
logger = logging.getLogger("image_uploader")

app/templates/pages/api.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ <h2>Endpoints</h2>
2828
Multipart form request with <code>file</code> field (max ${max_file_text}). Returns JSON metadata with
2929
<code>id</code>, <code>url</code>, <code>size</code>, <code>type</code>.
3030
</li>
31-
<li>
32-
<strong>GET /list</strong><br />
33-
Lists stored files ordered by newest first, including original names and timestamps.
34-
</li>
3531
<li>
3632
<strong>GET /{filename}</strong><br />
3733
Serves the stored file given the UUID filename returned from <code>/upload</code>. Responses include

0 commit comments

Comments
 (0)