diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-16 03:08:47 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-16 03:08:47 +0000 |
commit | 08ed6a867b690a04fe7a74c9ba697cf18f6107d7 (patch) | |
tree | 9561a9aeee9a57cec168b143a76e6f65fd92ae0b /doc/api | |
parent | b0f27742e78a4aa4208c271536b6b9d84c53b49e (diff) | |
download | gitlab-ce-08ed6a867b690a04fe7a74c9ba697cf18f6107d7.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/wikis.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/wikis.md b/doc/api/wikis.md index 570fb2168b2..035a89d80a5 100644 --- a/doc/api/wikis.md +++ b/doc/api/wikis.md @@ -86,7 +86,7 @@ POST /projects/:id/wikis | `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) | | `content` | string | yes | The content of the wiki page | | `title` | string | yes | The title of the wiki page | -| `format` | string | no | The format of the wiki page. Available formats are: `markdown` (default), `rdoc`, and `asciidoc` | +| `format` | string | no | The format of the wiki page. Available formats are: `markdown` (default), `rdoc`, `asciidoc` and `org` | ```bash curl --data "format=rdoc&title=Hello&content=Hello world" --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/1/wikis" @@ -116,7 +116,7 @@ PUT /projects/:id/wikis/:slug | `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) | | `content` | string | yes if `title` is not provided | The content of the wiki page | | `title` | string | yes if `content` is not provided | The title of the wiki page | -| `format` | string | no | The format of the wiki page. Available formats are: `markdown` (default), `rdoc`, and `asciidoc` | +| `format` | string | no | The format of the wiki page. Available formats are: `markdown` (default), `rdoc`, `asciidoc` and `org` | | `slug` | string | yes | The slug (a unique string) of the wiki page | ```bash |