GitLab API icon

GitLab API

Gitlab

Actions1062

Secure_files → getApiV4ProjectsIdSecureFilesSecureFileIdDownload

AI-generated

Summary

Download a secure file from a specified GitLab project by providing the project ID or URL-encoded path and the secure file ID.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project owned by the authenticated user to identify the project containing the secure file.
  • secure_file_id (required) — The numeric ID of the secure file to be downloaded from the specified project.
  • method — HTTP method to use for the request; defaults to GET and typically should remain as GET for downloading.
  • skipAuthentication — Optionally skip authentication; defaults to false (authentication is used).
  • baseUrl — Base URL of the GitLab instance; defaults to https://gitlab.com but can be customized if using a self-hosted GitLab.

Output shape

a binary file payload representing the requested secure file content

The operation returns the content of the secure file directly, without a JSON envelope. Ensure the workflow or succeeding nodes can handle a binary file response.

Links

Discussion