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:
parent
e93f9d20d1
commit
6701375e67
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user