GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves secure files associated with a specific GitLab project using the GitLab API. It is useful for scenarios where users need to access or manage secure files stored within a project, such as fetching credentials, certificates, or other sensitive files securely stored in GitLab projects.

Use Case Examples

  1. Fetching secure files for a project to display or process them in an automation workflow.
  2. Automating the retrieval of secure files for backup or audit purposes.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
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 such as page number and items per page.
Path Parameters Path parameters required for the API call, specifically the project ID or URL-encoded path.

Output

JSON

  • id - The unique identifier of the secure file.
  • name - The name of the secure file.
  • size - The size of the secure file in bytes.
  • created_at - Timestamp when the secure file was created.
  • updated_at - Timestamp when the secure file was last updated.
  • project_id - The ID of the project to which the secure file belongs.

Dependencies

  • GitLab API authentication token

Troubleshooting

  • Ensure the project ID or URL-encoded path is correctly provided in the path parameters to avoid 404 errors.
  • Verify that the API authentication token is valid and has sufficient permissions to access the project's secure files.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct and reachable.

Links

Discussion