pub struct RepoGetActionJobLogsQuery {
pub attempt: Option<i64>,
pub step: Option<u32>,
pub q: Option<String>,
pub qi: Option<bool>,
pub format: Option<RepoGetActionJobLogsQueryFormat>,
}Fields§
§attempt: Option<i64>1-based attempt number matching the value of attempt in the job listing; omit to fetch the latest attempt of the job
step: Option<u32>Step number to filter to. Use the number field from GET /repos/{owner}/{repo}/actions/jobs/{job_id} — 0 is the “Set up job” entry, the last index is the “Complete job” entry, real steps are in between. Returns only that step’s slice of the log. Range requests still work over the slice.
q: Option<String>Substring filter applied to each line’s content (the part after the timestamp prefix). Plain string match — regex is not supported. Setting q drops Accept-Ranges and disables Range: support; the full filtered body is always returned.
qi: Option<bool>Case-insensitive substring match (only meaningful when q is set).
format: Option<RepoGetActionJobLogsQueryFormat>Response shape. text (default) returns log content as plaintext lines. ndjson returns one {"time":"...","content":"..."} object per emitted line, separated by \n (content-type application/x-ndjson). format=ndjson drops Accept-Ranges and disables Range: support.