This commit is contained in:
Lauri Ojansivu 2020-07-21 22:06:09 +03:00
parent 41c06c1374
commit 9c48cc9ec0
7 changed files with 40 additions and 40 deletions

View file

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

View file

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