|
@@ -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>
|