Safe Haskell | None |
---|---|
Language | Haskell2010 |
Vikunja.API.Webhooks
Description
Synopsis
- projectsIdWebhooksGet :: Id -> VikunjaRequest ProjectsIdWebhooksGet MimeNoContent [ModelsWebhook] MimeJSON
- data ProjectsIdWebhooksGet
- projectsIdWebhooksPut :: (Consumes ProjectsIdWebhooksPut MimeJSON, MimeRender MimeJSON ModelsWebhook) => ModelsWebhook -> Id -> VikunjaRequest ProjectsIdWebhooksPut MimeJSON ModelsWebhook MimeJSON
- data ProjectsIdWebhooksPut
- projectsIdWebhooksWebhookIDDelete :: Id -> WebhookId -> VikunjaRequest ProjectsIdWebhooksWebhookIDDelete MimeNoContent ModelsMessage MimeJSON
- data ProjectsIdWebhooksWebhookIDDelete
- projectsIdWebhooksWebhookIDPost :: Id -> WebhookId -> VikunjaRequest ProjectsIdWebhooksWebhookIDPost MimeNoContent ModelsWebhook MimeJSON
- data ProjectsIdWebhooksWebhookIDPost
- webhooksEventsGet :: VikunjaRequest WebhooksEventsGet MimeNoContent [Text] MimeJSON
- data WebhooksEventsGet
Operations
Webhooks
projectsIdWebhooksGet
projectsIdWebhooksGet Source #
Arguments
:: Id | "id" - Project ID |
-> VikunjaRequest ProjectsIdWebhooksGet MimeNoContent [ModelsWebhook] MimeJSON |
GET /projects/{id}/webhooks
Get all api webhook targets for the specified project
Get all api webhook targets for the specified project.
AuthMethod: AuthApiKeyJWTKeyAuth
data ProjectsIdWebhooksGet Source #
Instances
Produces ProjectsIdWebhooksGet MimeJSON Source # | application/json |
Defined in Vikunja.API.Webhooks | |
HasOptionalParam ProjectsIdWebhooksGet PerPage Source # | Optional Param "per_page" - The maximum number of items per bucket per page. This parameter is limited by the configured maximum of items per page. |
Defined in Vikunja.API.Webhooks Methods applyOptionalParam :: VikunjaRequest ProjectsIdWebhooksGet contentType res accept -> PerPage -> VikunjaRequest ProjectsIdWebhooksGet contentType res accept Source # (-&-) :: VikunjaRequest ProjectsIdWebhooksGet contentType res accept -> PerPage -> VikunjaRequest ProjectsIdWebhooksGet contentType res accept Source # | |
HasOptionalParam ProjectsIdWebhooksGet Page Source # | Optional Param "page" - The page number. Used for pagination. If not provided, the first page of results is returned. |
Defined in Vikunja.API.Webhooks Methods applyOptionalParam :: VikunjaRequest ProjectsIdWebhooksGet contentType res accept -> Page -> VikunjaRequest ProjectsIdWebhooksGet contentType res accept Source # (-&-) :: VikunjaRequest ProjectsIdWebhooksGet contentType res accept -> Page -> VikunjaRequest ProjectsIdWebhooksGet contentType res accept Source # |
projectsIdWebhooksPut
projectsIdWebhooksPut Source #
Arguments
:: (Consumes ProjectsIdWebhooksPut MimeJSON, MimeRender MimeJSON ModelsWebhook) | |
=> ModelsWebhook | "webhook" - The webhook target object with required fields |
-> Id | "id" - Project ID |
-> VikunjaRequest ProjectsIdWebhooksPut MimeJSON ModelsWebhook MimeJSON |
PUT /projects/{id}/webhooks
Create a webhook target
Create a webhook target which receives POST requests about specified events from a project.
AuthMethod: AuthApiKeyJWTKeyAuth
data ProjectsIdWebhooksPut Source #
Instances
Produces ProjectsIdWebhooksPut MimeJSON Source # | application/json |
Defined in Vikunja.API.Webhooks | |
Consumes ProjectsIdWebhooksPut MimeJSON Source # | application/json |
Defined in Vikunja.API.Webhooks | |
HasBodyParam ProjectsIdWebhooksPut ModelsWebhook Source # | Body Param "webhook" - The webhook target object with required fields |
Defined in Vikunja.API.Webhooks Methods setBodyParam :: (Consumes ProjectsIdWebhooksPut contentType, MimeRender contentType ModelsWebhook) => VikunjaRequest ProjectsIdWebhooksPut contentType res accept -> ModelsWebhook -> VikunjaRequest ProjectsIdWebhooksPut contentType res accept Source # |
projectsIdWebhooksWebhookIDDelete
projectsIdWebhooksWebhookIDDelete Source #
Arguments
:: Id | "id" - Project ID |
-> WebhookId | "webhookId" - Webhook ID |
-> VikunjaRequest ProjectsIdWebhooksWebhookIDDelete MimeNoContent ModelsMessage MimeJSON |
DELETE /projects/{id}/webhooks/{webhookID}
Deletes an existing webhook target
Delete any of the project's webhook targets.
AuthMethod: AuthApiKeyJWTKeyAuth
data ProjectsIdWebhooksWebhookIDDelete Source #
Instances
Produces ProjectsIdWebhooksWebhookIDDelete MimeJSON Source # | application/json |
Defined in Vikunja.API.Webhooks |
projectsIdWebhooksWebhookIDPost
projectsIdWebhooksWebhookIDPost Source #
Arguments
:: Id | "id" - Project ID |
-> WebhookId | "webhookId" - Webhook ID |
-> VikunjaRequest ProjectsIdWebhooksWebhookIDPost MimeNoContent ModelsWebhook MimeJSON |
POST /projects/{id}/webhooks/{webhookID}
Change a webhook target's events.
Change a webhook target's events. You cannot change other values of a webhook.
AuthMethod: AuthApiKeyJWTKeyAuth
data ProjectsIdWebhooksWebhookIDPost Source #
Instances
Produces ProjectsIdWebhooksWebhookIDPost MimeJSON Source # | application/json |
Defined in Vikunja.API.Webhooks |
webhooksEventsGet
webhooksEventsGet :: VikunjaRequest WebhooksEventsGet MimeNoContent [Text] MimeJSON Source #
GET /webhooks/events
Get all possible webhook events
Get all possible webhook events to use when creating or updating a webhook target.
AuthMethod: AuthApiKeyJWTKeyAuth
data WebhooksEventsGet Source #
Instances
Produces WebhooksEventsGet MimeJSON Source # | application/json |
Defined in Vikunja.API.Webhooks |