Lauri Ojansivu 5 年之前
父節點
當前提交
9c48cc9ec0
共有 7 個文件被更改,包括 40 次插入40 次删除
  1. 1 1
      CHANGELOG.md
  2. 1 1
      Stackerfile.yml
  3. 1 1
      package-lock.json
  4. 1 1
      package.json
  5. 21 21
      public/api/wekan.html
  6. 13 13
      public/api/wekan.yml
  7. 2 2
      sandstorm-pkgdef.capnp

+ 1 - 1
CHANGELOG.md

@@ -1,4 +1,4 @@
-# Upcoming Wekan release
+# v4.21 2020-07-21 Wekan release
 
 This release adds the following new features:
 

+ 1 - 1
Stackerfile.yml

@@ -1,5 +1,5 @@
 appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928
-appVersion: "v4.20.0"
+appVersion: "v4.21.0"
 files:
   userUploads:
     - README.md

+ 1 - 1
package-lock.json

@@ -1,6 +1,6 @@
 {
   "name": "wekan",
-  "version": "v4.20.0",
+  "version": "v4.21.0",
   "lockfileVersion": 1,
   "requires": true,
   "dependencies": {

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "wekan",
-  "version": "v4.20.0",
+  "version": "v4.21.0",
   "description": "Open-Source kanban",
   "private": true,
   "scripts": {

+ 21 - 21
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 v4.20">Wekan REST API v4.20</a>
+            <a href="#wekan-rest-api" class="toc-h1 toc-link" data-title="Wekan REST API v4.21">Wekan REST API v4.21</a>
             
           </li>
         
@@ -2027,7 +2027,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 v4.20</h1>
+        <h1 id="wekan-rest-api">Wekan REST API v4.21</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>
@@ -7943,8 +7943,6 @@ $.ajax({
 <pre class="highlight tab tab-javascript--nodejs"><code><span class="hljs-keyword">const</span> fetch = <span class="hljs-built_in">require</span>(<span class="hljs-string">'node-fetch'</span>);
 <span class="hljs-keyword">const</span> inputBody = <span class="hljs-string">'{
   "title": "string",
-  "listId": "string",
-  "authorId": "string",
   "parentId": "string",
   "description": "string",
   "color": "string",
@@ -7961,7 +7959,9 @@ $.ajax({
   "customFields": "string",
   "members": "string",
   "assignees": "string",
-  "swimlaneId": "string"
+  "swimlaneId": "string",
+  "listId": "string",
+  "authorId": "string"
 }'</span>;
 <span class="hljs-keyword">const</span> headers = {
   <span class="hljs-string">'Content-Type'</span>:<span class="hljs-string">'multipart/form-data'</span>,
@@ -8068,8 +8068,6 @@ System.out.println(response.toString());
 <p>Body parameter</p>
 </blockquote>
 <pre class="highlight tab tab-yaml"><code><span class="hljs-attr">title:</span> <span class="hljs-string">string</span>
-<span class="hljs-attr">listId:</span> <span class="hljs-string">string</span>
-<span class="hljs-attr">authorId:</span> <span class="hljs-string">string</span>
 <span class="hljs-attr">parentId:</span> <span class="hljs-string">string</span>
 <span class="hljs-attr">description:</span> <span class="hljs-string">string</span>
 <span class="hljs-attr">color:</span> <span class="hljs-string">string</span>
@@ -8087,6 +8085,8 @@ System.out.println(response.toString());
 <span class="hljs-attr">members:</span> <span class="hljs-string">string</span>
 <span class="hljs-attr">assignees:</span> <span class="hljs-string">string</span>
 <span class="hljs-attr">swimlaneId:</span> <span class="hljs-string">string</span>
+<span class="hljs-attr">listId:</span> <span class="hljs-string">string</span>
+<span class="hljs-attr">authorId:</span> <span class="hljs-string">string</span>
 
 </code></pre>
 <h3 id="edit_card-parameters">Parameters</h3>
@@ -8137,20 +8137,6 @@ System.out.println(response.toString());
 <td>the new title of the card</td>
 </tr>
 <tr>
-<td>» listId</td>
-<td>body</td>
-<td>string</td>
-<td>false</td>
-<td>the new list ID of the card (move operation)</td>
-</tr>
-<tr>
-<td>» authorId</td>
-<td>body</td>
-<td>string</td>
-<td>false</td>
-<td>change the owner of the card</td>
-</tr>
-<tr>
 <td>» parentId</td>
 <td>body</td>
 <td>string</td>
@@ -8269,6 +8255,20 @@ System.out.println(response.toString());
 <td>false</td>
 <td>the new swimlane ID of the card</td>
 </tr>
+<tr>
+<td>» listId</td>
+<td>body</td>
+<td>string</td>
+<td>false</td>
+<td>the new list ID of the card (move operation)</td>
+</tr>
+<tr>
+<td>» authorId</td>
+<td>body</td>
+<td>string</td>
+<td>false</td>
+<td>change the owner of the card</td>
+</tr>
 </tbody>
 </table>
 <h4 id="detailed-descriptions">Detailed descriptions</h4>

+ 13 - 13
public/api/wekan.yml

@@ -1,7 +1,7 @@
 swagger: '2.0'
 info:
   title: Wekan REST API
-  version: v4.20
+  version: v4.21
   description: |
     The REST API allows you to control and extend Wekan with ease.
 
@@ -1580,18 +1580,6 @@ paths:
             the new title of the card
           type: string
           required: false
-        - name: listId
-          in: formData
-          description: |
-            the new list ID of the card (move operation)
-          type: string
-          required: false
-        - name: authorId
-          in: formData
-          description: |
-            change the owner of the card
-          type: string
-          required: false
         - name: parentId
           in: formData
           description: |
@@ -1694,6 +1682,18 @@ paths:
             the new swimlane ID of the card
           type: string
           required: false
+        - name: listId
+          in: formData
+          description: |
+            the new list ID of the card (move operation)
+          type: string
+          required: false
+        - name: authorId
+          in: formData
+          description: |
+            change the owner of the card
+          type: string
+          required: false
         - name: board
           in: path
           description: |

+ 2 - 2
sandstorm-pkgdef.capnp

@@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
     appTitle = (defaultText = "Wekan"),
     # The name of the app as it is displayed to the user.
 
-    appVersion = 420,
+    appVersion = 421,
     # Increment this for every release.
 
-    appMarketingVersion = (defaultText = "4.20.0~2020-07-20"),
+    appMarketingVersion = (defaultText = "4.21.0~2020-07-21"),
     # Human-readable presentation of the app version.
 
     minUpgradableAppVersion = 0,