GitLab API

GitlabTool

Actions1095

Snippets → getApiV4SnippetsIdRaw

AI-generated

Summary

Fetches the raw content of a GitLab snippet using its ID. Configure authentication or enable Skip Authentication, and provide the snippet ID as a path parameter; the request method defaults to GET and can be changed.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips GitLab API authentication.
  • Base URL — Defaults to https://gitlab.com. The GitLab API credential supplies the runtime base URL.
  • Method — HTTP method for the request; defaults to GET. Options are GET, POST, PUT, DELETE, HEAD, and PATCH.
  • Path Parameters: Id (required) — The ID of the snippet to fetch.

Output shape

A single item containing the raw snippet response.

The operation calls /api/v4/snippets/{id}/raw. The supplied source does not expose the response parsing or item shape.

Links

Discussion