GitLab · Arazzo Workflow

GitLab Rotate the Active Broadcast Message

Version 1.0.0

Retire the current broadcast message and publish a replacement.

1 workflow 1 source API 1 provider
View Spec View on GitHub CodePlatformSoftware DevelopmentSource ControlArazzoWorkflows

Provider

gitlab

Workflows

rotate-broadcast-message
Delete the current broadcast message and create a replacement.
Lists broadcast messages, deletes the first returned message, then creates a new broadcast message.
3 steps inputs: broadcastType, messageId, newMessage, privateToken outputs: newMessageId, retiredId
1
listMessages
List broadcast messages for visibility before rotating.
2
deleteMessage
Delete the broadcast message being retired.
3
createMessage
Create the replacement broadcast message.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: GitLab Rotate the Active Broadcast Message
  summary: Retire the current broadcast message and publish a replacement.
  description: >-
    A broadcast rollover flow. The workflow lists existing broadcast messages,
    deletes the most recent one to retire it, and then creates a fresh broadcast
    message in its place so only the current announcement remains. Every step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: broadcastMessagesApi
  url: ../openapi/gitlab-broadcast-messages-api-openapi.yml
  type: openapi
workflows:
- workflowId: rotate-broadcast-message
  summary: Delete the current broadcast message and create a replacement.
  description: >-
    Lists broadcast messages, deletes the first returned message, then creates a
    new broadcast message.
  inputs:
    type: object
    required:
    - privateToken
    - messageId
    - newMessage
    properties:
      privateToken:
        type: string
        description: GitLab Private-Token used to authenticate the API calls.
      messageId:
        type: integer
        description: The broadcast message ID to retire.
      newMessage:
        type: string
        description: The replacement message text.
      broadcastType:
        type: string
        description: Broadcast type, banner or notification.
        default: banner
  steps:
  - stepId: listMessages
    description: List broadcast messages for visibility before rotating.
    operationId: getApiV4BroadcastMessages
    parameters:
    - name: Private-Token
      in: header
      value: $inputs.privateToken
    - name: per_page
      in: query
      value: 20
    successCriteria:
    - condition: $statusCode == 200
  - stepId: deleteMessage
    description: Delete the broadcast message being retired.
    operationId: deleteApiV4BroadcastMessagesId
    parameters:
    - name: Private-Token
      in: header
      value: $inputs.privateToken
    - name: id
      in: path
      value: $inputs.messageId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      retiredId: $response.body#/id
  - stepId: createMessage
    description: Create the replacement broadcast message.
    operationId: postApiV4BroadcastMessages
    parameters:
    - name: Private-Token
      in: header
      value: $inputs.privateToken
    requestBody:
      contentType: application/json
      payload:
        message: $inputs.newMessage
        broadcast_type: $inputs.broadcastType
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      newId: $response.body#/id
      newMessage: $response.body#/message
  outputs:
    retiredId: $steps.deleteMessage.outputs.retiredId
    newMessageId: $steps.createMessage.outputs.newId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/gitlab-rotate-broadcast-message-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.