Перенести рабочую реализацию lab5 в skeleton лабораторной 6.

API, worker, брокер и стенд остаются базой, контракт lab6 не менялся.
This commit is contained in:
2026-11-17 15:15:42 +03:00
parent 470d9d6f1e
commit 14ab803529
52 changed files with 6131 additions and 11 deletions
+21
View File
@@ -0,0 +1,21 @@
{
"openapi": "3.1.0",
"info": {
"title": "Messenger lab4 optional direct upload",
"version": "1.4.0-track1"
},
"paths": {
"/api/v1/chats/{chat_id}/uploads": {
"post": {
"operationId": "beginDirectUpload",
"summary": "Issue a 60s PUT signature for one new object key. Does not replace POST /attachments."
}
},
"/api/v1/uploads/{upload_id}/complete": {
"post": {
"operationId": "completeDirectUpload",
"summary": "Check owner, size and sha256, store the original, and enqueue processing. Returns 202 queued."
}
}
}
}