GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → postApiV4ProjectsIdUploadsAuthorize

AI-generated

Summary

Authorize an upload for 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 to authorize an upload.
  • Skip Authentication — Optionally skip authentication; defaults to false (authentication enabled).

Output shape

a JSON object representing the authorization response from GitLab for the project's upload

The operation requires the 'id' path parameter which specifies the project. Authentication via GitLab credentials is required unless 'Skip Authentication' is enabled. The response shape corresponds to the GitLab API's authorization response for uploads.

Links

Discussion