GitLab API icon

GitLab API

Gitlab

Actions1062

Usage_data → postApiV4UsageDataIncrementUniqueUsers

AI-generated

Summary

Increments the unique user count for a specific GitLab project via an API request.

Inputs

  • skipAuthentication — Bypasses the standard GitLab API authentication requirement.
  • authentication (required) — Selects the GitLab API credential type to use for authentication.
  • baseUrl — The base URL of the GitLab instance (default: https://gitlab.com).

Output shape

The operation returns the HTTP response from the GitLab API.

The response is determined by the GitLab API; it typically includes a success status and the updated usage data.

Examples

Example 1: Send an increment request for a specific project.

Uses a GitlabApi credential, defaults the base URL to gitlab.com, and sends a POST request to /api/v4/usage_data/increment_unique_users.

Links

Discussion