GitLab API

GitlabTool

Actions1095

Events → getApiV4UsersIdEvents

AI-generated

Summary

Fetches a user’s GitLab events from /api/v4/users/{id}/events. Use the path parameter to identify the user and optional query parameters to filter, sort, and paginate the events; requests use the GitLab API credential unless authentication is skipped.

Inputs

  • skipAuthentication — Defaults to false. When true, skips GitLab API authentication; otherwise the GitLab API credential is used.
  • baseUrl — Defaults to https://gitlab.com. The source indicates the effective base URL is defined by the GitLab API credential.
  • method — HTTP method selector; defaults to GET. Other declared choices are POST, PUT, DELETE, HEAD, and PATCH.
  • pathParameters.id (required) — The user ID or username whose events to retrieve.
  • queryParameters.page — Page number; the API schema default is 1.
  • queryParameters.per_page — Number of events per page; the API schema default is 20.
  • queryParameters.action — Filter events by action.
  • queryParameters.target_type — Filter by target type: issue, milestone, merge_request, note, project, snippet, user, wiki, or design.
  • queryParameters.before — Include events created before this date.
  • queryParameters.after — Include events created after this date.
  • queryParameters.sort — Sort order, asc or desc; the API schema default is desc.

Output shape

A response from the GitLab API containing the user’s events.

The operation’s source pack does not show the shared OpenAPI tool’s response handling, so the precise output envelope and pagination behavior are not specified here.

Links

Discussion