Skip to content

POST /uploads/:fileId/complete — confirm + verify #227

Description

@codebestia

After upload, client confirms. Server HEADs the object, verifies size matches, optionally verifies ciphertext sha256, and flips the file to ready. Unconfirmed pending files are garbage-collected. Only ready files may be referenced by a file message.

Acceptance criteria:

  • Server verifies object presence + size before marking ready
  • Size/hash mismatch → 400, file stays pending
  • Only ready files referenceable in messages

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions