Add API Support to Download Artifacts from Actions #32124
Labels
topic/api
Concerns mainly the API
topic/gitea-actions
related to the actions of Gitea
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
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
The text was updated successfully, but these errors were encountered: