summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorNicoP-S <paetni1@gmail.com>2020-04-02 20:43:36 +0200
committerGitHub <noreply@github.com>2020-04-02 20:43:36 +0200
commite47ff25d458a0f7f7e61f9397e1730df21dc5cb7 (patch)
tree5e42af18c820337c1eedf837409bbb056acaa83d /public
parent7fa9603f9d53594227258d76a78af4023dc325b0 (diff)
parent1e0b53eb9bcfa6a2833ee2f268f480ca7d9838d7 (diff)
downloadwekan-e47ff25d458a0f7f7e61f9397e1730df21dc5cb7.tar.gz
wekan-e47ff25d458a0f7f7e61f9397e1730df21dc5cb7.tar.bz2
wekan-e47ff25d458a0f7f7e61f9397e1730df21dc5cb7.zip
Merge pull request #2 from wekan/master
Merge Wekan
Diffstat (limited to 'public')
-rw-r--r--public/api/wekan.html44
-rw-r--r--public/api/wekan.yml14
2 files changed, 40 insertions, 18 deletions
diff --git a/public/api/wekan.html b/public/api/wekan.html
index 2fb27d8d..4e42a13b 100644
--- a/public/api/wekan.html
+++ b/public/api/wekan.html
@@ -1524,7 +1524,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
<ul class="toc-list-h1">
<li>
- <a href="#wekan-rest-api" class="toc-h1 toc-link" data-title="Wekan REST API v3.86">Wekan REST API v3.86</a>
+ <a href="#wekan-rest-api" class="toc-h1 toc-link" data-title="Wekan REST API v3.88">Wekan REST API v3.88</a>
</li>
@@ -2017,7 +2017,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
<div class="page-wrapper">
<div class="dark-box"></div>
<div class="content">
- <h1 id="wekan-rest-api">Wekan REST API v3.86</h1>
+ <h1 id="wekan-rest-api">Wekan REST API v3.88</h1>
<blockquote>
<p>Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.</p>
</blockquote>
@@ -11665,9 +11665,9 @@ System.out.println(response.toString());
<span class="hljs-string">"string"</span>
],
<span class="hljs-attr">"language"</span>: <span class="hljs-string">"string"</span>,
- <span class="hljs-attr">"notifications"</span>: [
- <span class="hljs-string">"string"</span>
- ],
+ <span class="hljs-attr">"notifications"</span>: [],
+ <span class="hljs-attr">"activity"</span>: <span class="hljs-string">"string"</span>,
+ <span class="hljs-attr">"read"</span>: <span class="hljs-string">"string"</span>,
<span class="hljs-attr">"showCardsCountAt"</span>: <span class="hljs-number">0</span>,
<span class="hljs-attr">"starredBoards"</span>: [
<span class="hljs-string">"string"</span>
@@ -12320,9 +12320,9 @@ System.out.println(response.toString());
<span class="hljs-string">"string"</span>
],
<span class="hljs-attr">"language"</span>: <span class="hljs-string">"string"</span>,
- <span class="hljs-attr">"notifications"</span>: [
- <span class="hljs-string">"string"</span>
- ],
+ <span class="hljs-attr">"notifications"</span>: [],
+ <span class="hljs-attr">"activity"</span>: <span class="hljs-string">"string"</span>,
+ <span class="hljs-attr">"read"</span>: <span class="hljs-string">"string"</span>,
<span class="hljs-attr">"showCardsCountAt"</span>: <span class="hljs-number">0</span>,
<span class="hljs-attr">"starredBoards"</span>: [
<span class="hljs-string">"string"</span>
@@ -15625,9 +15625,9 @@ UserSecurity
<span class="hljs-string">"string"</span>
],
<span class="hljs-attr">"language"</span>: <span class="hljs-string">"string"</span>,
- <span class="hljs-attr">"notifications"</span>: [
- <span class="hljs-string">"string"</span>
- ],
+ <span class="hljs-attr">"notifications"</span>: [],
+ <span class="hljs-attr">"activity"</span>: <span class="hljs-string">"string"</span>,
+ <span class="hljs-attr">"read"</span>: <span class="hljs-string">"string"</span>,
<span class="hljs-attr">"showCardsCountAt"</span>: <span class="hljs-number">0</span>,
<span class="hljs-attr">"starredBoards"</span>: [
<span class="hljs-string">"string"</span>
@@ -15793,9 +15793,9 @@ UserSecurity
<span class="hljs-string">"string"</span>
],
<span class="hljs-attr">"language"</span>: <span class="hljs-string">"string"</span>,
- <span class="hljs-attr">"notifications"</span>: [
- <span class="hljs-string">"string"</span>
- ],
+ <span class="hljs-attr">"notifications"</span>: [],
+ <span class="hljs-attr">"activity"</span>: <span class="hljs-string">"string"</span>,
+ <span class="hljs-attr">"read"</span>: <span class="hljs-string">"string"</span>,
<span class="hljs-attr">"showCardsCountAt"</span>: <span class="hljs-number">0</span>,
<span class="hljs-attr">"starredBoards"</span>: [
<span class="hljs-string">"string"</span>
@@ -15887,12 +15887,26 @@ UserSecurity
</tr>
<tr>
<td>notifications</td>
-<td>[string]</td>
+<td>[<a href="#schemausersprofilenotifications">UsersProfileNotifications</a>]</td>
<td>false</td>
<td>none</td>
<td>enabled notifications for the user</td>
</tr>
<tr>
+<td>activity</td>
+<td>string</td>
+<td>true</td>
+<td>none</td>
+<td>The id of the activity this notification references</td>
+</tr>
+<tr>
+<td>read</td>
+<td>string</td>
+<td>false</td>
+<td>none</td>
+<td>the date on which this notification was read</td>
+</tr>
+<tr>
<td>showCardsCountAt</td>
<td>number</td>
<td>false</td>
diff --git a/public/api/wekan.yml b/public/api/wekan.yml
index cf0466ab..a194bdfe 100644
--- a/public/api/wekan.yml
+++ b/public/api/wekan.yml
@@ -1,7 +1,7 @@
swagger: '2.0'
info:
title: Wekan REST API
- version: v3.86
+ version: v3.88
description: |
The REST API allows you to control and extend Wekan with ease.
@@ -3025,8 +3025,15 @@ definitions:
enabled notifications for the user
type: array
items:
- type: string
- x-nullable: true
+ $ref: "#/definitions/UsersProfileNotifications"
+ activity:
+ description: |
+ The id of the activity this notification references
+ type: string
+ read:
+ description: |
+ the date on which this notification was read
+ type: string
showCardsCountAt:
description: |
showCardCountAt field of the user
@@ -3078,6 +3085,7 @@ definitions:
Reference to the board templates swimlane Id
type: string
required:
+ - activity
- templatesBoardId
- cardTemplatesSwimlaneId
- listTemplatesSwimlaneId