diff options
author | Raimund Hook <raimund.hook@exfo.com> | 2021-09-24 10:22:27 +0100 |
---|---|---|
committer | Raimund Hook <raimund.hook@exfo.com> | 2021-10-18 10:30:34 +0100 |
commit | 6d7c88a1fe401d271a34df80943634652195b140 (patch) | |
tree | 0596d9782a50a60e95d1677c17f9a02428993d1d /docs | |
parent | 905781bed2afa33634b27842a42a077a160cffb8 (diff) | |
download | gitlab-6d7c88a1fe401d271a34df80943634652195b140.tar.gz |
feat(api): add project label promotion
Adds a mixin that allows the /promote endpoint to be called.
Signed-off-by: Raimund Hook <raimund.hook@exfo.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/gl_objects/labels.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/gl_objects/labels.rst b/docs/gl_objects/labels.rst index a4667aa..9a955dd 100644 --- a/docs/gl_objects/labels.rst +++ b/docs/gl_objects/labels.rst @@ -36,6 +36,10 @@ Update a label for a project:: label.color = '#112233' label.save() +Promote a project label to a group label:: + + label.promote() + Delete a label for a project:: project.labels.delete(label_id) |