From 6d7c88a1fe401d271a34df80943634652195b140 Mon Sep 17 00:00:00 2001 From: Raimund Hook Date: Fri, 24 Sep 2021 10:22:27 +0100 Subject: feat(api): add project label promotion Adds a mixin that allows the /promote endpoint to be called. Signed-off-by: Raimund Hook --- docs/gl_objects/labels.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') 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) -- cgit v1.2.1