GitLab API

GitlabTool

Actions1095

Integrations → postApiV4ProjectsIdIntegrationsMattermostSlashCommandsTrigger

AI-generated

Summary

Send a POST request to trigger a Mattermost slash command integration for a specified GitLab project.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project where the Mattermost slash command integration should be triggered.
  • skipAuthentication — Optionally skip authentication if set to true; otherwise, uses the configured GitLab API credential.
  • baseUrl — Base URL for the GitLab instance, defaulting to https://gitlab.com if not specified.

Output shape

a single HTTP response object from the POST request to the Mattermost slash commands trigger endpoint of the specified project

The operation performs a POST request to /api/v4/projects/{id}/integrations/mattermost_slash_commands/trigger with a request body defined by the GitLab API schema for triggering the Mattermost slash commands integration. Authentication is required unless explicitly skipped.

Examples

Example 1: Trigger Mattermost slash command integration for project 'my-group/my-project'.

Set 'id' to 'my-group%2Fmy-project' (URL-encoded), provide necessary request body data per GitLab API requirements, use default baseUrl and authentication.

Links

Discussion