CI
CI workflow / run / runner control plane (ADR 0014, 0017).
31 operations
- POST
/api/jobs/{job_id}/cancelCancel a single job of a workflow run - GET
/api/jobs/{job_id}/cancel-watchLong-poll: block until the job is cancelled - GET
/api/jobs/{job_id}/logsRead a job's log bytes from an offset - POST
/api/jobs/{job_id}/logsAppend a chunk of log bytes for an in-flight job - GET
/api/jobs/{job_id}/logs/streamLive-tail a job's log as a binary frame stream - POST
/api/jobs/{job_id}/stepsReplace the step snapshot for an in-flight job - GET
/api/repos/{owner}/{repo}/ci/requested-secretsList the secret names this repository's workflows reference - GET
/api/repos/{owner}/{repo}/commits/{sha}/workflow-runsList every workflow run for one commit (across workflows) - GET
/api/repos/{owner}/{repo}/flakyList a repo's flaky-test observations - GET
/api/repos/{owner}/{repo}/quarantineList a repo's quarantined tests - POST
/api/repos/{owner}/{repo}/quarantineQuarantine a test - DELETE
/api/repos/{owner}/{repo}/quarantine/{test_id}Un-quarantine a test - GET
/api/repos/{owner}/{repo}/workflow-runsList a repository's workflow runs (newest first) - GET
/api/repos/{owner}/{repo}/workflowsList a repository's workflow definitions - POST
/api/runnersRegister a runner - POST
/api/runners/leases/{lease_id}/completeFinish a job and release its lease - POST
/api/runners/leases/{lease_id}/heartbeatRenew a job lease - DELETE
/api/runners/{runner_id}Deregister a runner - POST
/api/runners/{runner_id}/claimLong-poll: claim a Ready job whose runs_on matches the runner's labels - GET
/api/runs/{run_id}/annotationsList a workflow run's CI annotations - POST
/api/workflow-runsEnqueue a workflow run - GET
/api/workflow-runs/{run_id}Get a workflow run - POST
/api/workflow-runs/{run_id}/approveApprove a pending pull-request workflow run - POST
/api/workflow-runs/{run_id}/cancelCancel a workflow run - GET
/api/workflow-runs/{run_id}/jobsList a run's jobs with their step records - POST
/api/workflow-runs/{run_id}/rerunRe-run a completed workflow run - POST
/api/workflowsUpsert a workflow definition - DELETE
/api/workflows/{workflow_id}Delete a workflow definition - GET
/api/workspaces/{workspace_id}/ci/secretsList workspace CI secret names (never values) - PUT
/api/workspaces/{workspace_id}/ci/secrets/{name}Set (create or replace) a workspace CI secret - DELETE
/api/workspaces/{workspace_id}/ci/secrets/{name}Delete a workspace CI secret