vikunja-api-0.24.6.0: Auto-generated vikunja-api API Client
Safe HaskellNone
LanguageHaskell2010

Vikunja.API.Sharing

Description

 
Synopsis

Operations

Sharing

notificationsPost

notificationsPost :: VikunjaRequest NotificationsPost MimeNoContent ModelsMessage MimeJSON Source #

POST /notifications

Mark all notifications of a user as read

data NotificationsPost Source #

Instances

Instances details
Produces NotificationsPost MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

projectsIdTeamsGet

projectsIdTeamsGet Source #

GET /projects/{id}/teams

Get teams on a project

Returns a project with all teams which have access on a given project.

AuthMethod: AuthApiKeyJWTKeyAuth

data ProjectsIdTeamsGet Source #

Instances

Instances details
Produces ProjectsIdTeamsGet MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

HasOptionalParam ProjectsIdTeamsGet S Source #

Optional Param "s" - Search teams by its name.

Instance details

Defined in Vikunja.API.Sharing

Methods

applyOptionalParam :: VikunjaRequest ProjectsIdTeamsGet contentType res accept -> S -> VikunjaRequest ProjectsIdTeamsGet contentType res accept Source #

(-&-) :: VikunjaRequest ProjectsIdTeamsGet contentType res accept -> S -> VikunjaRequest ProjectsIdTeamsGet contentType res accept Source #

HasOptionalParam ProjectsIdTeamsGet PerPage Source #

Optional Param "per_page" - The maximum number of items per page. Note this parameter is limited by the configured maximum of items per page.

Instance details

Defined in Vikunja.API.Sharing

Methods

applyOptionalParam :: VikunjaRequest ProjectsIdTeamsGet contentType res accept -> PerPage -> VikunjaRequest ProjectsIdTeamsGet contentType res accept Source #

(-&-) :: VikunjaRequest ProjectsIdTeamsGet contentType res accept -> PerPage -> VikunjaRequest ProjectsIdTeamsGet contentType res accept Source #

HasOptionalParam ProjectsIdTeamsGet Page Source #

Optional Param "page" - The page number. Used for pagination. If not provided, the first page of results is returned.

Instance details

Defined in Vikunja.API.Sharing

Methods

applyOptionalParam :: VikunjaRequest ProjectsIdTeamsGet contentType res accept -> Page -> VikunjaRequest ProjectsIdTeamsGet contentType res accept Source #

(-&-) :: VikunjaRequest ProjectsIdTeamsGet contentType res accept -> Page -> VikunjaRequest ProjectsIdTeamsGet contentType res accept Source #

projectsIdTeamsPut

projectsIdTeamsPut Source #

Arguments

:: (Consumes ProjectsIdTeamsPut MimeJSON, MimeRender MimeJSON ModelsTeamProject) 
=> ModelsTeamProject

"project" - The team you want to add to the project.

-> Id

"id" - Project ID

-> VikunjaRequest ProjectsIdTeamsPut MimeJSON ModelsTeamProject MimeJSON 
PUT /projects/{id}/teams

Add a team to a project

Gives a team access to a project.

AuthMethod: AuthApiKeyJWTKeyAuth

data ProjectsIdTeamsPut Source #

Instances

Instances details
Produces ProjectsIdTeamsPut MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

Consumes ProjectsIdTeamsPut MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

HasBodyParam ProjectsIdTeamsPut ModelsTeamProject Source #

Body Param "project" - The team you want to add to the project.

Instance details

Defined in Vikunja.API.Sharing

Methods

setBodyParam :: (Consumes ProjectsIdTeamsPut contentType, MimeRender contentType ModelsTeamProject) => VikunjaRequest ProjectsIdTeamsPut contentType res accept -> ModelsTeamProject -> VikunjaRequest ProjectsIdTeamsPut contentType res accept Source #

projectsIdUsersGet

projectsIdUsersGet Source #

GET /projects/{id}/users

Get users on a project

Returns a project with all users which have access on a given project.

AuthMethod: AuthApiKeyJWTKeyAuth

data ProjectsIdUsersGet Source #

Instances

Instances details
Produces ProjectsIdUsersGet MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

HasOptionalParam ProjectsIdUsersGet S Source #

Optional Param "s" - Search users by its name.

Instance details

Defined in Vikunja.API.Sharing

Methods

applyOptionalParam :: VikunjaRequest ProjectsIdUsersGet contentType res accept -> S -> VikunjaRequest ProjectsIdUsersGet contentType res accept Source #

(-&-) :: VikunjaRequest ProjectsIdUsersGet contentType res accept -> S -> VikunjaRequest ProjectsIdUsersGet contentType res accept Source #

HasOptionalParam ProjectsIdUsersGet PerPage Source #

Optional Param "per_page" - The maximum number of items per page. Note this parameter is limited by the configured maximum of items per page.

Instance details

Defined in Vikunja.API.Sharing

Methods

applyOptionalParam :: VikunjaRequest ProjectsIdUsersGet contentType res accept -> PerPage -> VikunjaRequest ProjectsIdUsersGet contentType res accept Source #

(-&-) :: VikunjaRequest ProjectsIdUsersGet contentType res accept -> PerPage -> VikunjaRequest ProjectsIdUsersGet contentType res accept Source #

HasOptionalParam ProjectsIdUsersGet Page Source #

Optional Param "page" - The page number. Used for pagination. If not provided, the first page of results is returned.

Instance details

Defined in Vikunja.API.Sharing

Methods

applyOptionalParam :: VikunjaRequest ProjectsIdUsersGet contentType res accept -> Page -> VikunjaRequest ProjectsIdUsersGet contentType res accept Source #

(-&-) :: VikunjaRequest ProjectsIdUsersGet contentType res accept -> Page -> VikunjaRequest ProjectsIdUsersGet contentType res accept Source #

projectsIdUsersPut

projectsIdUsersPut Source #

Arguments

:: (Consumes ProjectsIdUsersPut MimeJSON, MimeRender MimeJSON ModelsProjectUser) 
=> ModelsProjectUser

"project" - The user you want to add to the project.

-> Id

"id" - Project ID

-> VikunjaRequest ProjectsIdUsersPut MimeJSON ModelsProjectUser MimeJSON 
PUT /projects/{id}/users

Add a user to a project

Gives a user access to a project.

AuthMethod: AuthApiKeyJWTKeyAuth

data ProjectsIdUsersPut Source #

Instances

Instances details
Produces ProjectsIdUsersPut MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

Consumes ProjectsIdUsersPut MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

HasBodyParam ProjectsIdUsersPut ModelsProjectUser Source #

Body Param "project" - The user you want to add to the project.

Instance details

Defined in Vikunja.API.Sharing

Methods

setBodyParam :: (Consumes ProjectsIdUsersPut contentType, MimeRender contentType ModelsProjectUser) => VikunjaRequest ProjectsIdUsersPut contentType res accept -> ModelsProjectUser -> VikunjaRequest ProjectsIdUsersPut contentType res accept Source #

projectsProjectIDTeamsTeamIDDelete

projectsProjectIDTeamsTeamIDDelete Source #

Arguments

:: ProjectId

"projectId" - Project ID

-> TeamId

"teamId" - Team ID

-> VikunjaRequest ProjectsProjectIDTeamsTeamIDDelete MimeNoContent ModelsMessage MimeJSON 
DELETE /projects/{projectID}/teams/{teamID}

Delete a team from a project

Delets a team from a project. The team won't have access to the project anymore.

AuthMethod: AuthApiKeyJWTKeyAuth

data ProjectsProjectIDTeamsTeamIDDelete Source #

Instances

Instances details
Produces ProjectsProjectIDTeamsTeamIDDelete MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

projectsProjectIDTeamsTeamIDPost

projectsProjectIDTeamsTeamIDPost Source #

POST /projects/{projectID}/teams/{teamID}

Update a team - project relation

Update a team - project relation. Mostly used to update the right that team has.

AuthMethod: AuthApiKeyJWTKeyAuth

data ProjectsProjectIDTeamsTeamIDPost Source #

Instances

Instances details
Produces ProjectsProjectIDTeamsTeamIDPost MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

Consumes ProjectsProjectIDTeamsTeamIDPost MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

HasBodyParam ProjectsProjectIDTeamsTeamIDPost ModelsTeamProject Source #

Body Param "project" - The team you want to update.

Instance details

Defined in Vikunja.API.Sharing

projectsProjectIDUsersUserIDDelete

projectsProjectIDUsersUserIDDelete Source #

Arguments

:: ProjectId

"projectId" - Project ID

-> UserId

"userId" - User ID

-> VikunjaRequest ProjectsProjectIDUsersUserIDDelete MimeNoContent ModelsMessage MimeJSON 
DELETE /projects/{projectID}/users/{userID}

Delete a user from a project

Delets a user from a project. The user won't have access to the project anymore.

AuthMethod: AuthApiKeyJWTKeyAuth

data ProjectsProjectIDUsersUserIDDelete Source #

Instances

Instances details
Produces ProjectsProjectIDUsersUserIDDelete MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

projectsProjectIDUsersUserIDPost

projectsProjectIDUsersUserIDPost Source #

POST /projects/{projectID}/users/{userID}

Update a user - project relation

Update a user - project relation. Mostly used to update the right that user has.

AuthMethod: AuthApiKeyJWTKeyAuth

data ProjectsProjectIDUsersUserIDPost Source #

Instances

Instances details
Produces ProjectsProjectIDUsersUserIDPost MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

Consumes ProjectsProjectIDUsersUserIDPost MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

HasBodyParam ProjectsProjectIDUsersUserIDPost ModelsProjectUser Source #

Body Param "project" - The user you want to update.

Instance details

Defined in Vikunja.API.Sharing

projectsProjectSharesGet

projectsProjectSharesGet Source #

GET /projects/{project}/shares

Get all link shares for a project

Returns all link shares which exist for a given project

AuthMethod: AuthApiKeyJWTKeyAuth

data ProjectsProjectSharesGet Source #

Instances

Instances details
Produces ProjectsProjectSharesGet MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

HasOptionalParam ProjectsProjectSharesGet S Source #

Optional Param "s" - Search shares by hash.

Instance details

Defined in Vikunja.API.Sharing

Methods

applyOptionalParam :: VikunjaRequest ProjectsProjectSharesGet contentType res accept -> S -> VikunjaRequest ProjectsProjectSharesGet contentType res accept Source #

(-&-) :: VikunjaRequest ProjectsProjectSharesGet contentType res accept -> S -> VikunjaRequest ProjectsProjectSharesGet contentType res accept Source #

HasOptionalParam ProjectsProjectSharesGet PerPage Source #

Optional Param "per_page" - The maximum number of items per page. Note this parameter is limited by the configured maximum of items per page.

Instance details

Defined in Vikunja.API.Sharing

HasOptionalParam ProjectsProjectSharesGet Page Source #

Optional Param "page" - The page number. Used for pagination. If not provided, the first page of results is returned.

Instance details

Defined in Vikunja.API.Sharing

projectsProjectSharesPut

projectsProjectSharesPut Source #

PUT /projects/{project}/shares

Share a project via link

Share a project via link. The user needs to have write-access to the project to be able do this.

AuthMethod: AuthApiKeyJWTKeyAuth

data ProjectsProjectSharesPut Source #

Instances

Instances details
Produces ProjectsProjectSharesPut MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

Consumes ProjectsProjectSharesPut MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

HasBodyParam ProjectsProjectSharesPut ModelsLinkSharing Source #

Body Param "label" - The new link share object

Instance details

Defined in Vikunja.API.Sharing

projectsProjectSharesShareDelete

projectsProjectSharesShareDelete Source #

Arguments

:: Project

"project" - Project ID

-> Share

"share" - Share Link ID

-> VikunjaRequest ProjectsProjectSharesShareDelete MimeNoContent ModelsMessage MimeJSON 
DELETE /projects/{project}/shares/{share}

Remove a link share

Remove a link share. The user needs to have write-access to the project to be able do this.

AuthMethod: AuthApiKeyJWTKeyAuth

data ProjectsProjectSharesShareDelete Source #

Instances

Instances details
Produces ProjectsProjectSharesShareDelete MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

projectsProjectSharesShareGet

projectsProjectSharesShareGet Source #

Arguments

:: Project

"project" - Project ID

-> Share

"share" - Share ID

-> VikunjaRequest ProjectsProjectSharesShareGet MimeNoContent ModelsLinkSharing MimeJSON 
GET /projects/{project}/shares/{share}

Get one link shares for a project

Returns one link share by its ID.

AuthMethod: AuthApiKeyJWTKeyAuth

data ProjectsProjectSharesShareGet Source #

Instances

Instances details
Produces ProjectsProjectSharesShareGet MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

sharesShareAuthPost

sharesShareAuthPost Source #

Arguments

:: (Consumes SharesShareAuthPost MimeJSON, MimeRender MimeJSON V1LinkShareAuth) 
=> V1LinkShareAuth

"password" - The password for link shares which require one.

-> ShareText

"share" - The share hash

-> VikunjaRequest SharesShareAuthPost MimeJSON AuthToken MimeJSON 
POST /shares/{share}/auth

Get an auth token for a share

Get a jwt auth token for a shared project from a share hash.

data SharesShareAuthPost Source #

Instances

Instances details
Produces SharesShareAuthPost MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

Consumes SharesShareAuthPost MimeJSON Source #
application/json
Instance details

Defined in Vikunja.API.Sharing

HasBodyParam SharesShareAuthPost V1LinkShareAuth Source #

Body Param "password" - The password for link shares which require one.

Instance details

Defined in Vikunja.API.Sharing

Methods

setBodyParam :: (Consumes SharesShareAuthPost contentType, MimeRender contentType V1LinkShareAuth) => VikunjaRequest SharesShareAuthPost contentType res accept -> V1LinkShareAuth -> VikunjaRequest SharesShareAuthPost contentType res accept Source #