add upload api
This commit is contained in:
parent
a90dd9bc50
commit
77da1ffd94
4 changed files with 249 additions and 0 deletions
|
|
@ -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}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue