GitLab API

GitlabTool

Actions1095

Ml_model_registry → putApiV4ProjectsIdPackagesMlModelsModelVersionIdFiles(*path)FileNameAuthorize

AI-generated

Summary

Sends the GitLab API request that authorizes access to a file in a machine learning model version. Set the project ID or URL-encoded path, file name, and model version ID; the request method defaults to GET, and the base URL defaults to https://gitlab.com.

Inputs

  • Skip Authentication — Defaults to false; when enabled, skips GitLab credential authentication.
  • Base URL — API base URL, defaulting to https://gitlab.com. The source says the base URL is defined in the GitLab API credential.
  • Method — HTTP method for the request: GET (default), POST, PUT, DELETE, HEAD, or PATCH.
  • Path Parameters (required) — Provide id (project ID or URL-encoded path), file_name, and model_version_id. All three are required path parameters.

Output shape

A single API response, passed through from the GitLab request.

The operation declares no request body schema. The response fields and any error handling are not specified in the supplied properties or source.

Links

Discussion