From 4c4ac5ca1e5cabc4ea4b12734a7b091bc4c224b5 Mon Sep 17 00:00:00 2001 From: Max Wittig Date: Tue, 21 Jan 2020 18:46:27 +0100 Subject: feat: add appearance API --- docs/gl_objects/appearance.rst | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docs/gl_objects/appearance.rst (limited to 'docs/gl_objects') diff --git a/docs/gl_objects/appearance.rst b/docs/gl_objects/appearance.rst new file mode 100644 index 0000000..0c05268 --- /dev/null +++ b/docs/gl_objects/appearance.rst @@ -0,0 +1,26 @@ +########## +Appearance +########## + +Reference +--------- + +* v4 API: + + + :class:`gitlab.v4.objects.ApplicationAppearance` + + :class:`gitlab.v4.objects.ApplicationAppearanceManager` + + :attr:`gitlab.Gitlab.appearance` + +* GitLab API: https://docs.gitlab.com/ce/api/appearance.html + +Examples +-------- + +Get the appearance:: + + appearance = gl.appearance.get() + +Update the appearance:: + + appearance.title = "Test" + appearance.save() -- cgit v1.2.1