summaryrefslogtreecommitdiff
path: root/doc/api/broadcast_messages.md
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-30 15:09:15 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-30 15:09:15 +0000
commit536aa3a1f4b96abc4ca34489bf2cbe503afcded7 (patch)
tree88d08f7dfa29a32d6526773c4fe0fefd9f2bc7d1 /doc/api/broadcast_messages.md
parent50ae4065530c4eafbeb7c5ff2c462c48c02947ca (diff)
downloadgitlab-ce-536aa3a1f4b96abc4ca34489bf2cbe503afcded7.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/broadcast_messages.md')
-rw-r--r--doc/api/broadcast_messages.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/broadcast_messages.md b/doc/api/broadcast_messages.md
index 6a9a0ba745a..9a15e3ab89d 100644
--- a/doc/api/broadcast_messages.md
+++ b/doc/api/broadcast_messages.md
@@ -19,7 +19,7 @@ GET /broadcast_messages
Example request:
-```sh
+```shell
curl https://gitlab.example.com/api/v4/broadcast_messages
```
@@ -56,7 +56,7 @@ Parameters:
Example request:
-```sh
+```shell
curl https://gitlab.example.com/api/v4/broadcast_messages/1
```
@@ -95,7 +95,7 @@ Parameters:
Example request:
-```sh
+```shell
curl --data "message=Deploy in progress&color=#cecece" --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/broadcast_messages
```
@@ -135,7 +135,7 @@ Parameters:
Example request:
-```sh
+```shell
curl --request PUT --data "message=Update message&color=#000" --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/broadcast_messages/1
```
@@ -158,7 +158,7 @@ Example response:
Delete a broadcast message.
-```sh
+```shell
DELETE /broadcast_messages/:id
```
@@ -170,6 +170,6 @@ Parameters:
Example request:
-```sh
+```shell
curl --request DELETE --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/broadcast_messages/1
```