Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Gitlab.User
SourceThe User
module provides access to User API.
by_id ~id ()
is the user information for user id
.
See Single User.
by_name ~name ()
search for user by name
.
See List Users.
current_user ~token ()
is the current user for token
. See Current Authenticated User.
projects ~id ()
list user projects for user id
.
See List User Projects.
val merge_requests :
token:Token.t ->
?state:Gitlab_t.state ->
?milestone:string ->
?labels:string list ->
?author:string ->
?author_username:string ->
?my_reaction:string ->
?scope:Gitlab_t.merge_request_scope ->
unit ->
Gitlab_t.merge_request Stream.t
merge_requests ()
list all merge requests the authenticated user has access to.
See List merge requests.
val issues :
token:Token.t ->
?state:Gitlab_t.state ->
?assignee:string ->
?assignee_username:string ->
?milestone:string ->
?labels:string list ->
?author:string ->
?author_username:string ->
?scope:Gitlab_t.merge_request_scope ->
unit ->
Gitlab_t.issue Stream.t
issues ~token ()
returns a list of project issues.
See List issues.
val events :
token:Token.t ->
id:string ->
?action:Gitlab_t.event_action_name ->
?target_type:Gitlab_t.event_target_type ->
unit ->
Gitlab_t.events Response.t Monad.t
events ~token ~id
get the contribution events for the specified user.
Personal access tokens for User
authentication.