Get a specific broadcast message

GET /broadcast_messages/{id}

This feature was introduced in GitLab 8.12.

Path parameters

  • id integer(int32) Required

    Broadcast message ID

Responses

  • 200 application/json

    Get a specific broadcast message

    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/{id}
curl \
 --request GET 'https://www.gitlab.com/api/v4/broadcast_messages/{id}' \
 --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"
}