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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| auth.py | ||
| bcf.py | ||
| bcf_api.py | ||
| diff.py | ||
| documents_api.py | ||
| git.py | ||
| py.typed | ||
| render.py | ||
| render_service.py | ||
| sandbox.py | ||
| service.py | ||
| url.py | ||