diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2017-11-11 09:15:20 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-11-11 09:15:20 +0100 |
commit | 44a7ef6d390b534977fb14a360e551634135bc20 (patch) | |
tree | 5f64903547df7c9ffe2e752c5530c8f382f28efc /docs/gl_objects | |
parent | 7fadf4611709157343e1421e9af27ae1abb9d81c (diff) | |
download | gitlab-44a7ef6d390b534977fb14a360e551634135bc20.tar.gz |
Add support for user activities
Diffstat (limited to 'docs/gl_objects')
-rw-r--r-- | docs/gl_objects/users.rst | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/gl_objects/users.rst b/docs/gl_objects/users.rst index e7b15f6..fca7ca8 100644 --- a/docs/gl_objects/users.rst +++ b/docs/gl_objects/users.rst @@ -145,6 +145,9 @@ Revoke (delete) an impersonation token for a user: Current User ============ +References +---------- + * v4 API: + :class:`gitlab.v4.objects.CurrentUser` @@ -169,6 +172,9 @@ Get the current user: GPG keys ======== +References +---------- + You can manipulate GPG keys for the current user and for the other users if you are admin. @@ -211,6 +217,9 @@ Delete an GPG gpgkey for a user: SSH keys ======== +References +---------- + You can manipulate SSH keys for the current user and for the other users if you are admin. @@ -264,6 +273,9 @@ Delete an SSH key for a user: Emails ====== +References +---------- + You can manipulate emails for the current user and for the other users if you are admin. @@ -313,3 +325,27 @@ Delete an email for a user: .. literalinclude:: users.py :start-after: # email delete :end-before: # end email delete + +Users activities +================ + +References +---------- + +* v4 only +* admin only + +* v4 API: + + + :class:`gitlab.v4.objects.UserActivities` + + :class:`gitlab.v4.objects.UserActivitiesManager` + + :attr:`gitlab.Gitlab.user_activities` + +Examples +-------- + +Get the users activities: + +.. code-block:: python + + activities = gl.user_activities.list(all=True, as_list=False) |