GitLab API icon

GitLab API

Gitlab

Actions1062

Integrations → postApiV4ProjectsIdServicesMattermostSlashCommandsTrigger

AI-generated

Summary

Trigger a Mattermost slash command for a specific GitLab project integration by sending a POST request to the GitLab API endpoint.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project for which to trigger the Mattermost slash command integration.
  • skipAuthentication — Optional boolean to skip authentication (default is false).
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.
  • method — HTTP method to use; defaults to 'GET', but for this operation, POST is used.

Output shape

a single JSON object representing the response from triggering the Mattermost slash command integration for the given project.

The operation sends a POST request to the path '/api/v4/projects/{id}/services/mattermost_slash_commands/trigger' replacing {id} with the project ID or path. The request body must conform to the defined schema for triggering the slash command. Authentication is required unless explicitly skipped.

Links

Discussion