Skip to content

docs(backend): add api-files-uploads.md documenting files & uploads endpoints - #509

Merged
codebestia merged 1 commit into
codebestia:mainfrom
omosvico:docs/api-files-uploads-437
Jul 30, 2026
Merged

docs(backend): add api-files-uploads.md documenting files & uploads endpoints#509
codebestia merged 1 commit into
codebestia:mainfrom
omosvico:docs/api-files-uploads-437

Conversation

@omosvico

Copy link
Copy Markdown
Contributor

Document every route in routes/uploads.ts and routes/files.ts:

  • POST /uploads — presigned upload slot request
  • POST /uploads/:fileId/confirm — mark file as ready
  • GET /files/:fileId — presigned download URL

Covers MIME/size constraints (100 MB max, 11 allowed types), all request/response shapes, status codes, and explicitly states what the confirm step does and does not verify (pure DB state transition — no storage integrity check).

Closes #437

…ndpoints

Document every route in routes/uploads.ts and routes/files.ts:
- POST /uploads (presigned slot request)
- POST /uploads/:fileId/confirm (mark file ready)
- GET /files/:fileId (presigned download URL)

Covers MIME/size constraints (100 MB max, 11 allowed types),
all request/response shapes, status codes, and explicitly states
what the confirm step does and does not verify.

Closes codebestia#437
@drips-wave

drips-wave Bot commented Jul 29, 2026

Copy link
Copy Markdown

@omosvico Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@codebestia
codebestia merged commit bb4e34a into codebestia:main Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API docs: Files & uploads endpoints

2 participants