add upload api

This commit is contained in:
delete 2026-06-11 17:44:06 +03:00
parent a90dd9bc50
commit 77da1ffd94
4 changed files with 249 additions and 0 deletions

View file

@ -124,6 +124,11 @@ func (h *handler) apiIndex(w http.ResponseWriter, r *http.Request) {
"path": "/api/v1/projects/{projectSlug}/releases/latest",
"description": "Get the latest active release metadata for an accessible project.",
},
{
"method": http.MethodPost,
"path": "/api/v1/projects/{projectSlug}/releases",
"description": "Upload a release artifact for an accessible project.",
},
{
"method": http.MethodGet,
"path": "/api/v1/releases/{releaseID}",