GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves detailed user agent information for a specific snippet within a GitLab project. It is useful for scenarios where you need to analyze or audit the user agent data associated with project snippets, such as tracking snippet usage or debugging access issues.

Use Case Examples

  1. Fetch user agent details for a snippet to understand which clients or browsers accessed it.
  2. Audit snippet access patterns by retrieving user agent information for security reviews.

Properties

Name Meaning
Skip Authentication Option to bypass authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters to specify the project ID or URL-encoded path and the snippet ID to identify the snippet for which user agent details are requested.

Output

JSON

  • user_agent_detail - Detailed information about the user agent accessing the snippet.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and snippet ID are correctly provided and URL-encoded if necessary.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to access project snippets.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated access to snippet user agent details, otherwise the request will fail.

Links

Discussion