Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-09-14 12:38:45 +0300
committerDouwe Maan <douwe@gitlab.com>2018-09-14 12:38:45 +0300
commit9de6efe6d18b0c6881aa5074d6e805ac6202d5e5 (patch)
tree93c740acb18a2c5722fd66767fbfde2d26936363 /doc
parente50a033a53f8e6978dd06a22820c9ed7ab95c1e4 (diff)
parentd15bd9548228727788989f94285768ba565bbe82 (diff)
Merge branch 'docs/rs-status-typo' into 'master'
Correct a typo in the User Status API docs See merge request gitlab-org/gitlab-ce!21729
Diffstat (limited to 'doc')
-rw-r--r--doc/api/users.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/users.md b/doc/api/users.md
index 51935280401..7fc06d85145 100644
--- a/doc/api/users.md
+++ b/doc/api/users.md
@@ -504,7 +504,7 @@ PUT /user/status
When both parameters `emoji` and `message` are empty, the status will be cleared.
```bash
-curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" --data "emoji=coffee" --data "emoji=I crave coffee" https://gitlab.example.com/api/v4/user/status
+curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" --data "emoji=coffee" --data "message=I crave coffee" https://gitlab.example.com/api/v4/user/status
```
Example responses