GitLab API icon

GitLab API

Gitlab

Actions1062

Ml_model_registry → putApiV4ProjectsIdPackagesMlModelsModelVersionIdFiles(*path)FileNameAuthorize

AI-generated

Summary

Authorizes a file upload to the GitLab ML model registry, returning the upload URL and required headers for the specified project, model version, and file path.

Inputs

  • id (required) — The ID or URL-encoded path of the project
  • model_version_id (required) — The ID of the model version
  • file_name (required) — The name of the file to upload (may include a subpath via the (*path/) placeholder)
  • skipAuthentication — If true, skips authentication; otherwise uses the gitlabApi credential
  • baseUrl — Base URL for GitLab instance (default: https://gitlab.com)
  • method — HTTP method to use for the request (default: GET)

Output shape

object

Contains upload authorization details returned by the GitLab API (e.g., URL, method, headers).

Links

Discussion