gitlab-haskell-1.0.0.1: A Haskell library for the GitLab web API
Copyright(c) Rob Stewart Heriot-Watt University 2019
LicenseBSD3
Maintainerrobstewart57@gmail.com
Stabilitystable
Safe HaskellNone
LanguageHaskell2010

GitLab.API.Todos

Description

 
Synopsis

Get a list of to-do items

todos :: TodoAttrs -> GitLab [Todo] Source #

returns all pending todos for the user, as defined by the access token.

Mark a to-do item as done

todoDone Source #

Arguments

:: Int

The ID of to-do item

-> GitLab (Either (Response ByteString) (Maybe ())) 

Marks a single pending to-do item given by its ID for the current user as done.

Mark all to-do items as done

todosDone :: GitLab (Either (Response ByteString) (Maybe ())) Source #

Marks all pending to-do items for the current user as done. It returns the HTTP status code 204 with an empty response.

TODO's filters

defaultTodoFilters :: TodoAttrs Source #

No todo filters applied.

data TodoAttrs Source #

Attributes related to listing groups

Constructors

TodoAttrs 

Fields