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

GitLab.API.Boards

Description

 
Synopsis

Documentation

projectIssueBoards Source #

Arguments

:: Project

the project

-> GitLab [IssueBoard] 

returns all issue boards for a project.

projectIssueBoards' Source #

Arguments

:: Int

project ID

-> GitLab (Either (Response ByteString) [IssueBoard]) 

returns all issue boards for a project given its project ID.

projectIssueBoard Source #

Arguments

:: Project

the project

-> Int

the board ID

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

returns all issue boards for a project.

projectIssueBoard' Source #

Arguments

:: Int

the project ID

-> Int

the board ID

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

returns all issue boards for a project.

createIssueBoard Source #

Arguments

:: Project

the project

-> Text

board name

-> GitLab (Maybe IssueBoard) 

Creates a project issue board.

createIssueBoard' Source #

Arguments

:: Int

the project ID

-> Text

board name

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

Creates a project issue board.

updateIssueBoard' Source #

Arguments

:: Int

the project ID

-> Int

the board ID

-> UpdateBoardAttrs

attributes for updating boards

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

Updates a project issue board.

deleteIssueBoard Source #

Arguments

:: Project

the project

-> IssueBoard

the board

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

Deletes a project issue board.

deleteIssueBoard' Source #

Arguments

:: Int

the project ID

-> Int

the board ID

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

Deletes 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.

projectBoardLists' Source #

Arguments

:: Int

project ID

-> Int

board ID

-> GitLab (Either (Response ByteString) [BoardIssue]) 

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

boardList Source #

Arguments

:: Project

the project

-> IssueBoard

the board

-> Int

list ID

-> GitLab (Maybe BoardIssue) 

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

boardList' Source #

Arguments

:: Int

project ID

-> Int

board ID

-> Int

list ID

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

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

createBoardList Source #

Arguments

:: Project

the project

-> IssueBoard

the board

-> CreateBoardAttrs

attributes for creating boards

-> GitLab (Maybe BoardIssue) 

Creates a new issue board list.

createBoardList' Source #

Arguments

:: Int

project ID

-> Int

board ID

-> CreateBoardAttrs

attributes for creating the board

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

Creates a new issue board list.

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.

reorderBoardList' Source #

Arguments

:: Int

project ID

-> Int

board ID

-> 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.

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.

deleteBoardList' Source #

Arguments

:: Int

project ID

-> Int

board ID

-> Int

list ID

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

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

noUpdateBoardAttrs :: UpdateBoardAttrs Source #

no attributes for board update.

data CreateBoardAttrs Source #

exactly one parameter must be provided.

noCreateBoardAttrs :: CreateBoardAttrs Source #

no attributes for board creation.