package gitlab-jsoo
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=8ca701f1adcc5e13b6591a82d6d4f55e44571523efeeb47e46777c1cd22e2f2a
sha512=8f3ed8892d7c8545bb7d9f3d9a8035daed3bd8a9a4e6dfe5a7c84258ee45ddc6123bc994afb18d8a012ceb4dc1bd3b96bd109ac5c7a43c96152e69cb690d1815
doc/gitlab-jsoo/Gitlab/index.html
Module Gitlab
Source
include Gitlab_s.Gitlab
Functions corresponding to direct API requests return Response.t
values inside of Monad.t
values so that more information about the request can be made available. Monad.(>>~)
is a convenience operator that lets you bind directly to the carried value.
All API requests are bound through this monad which encapsulates an Lwt cooperative thread and includes some state which may be set via API
functions.
The Scope
module abstracts GitLab's authorization scopes.
'a parse
is the type of functions which extract meaningful values from GitLab responses.
'a handler
is the type of response handlers which consist of an activation predicate (fst) and a parse function (snd).
Each request to GitLab is made to a specific Endpoint
in GitLab's REST-like API.
The Stream
module provides an abstraction to GitLab's paginated endpoints. Stream creation does not initiate any network activity. When requests are made, results are buffered internally. Streams are not mutable.
The Project
module provides access to Project API.