GitLab API

GitlabTool

Actions1095

Project_snippets → postApiV4ProjectsIdSnippets

AI-generated

Summary

Creates a project snippet through the GitLab API by sending a POST request to /api/v4/projects/{id}/snippets.

Inputs

  • Skip Authentication — Defaults to false; when enabled, skips the GitLab API credential.
  • Base URL — Defaults to https://gitlab.com; the node source says the actual base URL is defined in the GitLab API credential.
  • Method — The UI lists HTTP methods and defaults to GET, but this operation’s path is for creating a snippet and the operation name indicates POST.
  • Project ID (required) — The project ID or URL-encoded project path, entered under Path Parameters.
  • Request body (required) — The operation declares a required body using the postApiV4ProjectsIdSnippets schema; its fields are not exposed in the supplied properties.

Output shape

A single API response record, as returned by the GitLab API tool.

The supplied source shows the node delegates requests to its OpenAPI tool base class and does not specify the response fields or output envelope.

Links

Discussion