GitLab API icon

GitLab API

Gitlab

Actions1062

Project_import → postApiV4ProjectsImportAuthorize

AI-generated

Summary

Sends a request to the GitLab API endpoint /api/v4/projects/import/authorize using the selected HTTP method (default GET). Optionally bypass authentication. The base URL can be overridden (defaults to https://gitlab.com).

Inputs

  • skipAuthentication — When true, the request is sent without authentication credentials.
  • baseUrl — Base URL for the GitLab instance; defaults to https://gitlab.com.
  • method — HTTP method for the request (GET, POST, PUT, DELETE, HEAD, PATCH); defaults to GET.

Output shape

object

The node returns whatever the GitLab API responds with (status code, headers, body) as the execution result.

Examples

Example 1: Check import authorization status

Use defaults: skipAuthentication off, method GET, baseUrl https://gitlab.com.

Example 2: Trigger a POST to authorize import

Set method to POST and provide any required request body via hidden internal schemas (handled by the node).

Links

Discussion