diff options
author | Max Wittig <max.wittig@siemens.com> | 2020-04-16 10:07:45 +0200 |
---|---|---|
committer | Max Wittig <max.wittig@siemens.com> | 2020-04-16 14:39:04 +0200 |
commit | fc5222188ad096932fa89bb53f03f7118926898a (patch) | |
tree | 728d753db13054fe866e1c3587255dc3f2c893c8 /docs/gl_objects | |
parent | 70cefe4d5b7f29db6c8c1deef524076510fd350a (diff) | |
download | gitlab-fc5222188ad096932fa89bb53f03f7118926898a.tar.gz |
feat(services): add project service list API
Can be used to list available services
It was introduced in GitLab 12.7
Diffstat (limited to 'docs/gl_objects')
-rw-r--r-- | docs/gl_objects/projects.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/gl_objects/projects.rst b/docs/gl_objects/projects.rst index fa83426..9bd98b1 100644 --- a/docs/gl_objects/projects.rst +++ b/docs/gl_objects/projects.rst @@ -608,6 +608,10 @@ Get a service:: # display its status (enabled/disabled) print(service.active) +List active project services:: + + service = project.services.list() + List the code names of available services (doesn't return objects):: services = project.services.available() |