diff options
author | akkee <akashsrvstv@yahoo.in> | 2018-11-21 07:33:49 +0000 |
---|---|---|
committer | akkee <akashsrvstv@yahoo.in> | 2018-11-21 07:33:49 +0000 |
commit | b13b31abb9ebc1428fc23d4505048c03e13e7d97 (patch) | |
tree | fd6bfd9eccc6e03d59c524d6c603662ca126db0b | |
parent | 1fc450d0d1b741f6105afb6f498c1a39cbfd13fb (diff) | |
download | gitlab-ce-b13b31abb9ebc1428fc23d4505048c03e13e7d97.tar.gz |
Response of /wiki/home should be a wiki object and not an array
-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 |