GitLab API icon

GitLab API

Gitlab

Actions1062

Secure_files → postApiV4ProjectsIdSecureFiles

AI-generated

Summary

Upload a secure file to a specific GitLab project by providing the project ID or URL-encoded path and the file details in the request body.

Inputs

  • Id (required) — The ID or URL-encoded path of the project owned by the authenticated user to which the secure file will be uploaded.
  • Request Body (required) — The details of the secure file to upload, matching the postApiV4ProjectsIdSecureFiles schema.
  • Skip Authentication — Boolean flag to skip authentication; defaults to false (authentication is required).
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.

Output shape

a single record containing the uploaded secure file details as returned by the GitLab API

Returns the result of the POST request to /api/v4/projects/{id}/secure_files. Authentication is required unless explicitly skipped.

Links

Discussion