Create a lightweight tag pointing to a specific commit.Documentation Index
Fetch the complete documentation index at: https://code.storage/docs/llms.txt
Use this file to discover all available pages before exploring further.
Request Body
Tag name (e.g.
v1.0.0). Must not start with refs/ and must be a valid git ref name.Full 40-character lowercase hex commit SHA the tag should point to.
JWT Requirements
- The JWT must include the repository in the
repoclaim - Requires
git:writescope
Response
Notes
- Creates a lightweight tag (not an annotated tag). To create annotated tags, use
git pushover HTTPS with an authenticated remote URL. - If the repository is synced to GitHub, tag creation triggers a sync automatically.
Error Responses
Invalid tag name, invalid target SHA format, or missing required fields
Invalid JWT or missing authorization header
Missing
git:write scopeA tag with that name already exists