diff options
author | Nermin Vehabovic <nermin.vehabovic90@gmail.com> | 2019-02-26 23:18:40 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-02-26 23:18:40 +0000 |
commit | f9e38cd39f7bbe4fc9a9e437d745270f01edc68b (patch) | |
tree | ba0a25ebf130324f3d805685360a77a02683f9d4 /doc/api/milestones.md | |
parent | 3ae5e475293b4143ed6af530da0d2ab8d9fba56a (diff) | |
download | gitlab-ce-f9e38cd39f7bbe4fc9a9e437d745270f01edc68b.tar.gz |
Added: Documentation for the API
Added: Specs for the API action
Diffstat (limited to 'doc/api/milestones.md')
-rw-r--r-- | doc/api/milestones.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/api/milestones.md b/doc/api/milestones.md index fa8f8a0bcf0..897184d51af 100644 --- a/doc/api/milestones.md +++ b/doc/api/milestones.md @@ -130,3 +130,18 @@ Parameters: - `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user - `milestone_id` (required) - The ID of a project milestone + +## Promote project milestone to a group milestone + +> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/53861) in GitLab 11.9 + +Only for users with developer access to the group. + +``` +POST /projects/:id/milestones/:milestone_id/promote +``` + +Parameters: + +- `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user +- `milestone_id` (required) - The ID of a project milestone |