File tree Expand file tree Collapse file tree 2 files changed +74
-1
lines changed Expand file tree Collapse file tree 2 files changed +74
-1
lines changed Original file line number Diff line number Diff line change @@ -885,7 +885,7 @@ func (a ActionWorkflow) EnableWorkflow(ctx *context.APIContext) {
885885
886886// GetArtifacts Lists all artifacts for a repository.
887887func GetArtifactsOfRun (ctx * context.APIContext ) {
888- // swagger:operation GET /repos/{owner}/{repo}/actions/artifacts repository getArtifactsOfRun
888+ // swagger:operation GET /repos/{owner}/{repo}/actions/runs/{run}/ artifacts repository getArtifactsOfRun
889889 // ---
890890 // summary: Lists all artifacts for a repository run
891891 // produces:
@@ -901,6 +901,16 @@ func GetArtifactsOfRun(ctx *context.APIContext) {
901901 // description: name of the repository
902902 // type: string
903903 // required: true
904+ // - name: run
905+ // in: path
906+ // description: runid of the workflow run
907+ // type: integer
908+ // required: true
909+ // - name: name
910+ // in: query
911+ // description: name of the artifact
912+ // type: string
913+ // required: false
904914 // responses:
905915 // "200":
906916 // "$ref": "#/responses/ArtifactsList"
@@ -962,6 +972,11 @@ func GetArtifacts(ctx *context.APIContext) {
962972 // description: name of the repository
963973 // type: string
964974 // required: true
975+ // - name: name
976+ // in: query
977+ // description: name of the artifact
978+ // type: string
979+ // required: false
965980 // responses:
966981 // "200":
967982 // "$ref": "#/responses/ArtifactsList"
You can’t perform that action at this time.
0 commit comments