GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation marks a specific migration version timestamp in the GitLab Admin Migrations API. It is useful for administrators who want to programmatically mark migrations as completed or processed by specifying the migration version timestamp. For example, it can be used in automation workflows to update migration statuses in GitLab without manual intervention.

Use Case Examples

  1. Mark a migration as completed by providing the migration timestamp to the GitLab Admin API.
  2. Automate migration tracking in GitLab by integrating this node in a CI/CD pipeline to mark migrations after successful deployment.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the API request, useful for testing or if authentication is handled externally.
Authentication Select the authentication method to use for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent, defaulting to https://gitlab.com.
Method HTTP method to use for the API request, default is GET but can be set to POST, PUT, DELETE, HEAD, or PATCH.
Path Parameters Parameters to be included in the request path, specifically the migration version timestamp to mark.

Output

JSON

  • response - The JSON response from the GitLab API after marking the migration timestamp.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the migration timestamp parameter is provided and correctly formatted as an integer string, as it is required for the API call.
  • If authentication is enabled, verify that the GitLab API key credential is valid and has sufficient permissions to access admin migration endpoints.
  • Check the baseUrl to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion