GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation performs a PUT request to transfer a project in GitLab to a new namespace. It is useful for automating project management tasks such as reorganizing projects under different groups or namespaces within GitLab. For example, a user can transfer a project by specifying the project ID and the target namespace ID programmatically.

Use Case Examples

  1. Transfer a GitLab project to a different namespace by providing the project ID and the new namespace ID in the request body.
  2. Automate project restructuring in GitLab by using this node to move projects between groups.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is PUT for this operation.
Path Parameters Parameters to specify the project ID in the URL path for the transfer operation.

Output

JSON

  • id - The unique identifier of the transferred project.
  • name - The name of the transferred project.
  • path - The path of the transferred project.
  • namespace - The new namespace details of the transferred project.
  • message - Response message indicating the result of the transfer operation.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible.
  • Verify that the authentication credentials are valid and have sufficient permissions to transfer projects.
  • Check that the base URL is correctly set to the GitLab instance being used.
  • Common error messages may include authorization errors if the token lacks permissions, or 404 errors if the project ID does not exist.

Links

Discussion