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

GitLab.API.Boards

Description

 
Synopsis

List project issue boards

projectIssueBoards Source #

Arguments

:: Project

the project

-> GitLab [IssueBoard] 

returns all issue boards for a project.

Show a single issue board

projectIssueBoard Source #

Arguments

:: Project

the project

-> Int

the board ID

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

returns a single project issue board.

Create an issue board

createIssueBoard Source #

Arguments

:: Project

the project

-> Text

board name

-> GitLab (Maybe IssueBoard) 

Creates a project issue board.

Update an issue board

updateIssueBoard Source #

Arguments

:: Project

project

-> Int

the board ID

-> UpdateBoardAttrs

attributes for updating boards

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

Updates a project issue board.

Delete an issue board

deleteIssueBoard Source #

Arguments

:: Project

the project

-> IssueBoard

the board

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

Deletes a project issue board.

List board lists in a project issue board

projectBoardLists Source #

Arguments

:: Project

the project

-> IssueBoard

the board

-> GitLab [BoardIssue] 

Get a list of the board’s lists. Does not include open and closed lists.

Show a single board list

boardList Source #

Arguments

:: Project

the project

-> IssueBoard

the board

-> Int

list ID

-> GitLab (Maybe BoardIssue) 

Get a single board list. Does not include open and closed lists.

Create a board list

createBoardList Source #

Arguments

:: Project

the project

-> IssueBoard

the board

-> CreateBoardAttrs

attributes for creating boards

-> GitLab (Maybe BoardIssue) 

Creates a new issue board list.

Reorder a list in a board

reorderBoardList Source #

Arguments

:: Project

project

-> IssueBoard

board

-> Int

list ID

-> Int

the position of the list

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

Updates an existing issue board list. This call is used to change list position.

Update an issue board

deleteBoardList Source #

Arguments

:: Project

project

-> IssueBoard

board

-> Int

list ID

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

Only for administrators and project owners. Deletes a board list.

Board attributes

data UpdateBoardAttrs Source #

Attributes for updating when editing a board with the functions for updating issue boards.

defaultUpdateBoardAttrs :: UpdateBoardAttrs Source #

default attributes for board update.

data CreateBoardAttrs Source #

exactly one parameter must be provided.

defaultCreateBoardAttrs :: CreateBoardAttrs Source #

default attributes for board creation.