GitLab API

GitlabTool

Actions1095

Remote_mirrors → postApiV4ProjectsIdRemoteMirrors

AI-generated

Summary

Creates a remote mirror for a GitLab project by sending a POST request to /api/v4/projects/{id}/remote_mirrors. The source pack delegates request execution to the shared OpenAPI tool; this operation exposes the project ID path parameter and GitLab API authentication settings.

Inputs

  • Skip Authentication — Defaults to false. When enabled, hides the GitLab API authentication setting.
  • Authentication — GitLab API credential selection; used when authentication is not skipped.
  • Base URL — Defaults to https://gitlab.com; the node source says the actual base URL is defined in the GitLab API credential.
  • Method — HTTP method selector, defaulting to GET in the UI. The operation path is for creating a remote mirror, but the source pack does not show whether the selected method is overridden at runtime.
  • Id (required) — The project ID or URL-encoded project path used in the request path.

Output shape

A single API response item, as returned by the shared OpenAPI tool.

The request schema declares a required body for this operation, but the operation-scoped UI properties expose no body fields. The source pack does not include the shared tool implementation, so the response fields and body handling are unspecified.

Links

Discussion