mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-28 11:14:54 -04:00
Regen swagger
This commit is contained in:
parent
500fa81c9b
commit
d75d251b7b
1 changed files with 17 additions and 2 deletions
19
templates/swagger/v1_json.tmpl
generated
19
templates/swagger/v1_json.tmpl
generated
|
|
@ -5812,6 +5812,7 @@
|
|||
},
|
||||
"/repos/{owner}/{repo}/actions/jobs/{job_id}/logs": {
|
||||
"get": {
|
||||
"description": "Returns the plaintext log for the job. By default the log for the\nmost recent attempt is returned (ActionRunJob.TaskID tracks the latest\ntask). Pass `?attempt=N` to fetch the log for a specific historical\nattempt; the value matches the `attempt` field returned by the job\nlisting endpoints.\n",
|
||||
"produces": [
|
||||
"text/plain"
|
||||
],
|
||||
|
|
@ -5838,11 +5839,18 @@
|
|||
{
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "id of the action job",
|
||||
"description": "ID of the workflow job",
|
||||
"name": "job_id",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "1-based attempt number matching the value of `attempt` in the job listing; omit to fetch the latest attempt of the job",
|
||||
"name": "attempt",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "0-indexed step to filter to (returns only that step's portion of the log)",
|
||||
|
|
@ -6498,10 +6506,17 @@
|
|||
{
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "id of the action run",
|
||||
"description": "ID of the workflow run. The ZIP contains logs for the latest attempt\nof each job in the run, with each entry named `{job-name}-{job-id}.log`\n(the job ID prevents collisions when two jobs share a name).\n",
|
||||
"name": "run_id",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "1-based attempt number; omit to fetch the latest attempt of each job. Jobs that don't have that attempt recorded contribute a `.MISSING` placeholder entry instead of a `.log`.",
|
||||
"name": "attempt",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue