GitLab API

GitlabTool

Actions1095

Snippets → getApiV4SnippetsPublic

AI-generated

Summary

Retrieves public GitLab snippets from /api/v4/snippets/public using the selected HTTP method. Set optional query parameters to filter by creation time or select a page of results; authentication can be skipped.

Inputs

  • Skip Authentication — Defaults to false. Enable to make the request without GitLab API authentication.
  • baseUrl — Defaults to https://gitlab.com; the node source says the GitLab API credential defines the actual base URL.
  • Method — HTTP method for the request; defaults to GET. Options are GET, POST, PUT, DELETE, HEAD, and PATCH.
  • Created_after — Filter for snippets created after this date-time.
  • Created_before — Filter for snippets created before this date-time.
  • Page — Page number for paginated results.
  • Per_page — Number of snippets per page; the parameter schema declares a default of 20.

Output shape

a list of public snippets

The operation’s source pack shows the OpenAPI tool wrapper but not its request or response handling. The endpoint schema declares query parameters and pagination; exact response shaping is not shown.

Links

Discussion