summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@gitlab.com>2017-03-10 09:19:12 +0100
committerBob Van Landuyt <bob@gitlab.com>2017-03-13 08:27:52 +0100
commitea70a0d674539d53e40c63a0a3cebef33d7e13b7 (patch)
tree8d4e9f1801c33ab87b7a266528f81de0a812bef1 /doc
parenta07e89b2751f1855e2fe4bdf05a5967fd7421778 (diff)
downloadgitlab-ce-ea70a0d674539d53e40c63a0a3cebef33d7e13b7.tar.gz
Rename variable
merge_request_for_resolving_discussions -> merge_request_to_resolve_discussions_of
Diffstat (limited to 'doc')
-rw-r--r--doc/api/issues.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/issues.md b/doc/api/issues.md
index 05fb9739ed1..cb437ffb174 100644
--- a/doc/api/issues.md
+++ b/doc/api/issues.md
@@ -340,8 +340,8 @@ POST /projects/:id/issues
| `labels` | string | no | Comma-separated label names for an issue |
| `created_at` | string | no | Date time string, ISO 8601 formatted, e.g. `2016-03-11T03:45:40Z` (requires admin or project owner rights) |
| `due_date` | string | no | Date time string in the format YEAR-MONTH-DAY, e.g. `2016-03-11` |
-| `merge_request_for_resolving_discussions` | integer | no | The IID of a merge request in which to resolve all issues. This will fill the issue with a default description and mark all discussions as resolved. When passing a description or title, these values will take precedence over the default values. |
-| `discussion_to_resolve` | string | no | The ID of a discussion to resolve. This will fill in the issue with a default description and mark the discussion as resolved. Use in combination with `merge_request_for_resolving_discussions`. |
+| `merge_request_to_resolve_discussions_of` | integer | no | The IID of a merge request in which to resolve all issues. This will fill the issue with a default description and mark all discussions as resolved. When passing a description or title, these values will take precedence over the default values. |
+| `discussion_to_resolve` | string | no | The ID of a discussion to resolve. This will fill in the issue with a default description and mark the discussion as resolved. Use in combination with `merge_request_to_resolve_discussions_of`. |
```bash
curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/projects/4/issues?title=Issues%20with%20auth&labels=bug