mirror of
https://github.com/wekan/wekan.git
synced 2026-03-05 05:10:15 +01:00
v6.82
This commit is contained in:
parent
bbf1f3a43f
commit
8df318bced
8 changed files with 36 additions and 19 deletions
|
|
@ -7,7 +7,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<title>Wekan REST API v6.81</title>
|
||||
<title>Wekan REST API v6.82</title>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
|
|
@ -1558,7 +1558,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 v6.81">Wekan REST API v6.81</a>
|
||||
<a href="#wekan-rest-api" class="toc-h1 toc-link" data-title="Wekan REST API v6.82">Wekan REST API v6.82</a>
|
||||
|
||||
</li>
|
||||
|
||||
|
|
@ -2161,7 +2161,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 v6.81</h1>
|
||||
<h1 id="wekan-rest-api">Wekan REST API v6.82</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>
|
||||
|
|
@ -15579,7 +15579,8 @@ Accept: application/json
|
|||
"action": "string",
|
||||
"isAdmin": true,
|
||||
"isNoComments": true,
|
||||
"isCommentOnly": true
|
||||
"isCommentOnly": true,
|
||||
"isWorker": true
|
||||
}'</span>;
|
||||
<span class="hljs-keyword">const</span> headers = {
|
||||
<span class="hljs-string">'Content-Type'</span>:<span class="hljs-string">'multipart/form-data'</span>,
|
||||
|
|
@ -15605,7 +15606,8 @@ fetch(<span class="hljs-string">'/api/boards/{board}/members/{user}/add
|
|||
<span class="hljs-string">"action"</span>: <span class="hljs-string">"string"</span>,
|
||||
<span class="hljs-string">"isAdmin"</span>: <span class="hljs-literal">true</span>,
|
||||
<span class="hljs-string">"isNoComments"</span>: <span class="hljs-literal">true</span>,
|
||||
<span class="hljs-string">"isCommentOnly"</span>: <span class="hljs-literal">true</span>
|
||||
<span class="hljs-string">"isCommentOnly"</span>: <span class="hljs-literal">true</span>,
|
||||
<span class="hljs-string">"isWorker"</span>: <span class="hljs-literal">true</span>
|
||||
};
|
||||
<span class="hljs-keyword">const</span> headers = {
|
||||
<span class="hljs-string">'Content-Type'</span>:<span class="hljs-string">'multipart/form-data'</span>,
|
||||
|
|
@ -15732,6 +15734,7 @@ to later change the permissions.</p>
|
|||
<span class="hljs-attr">isAdmin:</span> <span class="hljs-literal">true</span>
|
||||
<span class="hljs-attr">isNoComments:</span> <span class="hljs-literal">true</span>
|
||||
<span class="hljs-attr">isCommentOnly:</span> <span class="hljs-literal">true</span>
|
||||
<span class="hljs-attr">isWorker:</span> <span class="hljs-literal">true</span>
|
||||
|
||||
</code></pre>
|
||||
<h3 id="add_board_member-parameters">Parameters</h3>
|
||||
|
|
@ -15772,7 +15775,7 @@ to later change the permissions.</p>
|
|||
<td>body</td>
|
||||
<td>string</td>
|
||||
<td>true</td>
|
||||
<td>the action value</td>
|
||||
<td>the action (needs to be <code>add</code>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>» isAdmin</td>
|
||||
|
|
@ -15795,6 +15798,13 @@ to later change the permissions.</p>
|
|||
<td>true</td>
|
||||
<td>only enable comments</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>» isWorker</td>
|
||||
<td>body</td>
|
||||
<td>boolean</td>
|
||||
<td>true</td>
|
||||
<td>is the user a board worker</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="detailed-descriptions-42">Detailed descriptions</h4>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
swagger: '2.0'
|
||||
info:
|
||||
title: Wekan REST API
|
||||
version: v6.81
|
||||
version: v6.82
|
||||
description: |
|
||||
The REST API allows you to control and extend Wekan with ease.
|
||||
|
||||
|
|
@ -2185,7 +2185,8 @@ paths:
|
|||
parameters:
|
||||
- name: action
|
||||
in: formData
|
||||
description: the action value
|
||||
description: |
|
||||
the action (needs to be `add`)
|
||||
type: string
|
||||
required: true
|
||||
- name: isAdmin
|
||||
|
|
@ -2206,6 +2207,12 @@ paths:
|
|||
only enable comments
|
||||
type: boolean
|
||||
required: true
|
||||
- name: isWorker
|
||||
in: formData
|
||||
description: |
|
||||
is the user a board worker
|
||||
type: boolean
|
||||
required: true
|
||||
- name: board
|
||||
in: path
|
||||
description: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue