GitLab API

GitlabTool

Actions1095

Project_export → postApiV4ProjectsIdExportRelations

AI-generated

Summary

Send a POST request to the GitLab API to create export relations for a specified project by its ID or URL-encoded path.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project for which to create export relations.
  • postApiV4ProjectsIdExportRelations (required) — The request body schema containing the export relations details to be posted to the specified project.
  • skipAuthentication — Optionally skip the authentication step (defaults to false).
  • baseUrl — The base URL for the GitLab instance, defaulting to 'https://gitlab.com'.
  • method — The HTTP method to use; default and recommended is POST.

Output shape

A single JSON object representing the API response from creating export relations.

The operation requires a valid project ID and properly formatted request body according to the GitLab API schema. Authentication is required unless skipped. The base URL can be customized for self-hosted GitLab instances.

Examples

Example 1: Create export relations for project with ID '12345'

Set 'id' path parameter to '12345' and provide the export relations details in the request body according to the API schema.

Links

Discussion