GitLab API icon

GitLab API

Gitlab

Actions1062

Snippets → getApiV4SnippetsIdUserAgentDetail

AI-generated

Summary

Retrieve user agent detail for a snippet by ID.

Inputs

  • id (required) — The ID of a snippet
  • skipAuthentication — Skip authentication if true
  • baseUrl — Base URL for the GitLab instance
  • method — HTTP method for the request

Output shape

object

Returns the user agent detail object from the GitLab API as defined in the OpenAPI specification.

Examples

Example 1: Get user agent detail for snippet ID 42

Set ID to 42, leave skipAuthentication and baseUrl at defaults, use default method GET.

Links

Discussion