GitLab API

GitlabTool

Actions1095

Projects → postApiV4ProjectsIdTriggers

AI-generated

Summary

Create a new trigger for a specific GitLab project by providing the project ID and request body with trigger details.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project for which to create the trigger.
  • postApiV4ProjectsIdTriggers (required) — The request body containing the details of the trigger to create.
  • baseUrl — Optional base URL of the GitLab instance; defaults to https://gitlab.com.
  • skipAuthentication — Optionally skip authentication for the request; defaults to false.

Output shape

a single JSON object representing the newly created project trigger

Returns the created trigger object as per GitLab API response. Requires the project ID and request body parameters to be provided. Supports custom GitLab instance URL.

Links

Discussion