summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakkee <akashsrvstv@yahoo.in>2018-11-21 07:33:49 +0000
committerakkee <akashsrvstv@yahoo.in>2018-11-21 07:33:49 +0000
commitb13b31abb9ebc1428fc23d4505048c03e13e7d97 (patch)
treefd6bfd9eccc6e03d59c524d6c603662ca126db0b
parent1fc450d0d1b741f6105afb6f498c1a39cbfd13fb (diff)
downloadgitlab-ce-b13b31abb9ebc1428fc23d4505048c03e13e7d97.tar.gz
Response of /wiki/home should be a wiki object and not an array
-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