GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → postApiV4ProjectsIdJobsJobIdPlay

AI-generated

Summary

Trigger the play (execution) of a specific job within a GitLab project by providing the project ID and job ID.

Inputs

  • id (required) — The ID of the GitLab project containing the job.
  • job_id (required) — The ID of the job to be played (executed).
  • postApiV4ProjectsIdJobsJobIdPlay (required) — The request body schema as defined by GitLab API for this endpoint, sent in the body.
  • skipAuthentication — Optionally skip the node's authentication mechanism (usually false).
  • baseUrl — Base URL of the GitLab instance, defaults to https://gitlab.com if not overridden.

Output shape

a JSON object representing the triggered job's updated state as returned by GitLab API

The output corresponds to the response from the POST /api/v4/projects/{id}/jobs/{job_id}/play endpoint. Authentication is required unless explicitly skipped. The operation requires both project and job IDs as path parameters and a request body according to the API schema.

Links

Discussion