Toggle table of contents sidebar
Broadcast messages¶You can use broadcast messages to display information on all pages of the gitlab web UI. You must have administration permissions to manipulate broadcast messages.
References¶v4 API:
GitLab API: https://docs.gitlab.com/api/broadcast_messages
List the messages:
msgs = gl.broadcastmessages.list(get_all=True)
Get a single message:
msg = gl.broadcastmessages.get(msg_id)
Create a message:
msg = gl.broadcastmessages.create({'message': 'Important information'})
The date format for the starts_at
and ends_at
parameters is YYYY-MM-ddThh:mm:ssZ
.
Update a message:
msg.font = '#444444' msg.color = '#999999' msg.save()
Delete a message:
gl.broadcastmessages.delete(msg_id) # or msg.delete()
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4