mirror of
https://github.com/brunopostle/ifcurl.git
synced 2026-07-12 02:08:13 +00:00
POST /documents/1.0/document-versions resolves document_ids (base64url encoding of owner/repo/path) to versioned download URLs. Exposes only git tags + the current HEAD commit — mirrors CDE conventions where only released versions are visible, while still surfacing the WIP state. version_number is the tag name for releases and short SHA for HEAD. Tagged SHAs are deduplicated so HEAD at a tag doesn't create a duplicate. Download URLs point at Forgejo's existing raw/commit endpoint. Auth forwarded verbatim. No Go code, no Forgejo recompilation. Proxy at /documents/ on the Forgejo hostname. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| test_auth.py | ||
| test_bcf.py | ||
| test_bcf_api.py | ||
| test_diff.py | ||
| test_documents_api.py | ||
| test_git.py | ||
| test_render.py | ||
| test_sandbox.py | ||
| test_service.py | ||
| test_url.py | ||
| test_viewer_url.mjs | ||