diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-11 12:09:48 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-11 12:09:48 +0300 |
commit | 8c59925bbbc05315565cd9eb54c897be69072d65 (patch) | |
tree | 53c6c57e92c65b3b2711703f01eea033352edf82 /doc/api/epic_links.md | |
parent | 12d3a6f92190feeec2c36262a0344da00f228dcd (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/epic_links.md')
-rw-r--r-- | doc/api/epic_links.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/epic_links.md b/doc/api/epic_links.md index cf68098a47f..319d1a1ee9b 100644 --- a/doc/api/epic_links.md +++ b/doc/api/epic_links.md @@ -12,10 +12,10 @@ Manages parent-child [epic relationships](../user/group/epics/index.md#multi-lev Every API call to `epic_links` must be authenticated. -If a user is not a member of a group and the group is private, a `GET` request on that group will result to a `404` status code. +If a user makes a `GET` request to a private group they are not a member of, the result is a `404` status code. Multi-level Epics are available only in GitLab [Ultimate/Gold](https://about.gitlab.com/pricing/). -If the Multi-level Epics feature is not available, a `403` status code will be returned. +If the Multi-level Epics feature is not available, a `403` status code is returned. ## List epics related to a given epic @@ -135,9 +135,9 @@ POST /groups/:id/epics/:epic_iid/epics | Attribute | Type | Required | Description | | --------------- | -------------- | -------- | ------------------------------------------------------------------------------------------------------------------ | | `id` | integer/string | yes | The ID or [URL-encoded path of the group](README.md#namespaced-path-encoding) owned by the authenticated user | -| `epic_iid` | integer | yes | The internal ID of the (future parent) epic. | -| `title` | string | yes | The title of a newly created epic. | -| `confidential` | boolean | no | Whether the epic should be confidential. Will be ignored if `confidential_epics` feature flag is disabled. Defaults to the confidentiality state of the parent epic. | +| `epic_iid` | integer | yes | The internal ID of the (future parent) epic. | +| `title` | string | yes | The title of a newly created epic. | +| `confidential` | boolean | no | Whether the epic should be confidential. Parameter is ignored if `confidential_epics` feature flag is disabled. Defaults to the confidentiality state of the parent epic. | ```shell curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/groups/1/epics/5/epics?title=Newpic" |