GitLab API

GitlabTool

Actions1095

Project_snippets → getApiV4ProjectsIdSnippets

AI-generated

Summary

Retrieves snippets for a GitLab project using the configured HTTP method, which defaults to GET. Provide the project ID or URL-encoded path; optional page and per_page query parameters select the results page and page size.

Inputs

  • Skip Authentication — Defaults to false. When false, the node uses GitLab API authentication; when true, it skips authentication.
  • baseUrl — Defaults to https://gitlab.com. The node source notes that the GitLab API credential defines the base URL.
  • Method — HTTP method for the request; defaults to GET. Available methods are GET, POST, PUT, DELETE, HEAD, and PATCH.
  • Path Parameters: id (required) — The project ID or URL-encoded project path.
  • Query Parameters: page — Page number to retrieve.
  • Query Parameters: per_page — Number of items per page.

Output shape

A response from the GitLab API for the project snippets request.

The operation declares page and per_page pagination parameters. The source pack does not expose the response handling or response shape.

Links

Discussion