GitLab API

GitlabTool

Actions1095

Projects → postApiV4ProjectsIdUploadsAuthorize

AI-generated

Summary

Authorize file uploads to a specific GitLab project by sending a POST request to the /api/v4/projects/{id}/uploads/authorize endpoint.

Inputs

  • Id (required) — The ID of the GitLab project for which the file upload authorization is requested.
  • Skip Authentication — If set to true, the request bypasses authentication; otherwise, it uses the configured GitlabApi credentials.
  • baseUrl — Base URL of the GitLab instance (defaults to 'https://gitlab.com').

Output shape

a response object from GitLab's upload authorization endpoint, typically containing authorization details for uploading files to the specified project

The operation returns the response from the POST request to /api/v4/projects/{id}/uploads/authorize. Ensure that the project ID path parameter is provided; authentication is required unless explicitly skipped. The base URL can be set to target self-hosted GitLab instances.

Links

Discussion