Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
55d72c35
Commit
55d72c35
authored
May 23, 2019
by
Brett Walker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Epic Link documentation
parent
26c98508
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
doc/api/epic_links.md
doc/api/epic_links.md
+2
-1
No files found.
doc/api/epic_links.md
View file @
55d72c35
...
@@ -125,7 +125,7 @@ POST /groups/:id/epics/:epic_iid/epics
...
@@ -125,7 +125,7 @@ POST /groups/:id/epics/:epic_iid/epics
| --------------- | -------------- | -------- | ------------------------------------------------------------------------------------------------------------------ |
| --------------- | -------------- | -------- | ------------------------------------------------------------------------------------------------------------------ |
|
`id`
| integer/string | yes | The ID or
[
URL-encoded path of the group
](
README.md#namespaced-path-encoding
)
owned by the authenticated user |
|
`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. |
|
`epic_iid`
| integer | yes | The internal ID of the (future parent) epic. |
|
`title`
| integer | yes | The global ID of the child epic. Internal ID can't be used because they can conflict with epics from other groups
. |
|
`title`
| string | yes | The title of a newly created epic
. |
```
bash
```
bash
curl
--header
POST
"PRIVATE-TOKEN: <your_access_token>"
https://gitlab.example.com/api/v4/groups/1/epics/5/epics?title
=
Newpic
curl
--header
POST
"PRIVATE-TOKEN: <your_access_token>"
https://gitlab.example.com/api/v4/groups/1/epics/5/epics?title
=
Newpic
...
@@ -141,6 +141,7 @@ Example response:
...
@@ -141,6 +141,7 @@ Example response:
"group_id"
:
49
,
"group_id"
:
49
,
"parent_id"
:
23
,
"parent_id"
:
23
,
"has_children"
:
false
,
"has_children"
:
false
,
"has_issues"
:
false
,
"reference"
:
"&2"
,
"reference"
:
"&2"
,
"url"
:
"http://localhost/groups/group16/-/epics/2"
,
"url"
:
"http://localhost/groups/group16/-/epics/2"
,
"relation_url"
:
"http://localhost/groups/group16/-/epics/1/links/24"
"relation_url"
:
"http://localhost/groups/group16/-/epics/1/links/24"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment