mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
Add /api/boards_count endpoint for statistics
This commit is contained in:
parent
7a96adf957
commit
bcf5a586c7
3 changed files with 51 additions and 1 deletions
|
|
@ -1566,7 +1566,12 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc
|
|||
<a href="#get_public_boards" class="toc-h2 toc-link" data-title="get_public_boards">get_public_boards</a>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="#get_boards_count" class="toc-h2 toc-link" data-title="get_boards_count">get_boards_count</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="#new_board" class="toc-h2 toc-link" data-title="new_board">new_board</a>
|
||||
|
||||
|
|
|
|||
|
|
@ -245,6 +245,27 @@ paths:
|
|||
type: string
|
||||
defaultSwimlaneId:
|
||||
type: string
|
||||
/api/boards_count:
|
||||
get:
|
||||
operationId: get_boards_count
|
||||
summary: Get boards count
|
||||
tags:
|
||||
- Boards
|
||||
produces:
|
||||
- application/json
|
||||
security:
|
||||
- UserSecurity: []
|
||||
responses:
|
||||
'200':
|
||||
description: |-
|
||||
200 response
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
private:
|
||||
type: integer
|
||||
public:
|
||||
type: integer
|
||||
/api/boards/{board}:
|
||||
get:
|
||||
operationId: get_board
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue