GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves secure files associated with a specific project in GitLab using the GitLab API v4. It is useful for scenarios where users need to access or manage secure files stored within a GitLab project, such as for automation workflows involving project security or file management.

Use Case Examples

  1. Fetching secure files for a project to audit or process them automatically.
  2. Integrating secure file retrieval into a CI/CD pipeline to use project-specific secrets or certificates.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Optional query parameters for pagination, including page number and items per page.
Path Parameters Path parameters specifying the project ID or URL-encoded path to identify the project.

Output

JSON

  • secure_files - List of secure files retrieved from the specified GitLab project.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID or path is correct and accessible by the authenticated user to avoid authorization errors.
  • Verify that the GitLab API base URL is correct, especially if using a self-hosted GitLab instance.
  • Check that the authentication credentials are valid and have sufficient permissions to access secure files.
  • Pagination parameters (page and per_page) should be set correctly to avoid missing data or excessive data retrieval.

Links

Discussion