Skip to content

Commit

Permalink
update user docs with gitlab URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed Nov 11, 2017
1 parent 44a7ef6 commit 29d8d72
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/gl_objects/users.rst
Expand Up @@ -25,6 +25,8 @@ References
+ :class:`gitlab.v3.objects.UserManager`
+ :attr:`gitlab.Gitlab.users`

* GitLab API: https://docs.gitlab.com/ce/api/users.html

Examples
--------

Expand Down Expand Up @@ -82,6 +84,11 @@ References
+ :class:`gitlab.v4.objects.UserCustomAttributeManager`
+ :attr:`gitlab.v4.objects.User.customattributes`

* GitLab API: https://docs.gitlab.com/ce/api/custom_attributes.html

Examples
--------

List custom attributes for a user:

.. literalinclude:: users.py
Expand Down Expand Up @@ -118,6 +125,8 @@ References
+ :class:`gitlab.v4.objects.UserImpersonationTokenManager`
+ :attr:`gitlab.v4.objects.User.impersonationtokens`

* GitLab API: https://docs.gitlab.com/ce/api/users.html#get-all-impersonation-tokens-of-a-user

List impersonation tokens for a user:

.. literalinclude:: users.py
Expand Down Expand Up @@ -160,6 +169,8 @@ References
+ :class:`gitlab.v3.objects.CurrentUserManager`
+ :attr:`gitlab.Gitlab.user`

* GitLab API: https://docs.gitlab.com/ce/api/users.html

Examples
--------

Expand Down Expand Up @@ -187,6 +198,8 @@ are admin.
+ :class:`gitlab.v4.objects.UserGPGKeyManager`
+ :attr:`gitlab.v4.objects.User.gpgkeys`

* GitLab API: https://docs.gitlab.com/ce/api/users.html#list-all-gpg-keys

Exemples
--------

Expand Down Expand Up @@ -243,6 +256,8 @@ are admin.
+ :attr:`gitlab.v3.objects.User.keys`
+ :attr:`gitlab.Gitlab.user_keys`

* GitLab API: https://docs.gitlab.com/ce/api/users.html#list-ssh-keys

Exemples
--------

Expand Down Expand Up @@ -299,6 +314,8 @@ are admin.
+ :attr:`gitlab.v3.objects.User.emails`
+ :attr:`gitlab.Gitlab.user_emails`

* GitLab API: https://docs.gitlab.com/ce/api/users.html#list-emails

Exemples
--------

Expand Down Expand Up @@ -341,6 +358,8 @@ References
+ :class:`gitlab.v4.objects.UserActivitiesManager`
+ :attr:`gitlab.Gitlab.user_activities`

* GitLab API: https://docs.gitlab.com/ce/api/users.html#get-user-activities-admin-only

Examples
--------

Expand Down

0 comments on commit 29d8d72

Please sign in to comment.