GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation allows uploading or updating a file associated with a specific machine learning model version in a GitLab project. It is useful for managing ML model files within GitLab's package registry, enabling users to programmatically maintain model version files such as weights, configurations, or metadata. For example, a data scientist can automate the deployment of updated model files to a GitLab 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 version control and reproducibility in ML workflows.

Properties

Name Meaning
Skip Authentication Option to bypass authentication for the request.
Authentication Type of authentication used, 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 JSON response from the GitLab API after uploading or updating the file, typically containing metadata about the file and operation status.

Dependencies

  • Requires GitLab API key credential for authentication unless skipping authentication.

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.
  • File upload may fail if the file path or name contains invalid characters or is too long.

Links

Discussion