summaryrefslogtreecommitdiff
path: root/docs/gl_objects/namespaces.rst
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-08-11 16:07:04 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2017-08-11 16:07:04 +0200
commit4057644f03829e4439ec8ab1feacf90c65d976eb (patch)
tree977658ba5109c8a3b512a882bf0a037daad754cb /docs/gl_objects/namespaces.rst
parent80eab7b0c0682c5df99495acc4d6f71f36603cfc (diff)
downloadgitlab-4057644f03829e4439ec8ab1feacf90c65d976eb.tar.gz
Update the objects doc/examples for v4
Diffstat (limited to 'docs/gl_objects/namespaces.rst')
-rw-r--r--docs/gl_objects/namespaces.rst20
1 files changed, 17 insertions, 3 deletions
diff --git a/docs/gl_objects/namespaces.rst b/docs/gl_objects/namespaces.rst
index 1819180..0dabdd9 100644
--- a/docs/gl_objects/namespaces.rst
+++ b/docs/gl_objects/namespaces.rst
@@ -2,11 +2,25 @@
Namespaces
##########
-Use :class:`~gitlab.objects.Namespace` objects to manipulate namespaces. The
-:attr:`gitlab.Gitlab.namespaces` manager objects provides helper functions.
+Reference
+---------
+
+* v4 API:
+
+ + :class:`gitlab.v4.objects.Namespace`
+ + :class:`gitlab.v4.objects.NamespaceManager`
+ + :attr:`gitlab.Gitlab.namespaces`
+
+* v3 API:
+
+ + :class:`gitlab.v3.objects.Namespace`
+ + :class:`gitlab.v3.objects.NamespaceManager`
+ + :attr:`gitlab.Gitlab.namespaces`
+
+* GitLab API: https://docs.gitlab.com/ce/api/namespaces.html
Examples
-========
+--------
List namespaces: