Microsoft
GH-200 · Question #3
You need to make a script to retrieve workflow run logs via the API. Which is the correct API to download a workflow run log?
Sign in or unlock GH-200 to reveal the answer and full explanation for question #3. The question stem and answer options stay visible for context.
Implement and manage GitHub Actions workflows
Question
You need to make a script to retrieve workflow run logs via the API. Which is the correct API to download a workflow run log?
Options
- APOST /repos/:owner/:repo/actions/runs/:run_id/logs
- BGET /repos/:owner/:repo/actions/runs/:run_id/logs
- CPOST /repos/:owner/:repo/actions/runs/:run_id
- DGET /repos/:owner/:repo/actions/artifacts/logs
Unlock GH-200 to see the answer
You've previewed enough free GH-200 questions. Unlock GH-200 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#GitHub API#Workflow Logs#REST API#API Endpoints