Skip to content

Add API Support to Download Artifacts from Actions #32124

Closed
@MrDiba

Description

@MrDiba

Feature Description

As far as I know, currently, the Gitea API does not provide a direct method to download artifacts generated by Gitea Actions (using actions/upload-artifact). This feature request proposes adding an endpoint that enables users to download workflow artifacts via the API.

In the webbrowser the /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts endpoint is available and I'm able to download the artifact using curl by first getting an cookie and then by using the cookie to get the artifact. But I think it would be better to directly use the API with token authentication.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/apiConcerns mainly the APItopic/gitea-actionsrelated to the actions of Giteatype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions