diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-31 00:08:47 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-31 00:08:47 +0300 |
commit | c8f773a8593926f4f2dec6f446a3b3e59e9c9909 (patch) | |
tree | 4e5ea1d3b861ff99015f6112da567de7873868aa /doc/api/broadcast_messages.md | |
parent | 929b887e5391dea7cb53b88b77b9a35351c87d99 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/broadcast_messages.md')
-rw-r--r-- | doc/api/broadcast_messages.md | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/doc/api/broadcast_messages.md b/doc/api/broadcast_messages.md index 9a15e3ab89d..b9f9621e1f9 100644 --- a/doc/api/broadcast_messages.md +++ b/doc/api/broadcast_messages.md @@ -35,7 +35,8 @@ Example response: "font":"#FFFFFF", "id":1, "active": false, - "target_path": "*/welcome" + "target_path": "*/welcome", + "broadcast_type": "banner" } ] ``` @@ -71,7 +72,8 @@ Example response: "font":"#FFFFFF", "id":1, "active":false, - "target_path": "*/welcome" + "target_path": "*/welcome", + "broadcast_type": "banner" } ``` @@ -92,6 +94,8 @@ Parameters: | `ends_at` | datetime | no | Ending time (defaults to one hour from current time). | | `color` | string | no | Background color hex code. | | `font` | string | no | Foreground color hex code. | +| `target_path`| string | no | Target path of the broadcast message. | +| `broadcast_type`| string | no | Appearance type (defaults to banner) | Example request: @@ -110,7 +114,8 @@ Example response: "font":"#FFFFFF", "id":1, "active": true, - "target_path": "*/welcome" + "target_path": "*/welcome", + "broadcast_type": "notification", } ``` @@ -132,6 +137,8 @@ Parameters: | `ends_at` | datetime | no | Ending time. | | `color` | string | no | Background color hex code. | | `font` | string | no | Foreground color hex code. | +| `target_path`| string | no | Target path of the broadcast message. | +| `broadcast_type`| string | no | Appearance type (defaults to banner) | Example request: @@ -150,7 +157,8 @@ Example response: "font":"#FFFFFF", "id":1, "active": true, - "target_path": "*/welcome" + "target_path": "*/welcome", + "broadcast_type": "notification", } ``` |