GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → postApiV4ProjectsIdRepositorySize

AI-generated

Summary

Trigger a POST request to the GitLab API endpoint /api/v4/projects/{id}/repository_size to update or recalculate the repository size of a specific project.

Inputs

  • id (required) — The ID or URL-encoded path of the project whose repository size is to be updated.
  • skipAuthentication — Optionally skip using authentication when making the API call.
  • baseUrl — Override the GitLab base URL; defaults to https://gitlab.com.

Output shape

a JSON object response from the GitLab API representing the updated repository size details for the specified project

The operation requires the project ID path parameter and optionally supports skipping authentication and customizing the base URL. The response shape depends on the GitLab API's output for this endpoint and is returned directly from the API call.

Links

Discussion