Lauri Ojansivu 4 years ago
parent
commit
f7955d5fd7
7 changed files with 40 additions and 10 deletions
  1. 1 1
      CHANGELOG.md
  2. 1 1
      Stackerfile.yml
  3. 1 1
      package-lock.json
  4. 1 1
      package.json
  5. 3 3
      public/api/wekan.html
  6. 31 1
      public/api/wekan.yml
  7. 2 2
      sandstorm-pkgdef.capnp

+ 1 - 1
CHANGELOG.md

@@ -1,4 +1,4 @@
-# Upcoming Wekan release
+# v5.10 2021-03-28 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: "v5.09.0"
+appVersion: "v5.10.0"
 files:
   userUploads:
     - README.md

+ 1 - 1
package-lock.json

@@ -1,6 +1,6 @@
 {
   "name": "wekan",
-  "version": "v5.09.0",
+  "version": "v5.10.0",
   "lockfileVersion": 2,
   "requires": true,
   "packages": {

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "wekan",
-  "version": "v5.09.0",
+  "version": "v5.10.0",
   "description": "Open-Source kanban",
   "private": true,
   "scripts": {

+ 3 - 3
public/api/wekan.html

@@ -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 v5.09</title>
+    <title>Wekan REST API v5.10</title>
 
     <style>
     </style>
@@ -1549,7 +1549,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 v5.09">Wekan REST API v5.09</a>
+            <a href="#wekan-rest-api" class="toc-h1 toc-link" data-title="Wekan REST API v5.10">Wekan REST API v5.10</a>
             
           </li>
         
@@ -2092,7 +2092,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 v5.09</h1>
+        <h1 id="wekan-rest-api">Wekan REST API v5.10</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>

+ 31 - 1
public/api/wekan.yml

@@ -1,7 +1,7 @@
 swagger: '2.0'
 info:
   title: Wekan REST API
-  version: v5.09
+  version: v5.10
   description: |
     The REST API allows you to control and extend Wekan with ease.
 
@@ -326,6 +326,36 @@ paths:
                   type: string
                 swimlaneId:
                   type: string
+  /api/boards/{board}/attachments/{attachment}/export:
+    get:
+      operationId: exportJson
+      summary: This route is used to export a attachement to a json file format.
+      description: |
+        If user is already logged-in, pass loginToken as param
+         "authToken": '/api/boards/:boardId/attachments/:attachmentId/export?authToken=:token'
+      tags:
+        - Boards
+      parameters:
+        - name: board
+          in: path
+          description: |
+            the ID of the board we are exporting
+          type: string
+          required: true
+        - name: attachment
+          in: path
+          description: |
+            the ID of the attachment we are exporting
+          type: string
+          required: true
+      produces:
+        - application/json
+      security:
+          - UserSecurity: []
+      responses:
+        '200':
+          description: |-
+            200 response
   /api/boards/{board}/cards/{card}/checklists:
     get:
       operationId: get_all_checklists

+ 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 = 509,
+    appVersion = 510,
     # Increment this for every release.
 
-    appMarketingVersion = (defaultText = "5.09.0~2021-03-26"),
+    appMarketingVersion = (defaultText = "5.10.0~2021-03-28"),
     # Human-readable presentation of the app version.
 
     minUpgradableAppVersion = 0,