GitLab API icon

GitLab API

Gitlab

Actions1062

Ml_model_registry → putApiV4ProjectsIdPackagesMlModelsModelVersionIdFiles(*path)FileName

AI-generated

Summary

Uploads a file to a GitLab ML model version in the package registry.

Inputs

  • id (required) — The ID or URL-encoded path of the project
  • model_version_id (required) — Model version ID
  • file_name (required) — File name to upload
  • body (required) — File contents as defined by the GitLab ML model file upload schema
  • skipAuthentication — If true, skips using GitLab credentials
  • baseUrl — Base URL for GitLab instance, defaults to https://gitlab.com

Output shape

object

GitLab API response containing details of the uploaded file

Links

Discussion