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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
7d8f0222
Commit
7d8f0222
authored
Apr 07, 2020
by
guillaume
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct format for curl
parent
b9299863
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/api/epics.md
doc/api/epics.md
+3
-3
No files found.
doc/api/epics.md
View file @
7d8f0222
...
...
@@ -245,7 +245,7 @@ POST /groups/:id/epics
|
`parent_id`
| integer/string | no | The id of a parent epic (since 11.11) |
```
shell
curl
--
header
POST
"PRIVATE-TOKEN: <your_access_token>"
https://gitlab.example.com/api/v4/groups/1/epics?title
=
Epic&description
=
Epic%20description
curl
--
request
POST
--header
"PRIVATE-TOKEN: <your_access_token>"
https://gitlab.example.com/api/v4/groups/1/epics?title
=
Epic&description
=
Epic%20description
```
Example response:
...
...
@@ -320,7 +320,7 @@ PUT /groups/:id/epics/:epic_iid
|
`state_event`
| string | no | State event for an epic. Set
`close`
to close the epic and
`reopen`
to reopen it (since 11.4) |
```
shell
curl
--
header
PUT
"PRIVATE-TOKEN: <your_access_token>"
https://gitlab.example.com/api/v4/groups/1/epics/5?title
=
New%20Title
curl
--
request
PUT
--header
"PRIVATE-TOKEN: <your_access_token>"
https://gitlab.example.com/api/v4/groups/1/epics/5?title
=
New%20Title
```
Example response:
...
...
@@ -382,7 +382,7 @@ DELETE /groups/:id/epics/:epic_iid
|
`epic_iid`
| integer/string | yes | The internal ID of the epic. |
```
shell
curl
--
header
DELETE
"PRIVATE-TOKEN: <your_access_token>"
https://gitlab.example.com/api/v4/groups/1/epics/5
curl
--
request
DELETE
--header
"PRIVATE-TOKEN: <your_access_token>"
https://gitlab.example.com/api/v4/groups/1/epics/5
```
## Create a todo
...
...
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