GitLab API

GitlabTool

Actions1095

Ml_model_registry → putApiV4ProjectsIdPackagesMlModelsModelVersionIdFiles(*path)FileName

AI-generated

Summary

Uploads or replaces a named file for a GitLab ML model version in a project. Provide the project ID or URL-encoded path, model version ID, and file name; authentication is required unless skipped, and the request uses the configured GitLab API base URL.

Inputs

  • Path Parameters: Id (required) — Project ID or URL-encoded project path.
  • Path Parameters: File_name (required) — Name of the model file.
  • Path Parameters: Model_version_id (required) — ML model version ID.
  • Authentication — GitLab API credentials are required by the node unless Skip Authentication is enabled.
  • Skip Authentication — Defaults to false. Enable to omit authentication.
  • Base URL — Defaults to https://gitlab.com; the node source says the actual base URL is defined by the GitLab API credential.

Output shape

A response from the GitLab API; the node source provided does not specify its response shape.

The operation path is /api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/(*path/){file_name}. Although the operation is named with PUT, the UI exposes a Method selector defaulting to GET; the request body schema is hidden and no body fields are declared in the supplied properties.

Links

Discussion