Download workflow run logs as archive
GET
/repos/{owner}/{repo}/actions/runs/{run}/logs
const url = 'https://gitea.com/api/v1/repos/example/example/actions/runs/1/logs';const options = {method: 'GET', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://gitea.com/api/v1/repos/example/example/actions/runs/1/logs \ --header 'Authorization: Basic <credentials>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”owner
required
string
Owner of the repo
repo
required
string
Name of the repository
run
required
integer
Run ID
Responses
Section titled “Responses”Logs archive
APINotFound is a not found empty response