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

Vikunja.API.Subscriptions

Description

 
Synopsis

Operations

Subscriptions

notificationsGet

notificationsGet :: VikunjaRequest NotificationsGet MimeNoContent [NotificationsDatabaseNotification] MimeJSON Source #

GET /notifications

Get all notifications for the current user

Returns an array with all notifications for the current user.

AuthMethod: AuthApiKeyJWTKeyAuth

data NotificationsGet Source #

Instances

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

Defined in Vikunja.API.Subscriptions

HasOptionalParam NotificationsGet 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.Subscriptions

Methods

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

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

HasOptionalParam NotificationsGet 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.Subscriptions

Methods

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

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

notificationsIdPost

notificationsIdPost Source #

POST /notifications/{id}

Mark a notification as (un-)read

Marks a notification as either read or unread. A user can only mark their own notifications as read.

AuthMethod: AuthApiKeyJWTKeyAuth

data NotificationsIdPost Source #

Instances

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

Defined in Vikunja.API.Subscriptions

subscriptionsEntityEntityIDDelete

subscriptionsEntityEntityIDDelete Source #

Arguments

:: Entity

"entity" - The entity the user subscribed to. Can be either project or task.

-> EntityId

"entityId" - The numeric id of the subscribed entity to.

-> VikunjaRequest SubscriptionsEntityEntityIDDelete MimeNoContent ModelsSubscription MimeJSON 
DELETE /subscriptions/{entity}/{entityID}

Unsubscribe the current user from an entity.

Unsubscribes the current user to an entity.

AuthMethod: AuthApiKeyJWTKeyAuth

data SubscriptionsEntityEntityIDDelete Source #

Instances

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

Defined in Vikunja.API.Subscriptions

subscriptionsEntityEntityIDPut

subscriptionsEntityEntityIDPut Source #

Arguments

:: Entity

"entity" - The entity the user subscribes to. Can be either project or task.

-> EntityId

"entityId" - The numeric id of the entity to subscribe to.

-> VikunjaRequest SubscriptionsEntityEntityIDPut MimeNoContent ModelsSubscription MimeJSON 
PUT /subscriptions/{entity}/{entityID}

Subscribes the current user to an entity.

Subscribes the current user to an entity.

AuthMethod: AuthApiKeyJWTKeyAuth

data SubscriptionsEntityEntityIDPut Source #

Instances

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

Defined in Vikunja.API.Subscriptions