GitLab API

GitlabTool

Actions1000

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 a migration 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.

Use Case Examples

  1. Mark a migration with a specific timestamp as completed in GitLab Admin Migrations.
  2. Automate migration status updates by specifying the migration timestamp.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use for the API request, hidden unless Skip Authentication is false.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request.
Path Parameters The path parameters for the API request, specifically the migration version timestamp to mark.

Output

JSON

  • timestamp - The migration version timestamp that was marked.
  • status - The status or result of the mark operation returned by the API.

Dependencies

  • GitLab API authentication

Troubleshooting

  • Ensure the timestamp path 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 credentials are correctly configured and have sufficient permissions to mark migrations.
  • Check the baseUrl to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.
  • Common error messages may include authentication failures, missing or invalid timestamp parameter, or insufficient permissions. Verify these aspects to resolve such errors.

Discussion