GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation allows users to upload or update files associated with a specific machine learning model version in a GitLab project. It is useful for managing ML model files directly within GitLab's model registry, enabling version control and collaboration on ML assets. For example, a data scientist can use this operation to upload a new version of a model file or update an existing one in the project repository.

Use Case Examples

  1. Uploading a new model file to a specific version of an ML model in a GitLab project.
  2. Updating an existing model file for a particular model version to reflect improvements or changes.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication to use, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters required in the request path to identify the project, model version, and file name.

Output

JSON

  • response - The response from the GitLab API after uploading or updating the file.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID, model version ID, and file name are correctly specified to avoid 404 errors.
  • Authentication errors may occur if the API key is missing or invalid; verify credentials are correctly set.
  • HTTP method must be appropriate for the operation; typically PUT is used for updating files.

Links

Discussion