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
fad2e6c4
Commit
fad2e6c4
authored
Jul 03, 2019
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ee
parents
7b0e7a75
de30b985
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
111 additions
and
1 deletion
+111
-1
doc/api/group_boards.md
doc/api/group_boards.md
+53
-0
doc/api/issues.md
doc/api/issues.md
+1
-1
doc/api/protected_branches.md
doc/api/protected_branches.md
+57
-0
No files found.
doc/api/group_boards.md
View file @
fad2e6c4
...
...
@@ -123,6 +123,59 @@ Example response:
]
```
Users on GitLab
[
Premium, Silver, or higher
](
https://about.gitlab.com/pricing/
)
will see
different parameters, due to the ability to have multiple group boards. Refer to the table
above to see what enpoint(s) belong to each tier.
Example response:
```
json
[
{
"id"
:
1
,
"name:"
:
"group issue board"
,
"group"
:
{
"id"
:
5
,
"name"
:
"Documentcloud"
,
"web_url"
:
"http://example.com/groups/documentcloud"
},
"milestone"
:
{
"id"
:
12
"title"
:
"10.0"
},
"lists"
:
[
{
"id"
:
1
,
"label"
:
{
"name"
:
"Testing"
,
"color"
:
"#F0AD4E"
,
"description"
:
null
},
"position"
:
1
},
{
"id"
:
2
,
"label"
:
{
"name"
:
"Ready"
,
"color"
:
"#FF0000"
,
"description"
:
null
},
"position"
:
2
},
{
"id"
:
3
,
"label"
:
{
"name"
:
"Production"
,
"color"
:
"#FF5F00"
,
"description"
:
null
},
"position"
:
3
}
]
}
]
```
## Single board
Gets a single board.
...
...
doc/api/issues.md
View file @
fad2e6c4
...
...
@@ -697,7 +697,7 @@ PUT /projects/:id/issues/:issue_iid
| Attribute | Type | Required | Description |
|----------------|---------|----------|------------------------------------------------------------------------------------------------------------|
|
`id`
| integer/string | yes
| The ID or
[
URL-encoded path of the project
](
README.md#namespaced-path-encoding
)
owned by the authenticated user |
|
`id`
| integer/string | yes | The ID or
[
URL-encoded path of the project
](
README.md#namespaced-path-encoding
)
owned by the authenticated user |
|
`issue_iid`
| integer | yes | The internal ID of a project's issue |
|
`title`
| string | no | The title of an issue |
|
`description`
| string | no | The description of an issue |
...
...
doc/api/protected_branches.md
View file @
fad2e6c4
...
...
@@ -86,6 +86,36 @@ Example response:
]
```
Users on GitLab
[
Starter, Bronze, or higher
](
https://about.gitlab.com/pricing/
)
will also see
the
`user_id`
and
`group_id`
parameters:
Example response:
```
json
[
{
"name"
:
"master"
,
"push_access_levels"
:
[
{
"access_level"
:
40
,
"user_id"
:
null
,
"group_id"
:
null
,
"access_level_description"
:
"Maintainers"
}
],
"merge_access_levels"
:
[
{
"access_level"
:
null
,
"user_id"
:
null
,
"group_id"
:
1234
,
"access_level_description"
:
"Example Merge Group"
}
]
},
...
]
```
## Get a single protected branch or wildcard protected branch
Gets a single protected branch or wildcard protected branch.
...
...
@@ -154,6 +184,33 @@ Example response:
}
```
Users on GitLab
[
Starter, Bronze, or higher
](
https://about.gitlab.com/pricing/
)
will also see
the
`user_id`
and
`group_id`
parameters:
Example response:
```
json
{
"name"
:
"master"
,
"push_access_levels"
:
[
{
"access_level"
:
40
,
"user_id"
:
null
,
"group_id"
:
null
,
"access_level_description"
:
"Maintainers"
}
],
"merge_access_levels"
:
[
{
"access_level"
:
null
,
"user_id"
:
null
,
"group_id"
:
1234
,
"access_level_description"
:
"Example Merge Group"
}
]
}
```
## Protect repository branches
Protects a single repository branch or several project repository
...
...
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