Skip to content

docs(cryptify): document /status endpoint, recovery_token, structured 404, session_ttl_secs#69

Merged
rubenhensen merged 1 commit into
mainfrom
docs/cryptify-status-and-recovery
May 8, 2026
Merged

docs(cryptify): document /status endpoint, recovery_token, structured 404, session_ttl_secs#69
rubenhensen merged 1 commit into
mainfrom
docs/cryptify-status-and-recovery

Conversation

@dobby-coder
Copy link
Copy Markdown
Contributor

@dobby-coder dobby-coder Bot commented May 7, 2026

Closes #67.

Updates docs/repos/cryptify.md to cover the upload-protocol features merged on cryptify main:

  • session_ttl_secs config option (cryptify#144) — added to the config table with a note that the eviction deadline resets on each successful chunk PUT or /status call.
  • recovery_token field on the POST /fileupload/init response (cryptify#148) — new subsection describing the response body.
  • GET /fileupload/{uuid}/status endpoint (cryptify#148) — new subsection covering the response shape, X-Recovery-Token auth (401 vs deliberate 404 info-hiding), idle-deadline reset, and resume-conflict semantics.
  • Structured upload_session_not_found 404 body (cryptify#144) — new subsection covering the JSON body and the three reason values.
  • Idempotent chunk-retry protocol (cryptify#145) — new subsection covering the (prev_token, offset, length, sha256) match, the 400 on body mismatch, and the link to prev_token/prev_offset on /status.

All snippet links pin to cryptify commit 4c30e53 on main. Verified HTTP 200 on every link before commit.

Verification

  • npm run docs:build — passes (5.23s).
  • curl -sI on each new source link returns 200.

Reviewer quickstart: git fetch origin && git checkout docs/cryptify-status-and-recovery && npm install && npm run docs:dev

… 404, session_ttl_secs

Closes #67

- Add session_ttl_secs row to the config table (cryptify#144).
- Document the recovery_token field on the init response (cryptify#148).
- Add a section for GET /fileupload/{uuid}/status (cryptify#148).
- Describe the structured upload_session_not_found 404 body (cryptify#144).
- Describe the idempotent chunk-retry contract (cryptify#145).

All snippet links pin to commit 4c30e53 on cryptify main and were verified HTTP 200.
@rubenhensen rubenhensen marked this pull request as ready for review May 8, 2026 07:01
@rubenhensen rubenhensen merged commit 3f92713 into main May 8, 2026
1 check passed
@rubenhensen rubenhensen deleted the docs/cryptify-status-and-recovery branch May 8, 2026 07:01
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.

docs(cryptify): document /status endpoint, recovery_token, structured 404, session_ttl_secs

1 participant