diff options
author | Sean McGivern <sean@gitlab.com> | 2018-11-21 11:13:17 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2018-11-21 11:13:17 +0000 |
commit | b8dd1425841521bffbe0f937565b9d60e9182be0 (patch) | |
tree | a37c39a7437a3ff9be67857db99cd52404472563 | |
parent | eb3683fa65a6c943ae79352c90bd1ad3e810ef01 (diff) | |
parent | b13b31abb9ebc1428fc23d4505048c03e13e7d97 (diff) | |
download | gitlab-ce-b8dd1425841521bffbe0f937565b9d60e9182be0.tar.gz |
Merge branch 'patch-28' into 'master'
Documented Response of /wikis/home should be a wiki object and not an array
See merge request gitlab-org/gitlab-ce!23263
-rw-r--r-- | doc/api/wikis.md | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/doc/api/wikis.md b/doc/api/wikis.md index fb0ec773da5..df3b54e8f89 100644 --- a/doc/api/wikis.md +++ b/doc/api/wikis.md @@ -65,14 +65,12 @@ curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/a Example response: ```json -[ - { - "content" : "home page", - "format" : "markdown", - "slug" : "home", - "title" : "home" - } -] +{ + "content" : "home page", + "format" : "markdown", + "slug" : "home", + "title" : "home" +} ``` ## Create a new wiki page |