diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-30 15:09:15 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-30 15:09:15 +0000 |
commit | 536aa3a1f4b96abc4ca34489bf2cbe503afcded7 (patch) | |
tree | 88d08f7dfa29a32d6526773c4fe0fefd9f2bc7d1 /doc/api/broadcast_messages.md | |
parent | 50ae4065530c4eafbeb7c5ff2c462c48c02947ca (diff) | |
download | gitlab-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.md | 12 |
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 ``` |