summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2018-11-21 11:13:17 +0000
committerSean McGivern <sean@gitlab.com>2018-11-21 11:13:17 +0000
commitb8dd1425841521bffbe0f937565b9d60e9182be0 (patch)
treea37c39a7437a3ff9be67857db99cd52404472563
parenteb3683fa65a6c943ae79352c90bd1ad3e810ef01 (diff)
parentb13b31abb9ebc1428fc23d4505048c03e13e7d97 (diff)
downloadgitlab-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.md14
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