Get all broadcast messages

GET /broadcast_messages

This feature was introduced in GitLab 8.12.

Query parameters

  • page integer(int32)

    Current page number

    Default value is 1.

  • per_page integer(int32)

    Number of items per page

    Default value is 20.

Responses

  • 200 application/json

    Get all broadcast messages

    Hide response attributes Show response attributes object
    • id string
    • message string
    • starts_at string
    • ends_at string
    • color string
    • font string
    • target_access_levels string
    • target_path string
    • broadcast_type string
    • dismissable string
    • active string
GET /broadcast_messages
curl \
 --request GET 'https://www.gitlab.com/api/v4/broadcast_messages' \
 --header "Private-Token: $API_KEY"
Response examples (200)
{
  "id": "string",
  "message": "string",
  "starts_at": "string",
  "ends_at": "string",
  "color": "string",
  "font": "string",
  "target_access_levels": "string",
  "target_path": "string",
  "broadcast_type": "string",
  "dismissable": "string",
  "active": "string"
}