GitLab API icon

GitLab API

Gitlab

Actions1062

Broadcast_messages → getApiV4BroadcastMessages

AI-generated

Summary

Fetches a paginated list of broadcast messages from a GitLab instance using the GET /api/v4/broadcast_messages endpoint.

Inputs

  • skipAuthentication — If true, the node runs without using the GitLab API credential; otherwise the credential named in 'authentication' is used.
  • authentication — The credential to use for authentication (ignored when skipAuthentication is true).
  • baseUrl — Base URL of the GitLab instance (default: https://gitlab.com).
  • method — HTTP method for the request (fixed to GET for this operation).
  • page — Page number for pagination (default: 1).
  • per_page — Number of items per page (default: 20).

Output shape

array

Each element is a broadcast message object as defined by the GitLab API (contains id, message, starts_at, ends_at, color, font, etc.).

Examples

Example 1: Get the first page of broadcast messages from GitLab.com

Leave skipAuthentication false, use default baseUrl, method GET, page 1, per_page 20.

Links

Discussion