|
@@ -103,9 +103,9 @@ module.exports = (crowi) => {
|
|
|
/**
|
|
/**
|
|
|
* @swagger
|
|
* @swagger
|
|
|
*
|
|
*
|
|
|
- * /_api/v3/notification-setting/:
|
|
|
|
|
|
|
+ * /notification-setting/:
|
|
|
* get:
|
|
* get:
|
|
|
- * tags: [NotificationSetting, apiv3]
|
|
|
|
|
|
|
+ * tags: [NotificationSetting]
|
|
|
* description: Get notification paramators
|
|
* description: Get notification paramators
|
|
|
* responses:
|
|
* responses:
|
|
|
* 200:
|
|
* 200:
|
|
@@ -133,9 +133,9 @@ module.exports = (crowi) => {
|
|
|
/**
|
|
/**
|
|
|
* @swagger
|
|
* @swagger
|
|
|
*
|
|
*
|
|
|
- * /_api/v3/notification-setting/slack-configuration:
|
|
|
|
|
|
|
+ * /notification-setting/slack-configuration:
|
|
|
* put:
|
|
* put:
|
|
|
- * tags: [NotificationSetting, apiv3]
|
|
|
|
|
|
|
+ * tags: [NotificationSetting]
|
|
|
* description: Update slack configuration setting
|
|
* description: Update slack configuration setting
|
|
|
* requestBody:
|
|
* requestBody:
|
|
|
* required: true
|
|
* required: true
|
|
@@ -180,9 +180,9 @@ module.exports = (crowi) => {
|
|
|
/**
|
|
/**
|
|
|
* @swagger
|
|
* @swagger
|
|
|
*
|
|
*
|
|
|
- * /_api/v3/notification-setting/user-notification:
|
|
|
|
|
|
|
+ * /notification-setting/user-notification:
|
|
|
* post:
|
|
* post:
|
|
|
- * tags: [NotificationSetting, apiv3]
|
|
|
|
|
|
|
+ * tags: [NotificationSetting]
|
|
|
* description: add user notification setting
|
|
* description: add user notification setting
|
|
|
* requestBody:
|
|
* requestBody:
|
|
|
* required: true
|
|
* required: true
|
|
@@ -227,9 +227,9 @@ module.exports = (crowi) => {
|
|
|
/**
|
|
/**
|
|
|
* @swagger
|
|
* @swagger
|
|
|
*
|
|
*
|
|
|
- * /_api/v3/notification-setting/user-notification/{id}:
|
|
|
|
|
|
|
+ * /notification-setting/user-notification/{id}:
|
|
|
* delete:
|
|
* delete:
|
|
|
- * tags: [NotificationSetting, apiv3]
|
|
|
|
|
|
|
+ * tags: [NotificationSetting]
|
|
|
* description: delete user trigger notification pattern
|
|
* description: delete user trigger notification pattern
|
|
|
* parameters:
|
|
* parameters:
|
|
|
* - name: id
|
|
* - name: id
|
|
@@ -268,9 +268,9 @@ module.exports = (crowi) => {
|
|
|
/**
|
|
/**
|
|
|
* @swagger
|
|
* @swagger
|
|
|
*
|
|
*
|
|
|
- * /_api/v3/notification-setting/global-notification:
|
|
|
|
|
|
|
+ * /notification-setting/global-notification:
|
|
|
* post:
|
|
* post:
|
|
|
- * tags: [NotificationSetting, apiv3]
|
|
|
|
|
|
|
+ * tags: [NotificationSetting]
|
|
|
* description: add global notification
|
|
* description: add global notification
|
|
|
* requestBody:
|
|
* requestBody:
|
|
|
* required: true
|
|
* required: true
|
|
@@ -324,9 +324,9 @@ module.exports = (crowi) => {
|
|
|
/**
|
|
/**
|
|
|
* @swagger
|
|
* @swagger
|
|
|
*
|
|
*
|
|
|
- * /_api/v3/notification-setting/global-notification/{id}:
|
|
|
|
|
|
|
+ * /notification-setting/global-notification/{id}:
|
|
|
* put:
|
|
* put:
|
|
|
- * tags: [NotificationSetting, apiv3]
|
|
|
|
|
|
|
+ * tags: [NotificationSetting]
|
|
|
* description: update global notification
|
|
* description: update global notification
|
|
|
* parameters:
|
|
* parameters:
|
|
|
* - name: id
|
|
* - name: id
|
|
@@ -404,9 +404,9 @@ module.exports = (crowi) => {
|
|
|
/**
|
|
/**
|
|
|
* @swagger
|
|
* @swagger
|
|
|
*
|
|
*
|
|
|
- * /_api/v3/notification-setting/global-notification/{id}/enabled:
|
|
|
|
|
|
|
+ * /notification-setting/global-notification/{id}/enabled:
|
|
|
* put:
|
|
* put:
|
|
|
- * tags: [NotificationSetting, apiv3]
|
|
|
|
|
|
|
+ * tags: [NotificationSetting]
|
|
|
* description: toggle enabled global notification
|
|
* description: toggle enabled global notification
|
|
|
* parameters:
|
|
* parameters:
|
|
|
* - name: id
|
|
* - name: id
|
|
@@ -461,9 +461,9 @@ module.exports = (crowi) => {
|
|
|
/**
|
|
/**
|
|
|
* @swagger
|
|
* @swagger
|
|
|
*
|
|
*
|
|
|
- * /_api/v3/notification-setting/global-notification/{id}:
|
|
|
|
|
|
|
+ * /notification-setting/global-notification/{id}:
|
|
|
* delete:
|
|
* delete:
|
|
|
- * tags: [NotificationSetting, apiv3]
|
|
|
|
|
|
|
+ * tags: [NotificationSetting]
|
|
|
* description: delete global notification pattern
|
|
* description: delete global notification pattern
|
|
|
* parameters:
|
|
* parameters:
|
|
|
* - name: id
|
|
* - name: id
|