0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-07-20 21:18:30 +02:00

add routes

This commit is contained in:
Christopher Homberger 2025-03-17 19:59:01 +01:00
parent e93f9d20d1
commit 6701375e67

View File

@ -1244,8 +1244,10 @@ func Routes() *web.Router {
m.Group("/actions", func() {
m.Get("/tasks", repo.ListActionTasks)
m.Get("/runs", repo.GetWorkflowRuns)
m.Get("/runs/{run}", repo.GetWorkflowRun)
m.Get("/runs/{run}/jobs", repo.GetWorkflowJobs)
m.Get("/runs/{run}/artifacts", repo.GetArtifactsOfRun)
m.Get("/jobs/{job_id}", repo.GetWorkflowJob)
m.Get("/artifacts", repo.GetArtifacts)
m.Group("/artifacts/{artifact_id}", func() {
m.Get("", repo.GetArtifact)