Skip to content

docs: document stream versioning endpoints - #54

Merged
didoda merged 1 commit into
6-pinusfrom
docs/stream-versioning
Jun 12, 2026
Merged

docs: document stream versioning endpoints#54
didoda merged 1 commit into
6-pinusfrom
docs/stream-versioning

Conversation

@nikazzio

@nikazzio nikazzio commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary

  • Add documentation for POST /streams/version/{object_id}/{file_name} — uploads a new version (MAX+1) of a file for an existing media object
  • Add documentation for PATCH /streams/version/{object_id}/{file_name} — replaces the latest version in place without incrementing the version counter
  • Update endpoint responsibilities list in /streams intro

Both endpoints return 409 Conflict on duplicate file (SHA-1 match). PATCH returns 404 if no streams exist for the object.

Test plan

  • Build docs locally (make html) and verify new sections appear under streams.html
  • Check HTTP method directives render correctly in Sphinx
  • Verify links/cross-references are not broken (make linkcheck)

🤖 Generated with Claude Code

Add POST and PATCH /streams/version/{object_id}/{file_name} endpoints
introduced in bedita6 feat/stream-versioning. Covers version increment
logic, duplicate rejection (409 Conflict), replace-in-place behaviour,
private_url query param, and example requests/responses.
@didoda didoda added this to the 6-pinus milestone Jun 12, 2026
@didoda
didoda merged commit d51eb75 into 6-pinus Jun 12, 2026
2 checks passed
@didoda
didoda deleted the docs/stream-versioning branch June 12, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants