GitLab API

GitlabTool

Actions1095

Snippets → postApiV4Snippets

AI-generated

Summary

Sends a request to GitLab’s /api/v4/snippets endpoint. Configure the HTTP method and authentication behavior; the operation’s required request body is defined by the GitLab API schema.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips GitLab credential authentication.
  • Authentication — Uses GitLab API credentials when authentication is enabled; hidden when Skip Authentication is true.
  • Base URL — Defaults to https://gitlab.com. The source indicates the GitLab API credential defines the effective base URL.
  • Method — HTTP method for the request: GET, POST, PUT, DELETE, HEAD, or PATCH. Defaults to GET.
  • Request body (required) — Required by the operation’s parameter schema; its fields are defined by the GitLab API schema.

Output shape

A response from the GitLab API request.

The provided source does not specify the response fields or whether the response is wrapped.

Links

Discussion