diff options
author | Max Wittig <max.wittig95@gmail.com> | 2019-08-22 18:54:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-22 18:54:36 +0200 |
commit | 0389e664c0a04021b3df097bacad3940f158607f (patch) | |
tree | 915c5275913bf4671393872e3139958be688e8f0 /docs/gl_objects | |
parent | 99a941526a1845559d92b607fd9e2d86efb7e7b6 (diff) | |
parent | 29de40ee6a20382c293d8cdc8d831b52ad56a657 (diff) | |
download | gitlab-0389e664c0a04021b3df097bacad3940f158607f.tar.gz |
Merge pull request #865 from orf/retrieve-environment
feat: add methods to retrieve an individual project environment
Diffstat (limited to 'docs/gl_objects')
-rw-r--r-- | docs/gl_objects/environments.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/gl_objects/environments.rst b/docs/gl_objects/environments.rst index a05a6fc..6edde12 100644 --- a/docs/gl_objects/environments.rst +++ b/docs/gl_objects/environments.rst @@ -24,6 +24,10 @@ Create an environment for a project:: environment = project.environments.create({'name': 'production'}) +Retrieve a specific environment for a project:: + + environment = project.environments.get(112) + Update an environment for a project:: environment.external_url = 'http://foo.bar.com' |