wekan.yml 73 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020
  1. swagger: '2.0'
  2. info:
  3. title: Wekan REST API
  4. version: v7.91
  5. description: |
  6. The REST API allows you to control and extend Wekan with ease.
  7. If you are an end-user and not a dev or a tester, [create an issue](https://github.com/wekan/wekan/issues/new) to request new APIs.
  8. > All API calls in the documentation are made using `curl`. However, you are free to use Java / Python / PHP / Golang / Ruby / Swift / Objective-C / Rust / Scala / C# or any other programming languages.
  9. # Production Security Concerns
  10. When calling a production Wekan server, ensure it is running via HTTPS and has a valid SSL Certificate. The login method requires you to post your username and password in plaintext, which is why we highly suggest only calling the REST login api over HTTPS. Also, few things to note:
  11. * Only call via HTTPS
  12. * Implement a timed authorization token expiration strategy
  13. * Ensure the calling user only has permissions for what they are calling and no more
  14. schemes:
  15. - http
  16. securityDefinitions:
  17. UserSecurity:
  18. type: apiKey
  19. in: header
  20. name: Authorization
  21. paths:
  22. /users/login:
  23. post:
  24. operationId: login
  25. summary: Login with REST API
  26. consumes:
  27. - application/x-www-form-urlencoded
  28. - application/json
  29. tags:
  30. - Login
  31. parameters:
  32. - name: username
  33. in: formData
  34. required: true
  35. description: |
  36. Your username
  37. type: string
  38. - name: password
  39. in: formData
  40. required: true
  41. description: |
  42. Your password
  43. type: string
  44. format: password
  45. responses:
  46. 200:
  47. description: |-
  48. Successful authentication
  49. schema:
  50. items:
  51. properties:
  52. id:
  53. type: string
  54. token:
  55. type: string
  56. tokenExpires:
  57. type: string
  58. 400:
  59. description: |
  60. Error in authentication
  61. schema:
  62. items:
  63. properties:
  64. error:
  65. type: number
  66. reason:
  67. type: string
  68. default:
  69. description: |
  70. Error in authentication
  71. /users/register:
  72. post:
  73. operationId: register
  74. summary: Register with REST API
  75. description: |
  76. Notes:
  77. - You will need to provide the token for any of the authenticated methods.
  78. consumes:
  79. - application/x-www-form-urlencoded
  80. - application/json
  81. tags:
  82. - Login
  83. parameters:
  84. - name: username
  85. in: formData
  86. required: true
  87. description: |
  88. Your username
  89. type: string
  90. - name: password
  91. in: formData
  92. required: true
  93. description: |
  94. Your password
  95. type: string
  96. format: password
  97. - name: email
  98. in: formData
  99. required: true
  100. description: |
  101. Your email
  102. type: string
  103. responses:
  104. 200:
  105. description: |-
  106. Successful registration
  107. schema:
  108. items:
  109. properties:
  110. id:
  111. type: string
  112. token:
  113. type: string
  114. tokenExpires:
  115. type: string
  116. 400:
  117. description: |
  118. Error in registration
  119. schema:
  120. items:
  121. properties:
  122. error:
  123. type: number
  124. reason:
  125. type: string
  126. default:
  127. description: |
  128. Error in registration
  129. /api/boards/{board}/attachments/{attachment}/export:
  130. get:
  131. operationId: exportJson
  132. summary: This route is used to export a attachement to a json file format.
  133. description: |
  134. If user is already logged-in, pass loginToken as param
  135. "authToken": '/api/boards/:boardId/attachments/:attachmentId/export?authToken=:token'
  136. tags:
  137. - Boards
  138. parameters:
  139. - name: board
  140. in: path
  141. description: |
  142. the ID of the board we are exporting
  143. type: string
  144. required: true
  145. - name: attachment
  146. in: path
  147. description: |
  148. the ID of the attachment we are exporting
  149. type: string
  150. required: true
  151. produces:
  152. - application/json
  153. security:
  154. - UserSecurity: []
  155. responses:
  156. '200':
  157. description: |-
  158. 200 response
  159. /api/boards/{board}/cards/{card}/checklists:
  160. get:
  161. operationId: get_all_checklists
  162. summary: Get the list of checklists attached to a card
  163. tags:
  164. - Checklists
  165. parameters:
  166. - name: board
  167. in: path
  168. description: |
  169. the board ID
  170. type: string
  171. required: true
  172. - name: card
  173. in: path
  174. description: |
  175. the card ID
  176. type: string
  177. required: true
  178. produces:
  179. - application/json
  180. security:
  181. - UserSecurity: []
  182. responses:
  183. '200':
  184. description: |-
  185. 200 response
  186. schema:
  187. type: array
  188. items:
  189. type: object
  190. properties:
  191. _id:
  192. type: string
  193. title:
  194. type: string
  195. post:
  196. operationId: new_checklist
  197. summary: create a new checklist
  198. tags:
  199. - Checklists
  200. consumes:
  201. - multipart/form-data
  202. - application/json
  203. parameters:
  204. - name: title
  205. in: formData
  206. description: |
  207. the title of the new checklist
  208. type: string
  209. required: true
  210. - name: items
  211. in: formData
  212. description: |
  213. the list of items on the new checklist
  214. type: string
  215. required: false
  216. - name: board
  217. in: path
  218. description: |
  219. the board ID
  220. type: string
  221. required: true
  222. - name: card
  223. in: path
  224. description: |
  225. the card ID
  226. type: string
  227. required: true
  228. produces:
  229. - application/json
  230. security:
  231. - UserSecurity: []
  232. responses:
  233. '200':
  234. description: |-
  235. 200 response
  236. schema:
  237. type: object
  238. properties:
  239. _id:
  240. type: string
  241. /api/boards/{board}/cards/{card}/checklists/{checklist}:
  242. get:
  243. operationId: get_checklist
  244. summary: Get a checklist
  245. tags:
  246. - Checklists
  247. parameters:
  248. - name: board
  249. in: path
  250. description: |
  251. the board ID
  252. type: string
  253. required: true
  254. - name: card
  255. in: path
  256. description: |
  257. the card ID
  258. type: string
  259. required: true
  260. - name: checklist
  261. in: path
  262. description: |
  263. the ID of the checklist
  264. type: string
  265. required: true
  266. produces:
  267. - application/json
  268. security:
  269. - UserSecurity: []
  270. responses:
  271. '200':
  272. description: |-
  273. 200 response
  274. schema:
  275. type: object
  276. properties:
  277. cardId:
  278. type: string
  279. title:
  280. type: string
  281. finishedAt:
  282. type: string
  283. createdAt:
  284. type: string
  285. sort:
  286. type: number
  287. items:
  288. type: array
  289. items:
  290. type: object
  291. properties:
  292. _id:
  293. type: string
  294. title:
  295. type: string
  296. isFinished:
  297. type: boolean
  298. delete:
  299. operationId: delete_checklist
  300. summary: Delete a checklist
  301. description: |
  302. The checklist will be removed, not put in the recycle bin.
  303. tags:
  304. - Checklists
  305. parameters:
  306. - name: board
  307. in: path
  308. description: |
  309. the board ID
  310. type: string
  311. required: true
  312. - name: card
  313. in: path
  314. description: |
  315. the card ID
  316. type: string
  317. required: true
  318. - name: checklist
  319. in: path
  320. description: |
  321. the ID of the checklist to remove
  322. type: string
  323. required: true
  324. produces:
  325. - application/json
  326. security:
  327. - UserSecurity: []
  328. responses:
  329. '200':
  330. description: |-
  331. 200 response
  332. schema:
  333. type: object
  334. properties:
  335. _id:
  336. type: string
  337. /api/boards/{board}/cards/{card}/checklists/{checklist}/items:
  338. post:
  339. operationId: new_checklist_item
  340. summary: add a new item to a checklist
  341. tags:
  342. - ChecklistItems
  343. consumes:
  344. - multipart/form-data
  345. - application/json
  346. parameters:
  347. - name: title
  348. in: formData
  349. description: |
  350. the title of the new item
  351. type: string
  352. required: true
  353. - name: board
  354. in: path
  355. description: |
  356. the board ID
  357. type: string
  358. required: true
  359. - name: card
  360. in: path
  361. description: |
  362. the card ID
  363. type: string
  364. required: true
  365. - name: checklist
  366. in: path
  367. description: |
  368. the ID of the checklist
  369. type: string
  370. required: true
  371. produces:
  372. - application/json
  373. security:
  374. - UserSecurity: []
  375. responses:
  376. '200':
  377. description: |-
  378. 200 response
  379. schema:
  380. type: object
  381. properties:
  382. _id:
  383. type: string
  384. /api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}:
  385. get:
  386. operationId: get_checklist_item
  387. summary: Get a checklist item
  388. tags:
  389. - ChecklistItems
  390. - Checklists
  391. parameters:
  392. - name: board
  393. in: path
  394. description: |
  395. the board ID
  396. type: string
  397. required: true
  398. - name: card
  399. in: path
  400. description: |
  401. the card ID
  402. type: string
  403. required: true
  404. - name: checklist
  405. in: path
  406. description: |
  407. the checklist ID
  408. type: string
  409. required: true
  410. - name: item
  411. in: path
  412. description: |
  413. the ID of the item
  414. type: string
  415. required: true
  416. produces:
  417. - application/json
  418. security:
  419. - UserSecurity: []
  420. responses:
  421. '200':
  422. description: |-
  423. 200 response
  424. schema:
  425. $ref: "#/definitions/ChecklistItems"
  426. put:
  427. operationId: edit_checklist_item
  428. summary: Edit a checklist item
  429. tags:
  430. - ChecklistItems
  431. - Checklists
  432. consumes:
  433. - multipart/form-data
  434. - application/json
  435. parameters:
  436. - name: isFinished
  437. in: formData
  438. description: |
  439. is the item checked?
  440. type: string
  441. required: false
  442. - name: title
  443. in: formData
  444. description: |
  445. the new text of the item
  446. type: string
  447. required: false
  448. - name: board
  449. in: path
  450. description: |
  451. the board ID
  452. type: string
  453. required: true
  454. - name: card
  455. in: path
  456. description: |
  457. the card ID
  458. type: string
  459. required: true
  460. - name: checklist
  461. in: path
  462. description: |
  463. the checklist ID
  464. type: string
  465. required: true
  466. - name: item
  467. in: path
  468. description: |
  469. the ID of the item
  470. type: string
  471. required: true
  472. produces:
  473. - application/json
  474. security:
  475. - UserSecurity: []
  476. responses:
  477. '200':
  478. description: |-
  479. 200 response
  480. schema:
  481. type: object
  482. properties:
  483. _id:
  484. type: string
  485. delete:
  486. operationId: delete_checklist_item
  487. summary: Delete a checklist item
  488. description: |
  489. Note: this operation can't be reverted.
  490. tags:
  491. - ChecklistItems
  492. - Checklists
  493. parameters:
  494. - name: board
  495. in: path
  496. description: |
  497. the board ID
  498. type: string
  499. required: true
  500. - name: card
  501. in: path
  502. description: |
  503. the card ID
  504. type: string
  505. required: true
  506. - name: checklist
  507. in: path
  508. description: |
  509. the checklist ID
  510. type: string
  511. required: true
  512. - name: item
  513. in: path
  514. description: |
  515. the ID of the item to be removed
  516. type: string
  517. required: true
  518. produces:
  519. - application/json
  520. security:
  521. - UserSecurity: []
  522. responses:
  523. '200':
  524. description: |-
  525. 200 response
  526. schema:
  527. type: object
  528. properties:
  529. _id:
  530. type: string
  531. /api/boards/{board}/cards/{card}/comments:
  532. get:
  533. operationId: get_all_comments
  534. summary: Get all comments attached to a card
  535. tags:
  536. - CardComments
  537. parameters:
  538. - name: board
  539. in: path
  540. description: |
  541. the board ID of the card
  542. type: string
  543. required: true
  544. - name: card
  545. in: path
  546. description: |
  547. the ID of the card
  548. type: string
  549. required: true
  550. produces:
  551. - application/json
  552. security:
  553. - UserSecurity: []
  554. responses:
  555. '200':
  556. description: |-
  557. 200 response
  558. schema:
  559. type: array
  560. items:
  561. type: object
  562. properties:
  563. _id:
  564. type: string
  565. comment:
  566. type: string
  567. authorId:
  568. type: string
  569. post:
  570. operationId: new_comment
  571. summary: Add a comment on a card
  572. tags:
  573. - CardComments
  574. consumes:
  575. - multipart/form-data
  576. - application/json
  577. parameters:
  578. - name: authorId
  579. in: formData
  580. description: |
  581. the user who 'posted' the comment
  582. type: string
  583. required: true
  584. - name: comment
  585. in: formData
  586. description: the comment value
  587. type: string
  588. required: true
  589. - name: board
  590. in: path
  591. description: |
  592. the board ID of the card
  593. type: string
  594. required: true
  595. - name: card
  596. in: path
  597. description: |
  598. the ID of the card
  599. type: string
  600. required: true
  601. produces:
  602. - application/json
  603. security:
  604. - UserSecurity: []
  605. responses:
  606. '200':
  607. description: |-
  608. 200 response
  609. schema:
  610. type: object
  611. properties:
  612. _id:
  613. type: string
  614. /api/boards/{board}/cards/{card}/comments/{comment}:
  615. get:
  616. operationId: get_comment
  617. summary: Get a comment on a card
  618. tags:
  619. - CardComments
  620. parameters:
  621. - name: board
  622. in: path
  623. description: |
  624. the board ID of the card
  625. type: string
  626. required: true
  627. - name: card
  628. in: path
  629. description: |
  630. the ID of the card
  631. type: string
  632. required: true
  633. - name: comment
  634. in: path
  635. description: |
  636. the ID of the comment to retrieve
  637. type: string
  638. required: true
  639. produces:
  640. - application/json
  641. security:
  642. - UserSecurity: []
  643. responses:
  644. '200':
  645. description: |-
  646. 200 response
  647. schema:
  648. $ref: "#/definitions/CardComments"
  649. delete:
  650. operationId: delete_comment
  651. summary: Delete a comment on a card
  652. tags:
  653. - CardComments
  654. parameters:
  655. - name: board
  656. in: path
  657. description: |
  658. the board ID of the card
  659. type: string
  660. required: true
  661. - name: card
  662. in: path
  663. description: |
  664. the ID of the card
  665. type: string
  666. required: true
  667. - name: comment
  668. in: path
  669. description: |
  670. the ID of the comment to delete
  671. type: string
  672. required: true
  673. produces:
  674. - application/json
  675. security:
  676. - UserSecurity: []
  677. responses:
  678. '200':
  679. description: |-
  680. 200 response
  681. schema:
  682. type: object
  683. properties:
  684. _id:
  685. type: string
  686. /api/boards/{board}/cardsByCustomField/{customField}/{customFieldValue}:
  687. get:
  688. operationId: get_cards_by_custom_field
  689. summary: Get all Cards that matchs a value of a specific custom field
  690. tags:
  691. - Cards
  692. parameters:
  693. - name: board
  694. in: path
  695. description: |
  696. the board ID
  697. type: string
  698. required: true
  699. - name: customField
  700. in: path
  701. description: |
  702. the list ID
  703. type: string
  704. required: true
  705. - name: customFieldValue
  706. in: path
  707. description: |
  708. the value to look for
  709. type: string
  710. required: true
  711. produces:
  712. - application/json
  713. security:
  714. - UserSecurity: []
  715. responses:
  716. '200':
  717. description: |-
  718. 200 response
  719. schema:
  720. type: array
  721. items:
  722. type: object
  723. properties:
  724. _id:
  725. type: string
  726. title:
  727. type: string
  728. description:
  729. type: string
  730. listId:
  731. type: string
  732. swinlaneId:
  733. type: string
  734. /api/boards/{board}/cards_count:
  735. get:
  736. operationId: get_board_cards_count
  737. summary: Get a cards count to a board
  738. tags:
  739. - Cards
  740. parameters:
  741. - name: board
  742. in: path
  743. description: |
  744. the board ID
  745. type: string
  746. required: true
  747. produces:
  748. - application/json
  749. security:
  750. - UserSecurity: []
  751. responses:
  752. '200':
  753. description: |-
  754. 200 response
  755. schema:
  756. type: object
  757. properties:
  758. board_cards_count:
  759. type: integer
  760. /api/boards/{board}/custom-fields:
  761. get:
  762. operationId: get_all_custom_fields
  763. summary: Get the list of Custom Fields attached to a board
  764. tags:
  765. - CustomFields
  766. parameters:
  767. - name: board
  768. in: path
  769. description: the board value
  770. type: string
  771. required: true
  772. produces:
  773. - application/json
  774. security:
  775. - UserSecurity: []
  776. responses:
  777. '200':
  778. description: |-
  779. 200 response
  780. schema:
  781. type: array
  782. items:
  783. type: object
  784. properties:
  785. _id:
  786. type: string
  787. name:
  788. type: string
  789. type:
  790. type: string
  791. post:
  792. operationId: new_custom_field
  793. summary: Create a Custom Field
  794. tags:
  795. - CustomFields
  796. consumes:
  797. - multipart/form-data
  798. - application/json
  799. parameters:
  800. - name: name
  801. in: formData
  802. description: |
  803. the name of the custom field
  804. type: string
  805. required: true
  806. - name: type
  807. in: formData
  808. description: |
  809. the type of the custom field
  810. type: string
  811. required: true
  812. - name: settings
  813. in: formData
  814. description: |
  815. the settings object of the custom field
  816. type: string
  817. required: true
  818. - name: showOnCard
  819. in: formData
  820. description: |
  821. should we show the custom field on cards?
  822. type: boolean
  823. required: true
  824. - name: automaticallyOnCard
  825. in: formData
  826. description: |
  827. should the custom fields automatically be added on cards?
  828. type: boolean
  829. required: true
  830. - name: showLabelOnMiniCard
  831. in: formData
  832. description: |
  833. should the label of the custom field be shown on minicards?
  834. type: boolean
  835. required: true
  836. - name: showSumAtTopOfList
  837. in: formData
  838. description: |
  839. should the sum of the custom fields be shown at top of list?
  840. type: boolean
  841. required: true
  842. - name: authorId
  843. in: formData
  844. description: the authorId value
  845. type: string
  846. required: true
  847. - name: board
  848. in: path
  849. description: the board value
  850. type: string
  851. required: true
  852. produces:
  853. - application/json
  854. security:
  855. - UserSecurity: []
  856. responses:
  857. '200':
  858. description: |-
  859. 200 response
  860. schema:
  861. type: object
  862. properties:
  863. _id:
  864. type: string
  865. /api/boards/{board}/custom-fields/{customField}:
  866. get:
  867. operationId: get_custom_field
  868. summary: Get a Custom Fields attached to a board
  869. tags:
  870. - CustomFields
  871. parameters:
  872. - name: board
  873. in: path
  874. description: the board value
  875. type: string
  876. required: true
  877. - name: customField
  878. in: path
  879. description: |
  880. the ID of the custom field
  881. type: string
  882. required: true
  883. produces:
  884. - application/json
  885. security:
  886. - UserSecurity: []
  887. responses:
  888. '200':
  889. description: |-
  890. 200 response
  891. schema:
  892. type: array
  893. items:
  894. type: object
  895. properties:
  896. _id:
  897. type: string
  898. boardIds:
  899. type: string
  900. put:
  901. operationId: edit_custom_field
  902. summary: Update a Custom Field
  903. tags:
  904. - CustomFields
  905. consumes:
  906. - multipart/form-data
  907. - application/json
  908. parameters:
  909. - name: name
  910. in: formData
  911. description: |
  912. the name of the custom field
  913. type: string
  914. required: true
  915. - name: type
  916. in: formData
  917. description: |
  918. the type of the custom field
  919. type: string
  920. required: true
  921. - name: settings
  922. in: formData
  923. description: |
  924. the settings object of the custom field
  925. type: string
  926. required: true
  927. - name: showOnCard
  928. in: formData
  929. description: |
  930. should we show the custom field on cards
  931. type: boolean
  932. required: true
  933. - name: automaticallyOnCard
  934. in: formData
  935. description: |
  936. should the custom fields automatically be added on cards
  937. type: boolean
  938. required: true
  939. - name: alwaysOnCard
  940. in: formData
  941. description: the alwaysOnCard value
  942. type: string
  943. required: true
  944. - name: showLabelOnMiniCard
  945. in: formData
  946. description: |
  947. should the label of the custom field be shown on minicards
  948. type: boolean
  949. required: true
  950. - name: showSumAtTopOfList
  951. in: formData
  952. description: |
  953. should the sum of the custom fields be shown at top of list
  954. type: boolean
  955. required: true
  956. - name: board
  957. in: path
  958. description: the board value
  959. type: string
  960. required: true
  961. - name: customField
  962. in: path
  963. description: the customField value
  964. type: string
  965. required: true
  966. produces:
  967. - application/json
  968. security:
  969. - UserSecurity: []
  970. responses:
  971. '200':
  972. description: |-
  973. 200 response
  974. schema:
  975. type: object
  976. properties:
  977. _id:
  978. type: string
  979. delete:
  980. operationId: delete_custom_field
  981. summary: Delete a Custom Fields attached to a board
  982. description: |
  983. The Custom Field can't be retrieved after this operation
  984. tags:
  985. - CustomFields
  986. parameters:
  987. - name: board
  988. in: path
  989. description: the board value
  990. type: string
  991. required: true
  992. - name: customField
  993. in: path
  994. description: |
  995. the ID of the custom field
  996. type: string
  997. required: true
  998. produces:
  999. - application/json
  1000. security:
  1001. - UserSecurity: []
  1002. responses:
  1003. '200':
  1004. description: |-
  1005. 200 response
  1006. schema:
  1007. type: object
  1008. properties:
  1009. _id:
  1010. type: string
  1011. /api/boards/{board}/custom-fields/{customField}/dropdown-items:
  1012. post:
  1013. operationId: add_custom_field_dropdown_items
  1014. summary: Update a Custom Field's dropdown items
  1015. tags:
  1016. - CustomFields
  1017. consumes:
  1018. - multipart/form-data
  1019. - application/json
  1020. parameters:
  1021. - name: items
  1022. in: formData
  1023. description: |
  1024. names of the custom field
  1025. type: string
  1026. required: false
  1027. - name: board
  1028. in: path
  1029. description: the board value
  1030. type: string
  1031. required: true
  1032. - name: customField
  1033. in: path
  1034. description: the customField value
  1035. type: string
  1036. required: true
  1037. produces:
  1038. - application/json
  1039. security:
  1040. - UserSecurity: []
  1041. responses:
  1042. '200':
  1043. description: |-
  1044. 200 response
  1045. schema:
  1046. type: object
  1047. properties:
  1048. _id:
  1049. type: string
  1050. /api/boards/{board}/custom-fields/{customField}/dropdown-items/{dropdownItem}:
  1051. put:
  1052. operationId: edit_custom_field_dropdown_item
  1053. summary: Update a Custom Field's dropdown item
  1054. tags:
  1055. - CustomFields
  1056. consumes:
  1057. - multipart/form-data
  1058. - application/json
  1059. parameters:
  1060. - name: name
  1061. in: formData
  1062. description: |
  1063. names of the custom field
  1064. type: string
  1065. required: true
  1066. - name: board
  1067. in: path
  1068. description: the board value
  1069. type: string
  1070. required: true
  1071. - name: customField
  1072. in: path
  1073. description: the customField value
  1074. type: string
  1075. required: true
  1076. - name: dropdownItem
  1077. in: path
  1078. description: the dropdownItem value
  1079. type: string
  1080. required: true
  1081. produces:
  1082. - application/json
  1083. security:
  1084. - UserSecurity: []
  1085. responses:
  1086. '200':
  1087. description: |-
  1088. 200 response
  1089. schema:
  1090. type: object
  1091. properties:
  1092. _id:
  1093. type: string
  1094. delete:
  1095. operationId: delete_custom_field_dropdown_item
  1096. summary: Update a Custom Field's dropdown items
  1097. tags:
  1098. - CustomFields
  1099. parameters:
  1100. - name: board
  1101. in: path
  1102. description: the board value
  1103. type: string
  1104. required: true
  1105. - name: customField
  1106. in: path
  1107. description: the customField value
  1108. type: string
  1109. required: true
  1110. - name: dropdownItem
  1111. in: path
  1112. description: the dropdownItem value
  1113. type: string
  1114. required: true
  1115. produces:
  1116. - application/json
  1117. security:
  1118. - UserSecurity: []
  1119. responses:
  1120. '200':
  1121. description: |-
  1122. 200 response
  1123. schema:
  1124. type: object
  1125. properties:
  1126. _id:
  1127. type: string
  1128. /api/boards/{board}/export:
  1129. get:
  1130. operationId: exportJson
  1131. summary: This route is used to export the board to a json file format.
  1132. description: |
  1133. If user is already logged-in, pass loginToken as param
  1134. "authToken": '/api/boards/:boardId/export?authToken=:token'
  1135. See https://blog.kayla.com.au/server-side-route-authentication-in-meteor/
  1136. for detailed explanations
  1137. tags:
  1138. - Boards
  1139. parameters:
  1140. - name: board
  1141. in: path
  1142. description: |
  1143. the ID of the board we are exporting
  1144. type: string
  1145. required: true
  1146. produces:
  1147. - application/json
  1148. security:
  1149. - UserSecurity: []
  1150. responses:
  1151. '200':
  1152. description: |-
  1153. 200 response
  1154. /api/boards/{board}/integrations:
  1155. get:
  1156. operationId: get_all_integrations
  1157. summary: Get all integrations in board
  1158. tags:
  1159. - Integrations
  1160. parameters:
  1161. - name: board
  1162. in: path
  1163. description: |
  1164. the board ID
  1165. type: string
  1166. required: true
  1167. produces:
  1168. - application/json
  1169. security:
  1170. - UserSecurity: []
  1171. responses:
  1172. '200':
  1173. description: |-
  1174. 200 response
  1175. schema:
  1176. type: array
  1177. items:
  1178. $ref: "#/definitions/Integrations"
  1179. post:
  1180. operationId: new_integration
  1181. summary: Create a new integration
  1182. tags:
  1183. - Integrations
  1184. consumes:
  1185. - multipart/form-data
  1186. - application/json
  1187. parameters:
  1188. - name: url
  1189. in: formData
  1190. description: |
  1191. the URL of the integration
  1192. type: string
  1193. required: true
  1194. - name: board
  1195. in: path
  1196. description: |
  1197. the board ID
  1198. type: string
  1199. required: true
  1200. produces:
  1201. - application/json
  1202. security:
  1203. - UserSecurity: []
  1204. responses:
  1205. '200':
  1206. description: |-
  1207. 200 response
  1208. schema:
  1209. type: object
  1210. properties:
  1211. _id:
  1212. type: string
  1213. /api/boards/{board}/integrations/{int}:
  1214. get:
  1215. operationId: get_integration
  1216. summary: Get a single integration in board
  1217. tags:
  1218. - Integrations
  1219. parameters:
  1220. - name: board
  1221. in: path
  1222. description: |
  1223. the board ID
  1224. type: string
  1225. required: true
  1226. - name: int
  1227. in: path
  1228. description: |
  1229. the integration ID
  1230. type: string
  1231. required: true
  1232. produces:
  1233. - application/json
  1234. security:
  1235. - UserSecurity: []
  1236. responses:
  1237. '200':
  1238. description: |-
  1239. 200 response
  1240. schema:
  1241. $ref: "#/definitions/Integrations"
  1242. put:
  1243. operationId: edit_integration
  1244. summary: Edit integration data
  1245. tags:
  1246. - Integrations
  1247. consumes:
  1248. - multipart/form-data
  1249. - application/json
  1250. parameters:
  1251. - name: enabled
  1252. in: formData
  1253. description: |
  1254. is the integration enabled?
  1255. type: string
  1256. required: false
  1257. - name: title
  1258. in: formData
  1259. description: |
  1260. new name of the integration
  1261. type: string
  1262. required: false
  1263. - name: url
  1264. in: formData
  1265. description: |
  1266. new URL of the integration
  1267. type: string
  1268. required: false
  1269. - name: token
  1270. in: formData
  1271. description: |
  1272. new token of the integration
  1273. type: string
  1274. required: false
  1275. - name: activities
  1276. in: formData
  1277. description: |
  1278. new list of activities of the integration
  1279. type: string
  1280. required: false
  1281. - name: board
  1282. in: path
  1283. description: |
  1284. the board ID
  1285. type: string
  1286. required: true
  1287. - name: int
  1288. in: path
  1289. description: |
  1290. the integration ID
  1291. type: string
  1292. required: true
  1293. produces:
  1294. - application/json
  1295. security:
  1296. - UserSecurity: []
  1297. responses:
  1298. '200':
  1299. description: |-
  1300. 200 response
  1301. schema:
  1302. type: object
  1303. properties:
  1304. _id:
  1305. type: string
  1306. delete:
  1307. operationId: delete_integration
  1308. summary: Delete integration
  1309. tags:
  1310. - Integrations
  1311. parameters:
  1312. - name: board
  1313. in: path
  1314. description: |
  1315. the board ID
  1316. type: string
  1317. required: true
  1318. - name: int
  1319. in: path
  1320. description: |
  1321. the integration ID
  1322. type: string
  1323. required: true
  1324. produces:
  1325. - application/json
  1326. security:
  1327. - UserSecurity: []
  1328. responses:
  1329. '200':
  1330. description: |-
  1331. 200 response
  1332. schema:
  1333. type: object
  1334. properties:
  1335. _id:
  1336. type: string
  1337. /api/boards/{board}/integrations/{int}/activities:
  1338. delete:
  1339. operationId: delete_integration_activities
  1340. summary: Delete subscribed activities
  1341. tags:
  1342. - Integrations
  1343. parameters:
  1344. - name: board
  1345. in: path
  1346. description: |
  1347. the board ID
  1348. type: string
  1349. required: true
  1350. - name: int
  1351. in: path
  1352. description: |
  1353. the integration ID
  1354. type: string
  1355. required: true
  1356. produces:
  1357. - application/json
  1358. security:
  1359. - UserSecurity: []
  1360. responses:
  1361. '200':
  1362. description: |-
  1363. 200 response
  1364. schema:
  1365. $ref: "#/definitions/Integrations"
  1366. post:
  1367. operationId: new_integration_activities
  1368. summary: Add subscribed activities
  1369. tags:
  1370. - Integrations
  1371. consumes:
  1372. - multipart/form-data
  1373. - application/json
  1374. parameters:
  1375. - name: activities
  1376. in: formData
  1377. description: the activities value
  1378. type: string
  1379. required: true
  1380. - name: board
  1381. in: path
  1382. description: |
  1383. the board ID
  1384. type: string
  1385. required: true
  1386. - name: int
  1387. in: path
  1388. description: |
  1389. the integration ID
  1390. type: string
  1391. required: true
  1392. produces:
  1393. - application/json
  1394. security:
  1395. - UserSecurity: []
  1396. responses:
  1397. '200':
  1398. description: |-
  1399. 200 response
  1400. schema:
  1401. $ref: "#/definitions/Integrations"
  1402. /api/boards/{board}/lists:
  1403. get:
  1404. operationId: get_all_lists
  1405. summary: Get the list of Lists attached to a board
  1406. tags:
  1407. - Lists
  1408. parameters:
  1409. - name: board
  1410. in: path
  1411. description: |
  1412. the board ID
  1413. type: string
  1414. required: true
  1415. produces:
  1416. - application/json
  1417. security:
  1418. - UserSecurity: []
  1419. responses:
  1420. '200':
  1421. description: |-
  1422. 200 response
  1423. schema:
  1424. type: array
  1425. items:
  1426. type: object
  1427. properties:
  1428. _id:
  1429. type: string
  1430. title:
  1431. type: string
  1432. post:
  1433. operationId: new_list
  1434. summary: Add a List to a board
  1435. tags:
  1436. - Lists
  1437. consumes:
  1438. - multipart/form-data
  1439. - application/json
  1440. parameters:
  1441. - name: title
  1442. in: formData
  1443. description: |
  1444. the title of the List
  1445. type: string
  1446. required: true
  1447. - name: board
  1448. in: path
  1449. description: |
  1450. the board ID
  1451. type: string
  1452. required: true
  1453. produces:
  1454. - application/json
  1455. security:
  1456. - UserSecurity: []
  1457. responses:
  1458. '200':
  1459. description: |-
  1460. 200 response
  1461. schema:
  1462. type: object
  1463. properties:
  1464. _id:
  1465. type: string
  1466. /api/boards/{board}/lists/{list}:
  1467. get:
  1468. operationId: get_list
  1469. summary: Get a List attached to a board
  1470. tags:
  1471. - Lists
  1472. parameters:
  1473. - name: board
  1474. in: path
  1475. description: |
  1476. the board ID
  1477. type: string
  1478. required: true
  1479. - name: list
  1480. in: path
  1481. description: |
  1482. the List ID
  1483. type: string
  1484. required: true
  1485. produces:
  1486. - application/json
  1487. security:
  1488. - UserSecurity: []
  1489. responses:
  1490. '200':
  1491. description: |-
  1492. 200 response
  1493. schema:
  1494. $ref: "#/definitions/Lists"
  1495. delete:
  1496. operationId: delete_list
  1497. summary: Delete a List
  1498. description: |
  1499. This **deletes** a list from a board.
  1500. The list is not put in the recycle bin.
  1501. tags:
  1502. - Lists
  1503. parameters:
  1504. - name: board
  1505. in: path
  1506. description: |
  1507. the board ID
  1508. type: string
  1509. required: true
  1510. - name: list
  1511. in: path
  1512. description: |
  1513. the ID of the list to remove
  1514. type: string
  1515. required: true
  1516. produces:
  1517. - application/json
  1518. security:
  1519. - UserSecurity: []
  1520. responses:
  1521. '200':
  1522. description: |-
  1523. 200 response
  1524. schema:
  1525. type: object
  1526. properties:
  1527. _id:
  1528. type: string
  1529. /api/boards/{board}/lists/{list}/cards:
  1530. get:
  1531. operationId: get_all_cards
  1532. summary: Get all Cards attached to a List
  1533. tags:
  1534. - Cards
  1535. parameters:
  1536. - name: board
  1537. in: path
  1538. description: |
  1539. the board ID
  1540. type: string
  1541. required: true
  1542. - name: list
  1543. in: path
  1544. description: |
  1545. the list ID
  1546. type: string
  1547. required: true
  1548. produces:
  1549. - application/json
  1550. security:
  1551. - UserSecurity: []
  1552. responses:
  1553. '200':
  1554. description: |-
  1555. 200 response
  1556. schema:
  1557. type: array
  1558. items:
  1559. type: object
  1560. properties:
  1561. _id:
  1562. type: string
  1563. title:
  1564. type: string
  1565. description:
  1566. type: string
  1567. post:
  1568. operationId: new_card
  1569. summary: Create a new Card
  1570. tags:
  1571. - Cards
  1572. consumes:
  1573. - multipart/form-data
  1574. - application/json
  1575. parameters:
  1576. - name: authorId
  1577. in: formData
  1578. description: the authorId value
  1579. type: string
  1580. required: true
  1581. - name: members
  1582. in: formData
  1583. description: |
  1584. the member IDs list of the new card
  1585. type: string
  1586. required: false
  1587. - name: assignees
  1588. in: formData
  1589. description: |
  1590. the assignee IDs list of the new card
  1591. type: string
  1592. required: false
  1593. - name: title
  1594. in: formData
  1595. description: |
  1596. the title of the new card
  1597. type: string
  1598. required: true
  1599. - name: description
  1600. in: formData
  1601. description: |
  1602. the description of the new card
  1603. type: string
  1604. required: true
  1605. - name: swimlaneId
  1606. in: formData
  1607. description: |
  1608. the swimlane ID of the new card
  1609. type: string
  1610. required: true
  1611. - name: board
  1612. in: path
  1613. description: |
  1614. the board ID of the new card
  1615. type: string
  1616. required: true
  1617. - name: list
  1618. in: path
  1619. description: |
  1620. the list ID of the new card
  1621. type: string
  1622. required: true
  1623. produces:
  1624. - application/json
  1625. security:
  1626. - UserSecurity: []
  1627. responses:
  1628. '200':
  1629. description: |-
  1630. 200 response
  1631. schema:
  1632. type: object
  1633. properties:
  1634. _id:
  1635. type: string
  1636. /api/boards/{board}/lists/{list}/cards/{card}:
  1637. get:
  1638. operationId: get_card
  1639. summary: Get a Card
  1640. tags:
  1641. - Cards
  1642. parameters:
  1643. - name: board
  1644. in: path
  1645. description: |
  1646. the board ID
  1647. type: string
  1648. required: true
  1649. - name: list
  1650. in: path
  1651. description: |
  1652. the list ID of the card
  1653. type: string
  1654. required: true
  1655. - name: card
  1656. in: path
  1657. description: |
  1658. the card ID
  1659. type: string
  1660. required: true
  1661. produces:
  1662. - application/json
  1663. security:
  1664. - UserSecurity: []
  1665. responses:
  1666. '200':
  1667. description: |-
  1668. 200 response
  1669. schema:
  1670. $ref: "#/definitions/Cards"
  1671. put:
  1672. operationId: edit_card
  1673. summary: Edit Fields in a Card
  1674. description: |
  1675. Edit a card
  1676. The color has to be chosen between `white`, `green`, `yellow`, `orange`,
  1677. `red`, `purple`, `blue`, `sky`, `lime`, `pink`, `black`, `silver`,
  1678. `peachpuff`, `crimson`, `plum`, `darkgreen`, `slateblue`, `magenta`,
  1679. `gold`, `navy`, `gray`, `saddlebrown`, `paleturquoise`, `mistyrose`,
  1680. `indigo`:
  1681. <img src="/card-colors.png" width="40%" alt="Wekan card colors" />
  1682. Note: setting the color to white has the same effect than removing it.
  1683. tags:
  1684. - Cards
  1685. consumes:
  1686. - multipart/form-data
  1687. - application/json
  1688. parameters:
  1689. - name: newBoardId
  1690. in: formData
  1691. description: the newBoardId value
  1692. type: string
  1693. required: true
  1694. - name: newSwimlaneId
  1695. in: formData
  1696. description: the newSwimlaneId value
  1697. type: string
  1698. required: true
  1699. - name: newListId
  1700. in: formData
  1701. description: the newListId value
  1702. type: string
  1703. required: true
  1704. - name: title
  1705. in: formData
  1706. description: |
  1707. the new title of the card
  1708. type: string
  1709. required: false
  1710. - name: sort
  1711. in: formData
  1712. description: |
  1713. the new sort value of the card
  1714. type: string
  1715. required: false
  1716. - name: parentId
  1717. in: formData
  1718. description: |
  1719. change the parent of the card
  1720. type: string
  1721. required: false
  1722. - name: description
  1723. in: formData
  1724. description: |
  1725. the new description of the card
  1726. type: string
  1727. required: false
  1728. - name: color
  1729. in: formData
  1730. description: |
  1731. the new color of the card
  1732. type: string
  1733. required: false
  1734. - name: vote
  1735. in: formData
  1736. description: |
  1737. the vote object
  1738. type: object
  1739. required: false
  1740. - name: poker
  1741. in: formData
  1742. description: |
  1743. the poker object
  1744. type: object
  1745. required: false
  1746. - name: labelIds
  1747. in: formData
  1748. description: |
  1749. the new list of label IDs attached to the card
  1750. type: string
  1751. required: false
  1752. - name: requestedBy
  1753. in: formData
  1754. description: |
  1755. the new requestedBy field of the card
  1756. type: string
  1757. required: false
  1758. - name: assignedBy
  1759. in: formData
  1760. description: |
  1761. the new assignedBy field of the card
  1762. type: string
  1763. required: false
  1764. - name: receivedAt
  1765. in: formData
  1766. description: |
  1767. the new receivedAt field of the card
  1768. type: string
  1769. required: false
  1770. - name: startAt
  1771. in: formData
  1772. description: |
  1773. the new startAt field of the card
  1774. type: string
  1775. required: false
  1776. - name: dueAt
  1777. in: formData
  1778. description: |
  1779. the new dueAt field of the card
  1780. type: string
  1781. required: false
  1782. - name: endAt
  1783. in: formData
  1784. description: |
  1785. the new endAt field of the card
  1786. type: string
  1787. required: false
  1788. - name: spentTime
  1789. in: formData
  1790. description: |
  1791. the new spentTime field of the card
  1792. type: string
  1793. required: false
  1794. - name: isOverTime
  1795. in: formData
  1796. description: |
  1797. the new isOverTime field of the card
  1798. type: boolean
  1799. required: false
  1800. - name: customFields
  1801. in: formData
  1802. description: |
  1803. the new customFields value of the card
  1804. type: string
  1805. required: false
  1806. - name: members
  1807. in: formData
  1808. description: |
  1809. the new list of member IDs attached to the card
  1810. type: string
  1811. required: false
  1812. - name: assignees
  1813. in: formData
  1814. description: |
  1815. the array of maximum one ID of assignee attached to the card
  1816. type: string
  1817. required: false
  1818. - name: swimlaneId
  1819. in: formData
  1820. description: |
  1821. the new swimlane ID of the card
  1822. type: string
  1823. required: false
  1824. - name: listId
  1825. in: formData
  1826. description: |
  1827. the new list ID of the card (move operation)
  1828. type: string
  1829. required: false
  1830. - name: authorId
  1831. in: formData
  1832. description: |
  1833. change the owner of the card
  1834. type: string
  1835. required: false
  1836. - name: archive
  1837. in: formData
  1838. description: the archive value
  1839. type: string
  1840. required: true
  1841. - name: board
  1842. in: path
  1843. description: |
  1844. the board ID of the card
  1845. type: string
  1846. required: true
  1847. - name: list
  1848. in: path
  1849. description: |
  1850. the list ID of the card
  1851. type: string
  1852. required: true
  1853. - name: card
  1854. in: path
  1855. description: |
  1856. the ID of the card
  1857. type: string
  1858. required: true
  1859. produces:
  1860. - application/json
  1861. security:
  1862. - UserSecurity: []
  1863. responses:
  1864. '200':
  1865. description: |-
  1866. 200 response
  1867. schema:
  1868. type: object
  1869. properties:
  1870. _id:
  1871. type: string
  1872. delete:
  1873. operationId: delete_card
  1874. summary: Delete a card from a board
  1875. description: |
  1876. This operation **deletes** a card, and therefore the card
  1877. is not put in the recycle bin.
  1878. tags:
  1879. - Cards
  1880. parameters:
  1881. - name: board
  1882. in: path
  1883. description: |
  1884. the board ID of the card
  1885. type: string
  1886. required: true
  1887. - name: list
  1888. in: path
  1889. description: |
  1890. the list ID of the card
  1891. type: string
  1892. required: true
  1893. - name: card
  1894. in: path
  1895. description: |
  1896. the ID of the card
  1897. type: string
  1898. required: true
  1899. produces:
  1900. - application/json
  1901. security:
  1902. - UserSecurity: []
  1903. responses:
  1904. '200':
  1905. description: |-
  1906. 200 response
  1907. schema:
  1908. type: object
  1909. properties:
  1910. _id:
  1911. type: string
  1912. /api/boards/{board}/lists/{list}/cards/{card}/customFields/{customField}:
  1913. post:
  1914. operationId: edit_card_custom_field
  1915. summary: Edit Custom Field in a Card
  1916. description: |
  1917. Edit a custom field value in a card
  1918. tags:
  1919. - Cards
  1920. consumes:
  1921. - multipart/form-data
  1922. - application/json
  1923. parameters:
  1924. - name: value
  1925. in: formData
  1926. description: |
  1927. the new custom field value
  1928. type: string
  1929. required: true
  1930. - name: board
  1931. in: path
  1932. description: |
  1933. the board ID of the card
  1934. type: string
  1935. required: true
  1936. - name: list
  1937. in: path
  1938. description: |
  1939. the list ID of the card
  1940. type: string
  1941. required: true
  1942. - name: card
  1943. in: path
  1944. description: |
  1945. the ID of the card
  1946. type: string
  1947. required: true
  1948. - name: customField
  1949. in: path
  1950. description: |
  1951. the ID of the custom field
  1952. type: string
  1953. required: true
  1954. produces:
  1955. - application/json
  1956. security:
  1957. - UserSecurity: []
  1958. responses:
  1959. '200':
  1960. description: |-
  1961. 200 response
  1962. schema:
  1963. type: object
  1964. properties:
  1965. _id:
  1966. type: string
  1967. customFields:
  1968. type: object
  1969. /api/boards/{board}/lists/{list}/cards_count:
  1970. get:
  1971. operationId: get_list_cards_count
  1972. summary: Get a cards count to a list
  1973. tags:
  1974. - Cards
  1975. parameters:
  1976. - name: board
  1977. in: path
  1978. description: |
  1979. the board ID
  1980. type: string
  1981. required: true
  1982. - name: list
  1983. in: path
  1984. description: |
  1985. the List ID
  1986. type: string
  1987. required: true
  1988. produces:
  1989. - application/json
  1990. security:
  1991. - UserSecurity: []
  1992. responses:
  1993. '200':
  1994. description: |-
  1995. 200 response
  1996. schema:
  1997. type: object
  1998. properties:
  1999. list_cards_count:
  2000. type: integer
  2001. /api/boards/{board}/swimlanes:
  2002. get:
  2003. operationId: get_all_swimlanes
  2004. summary: Get the list of swimlanes attached to a board
  2005. tags:
  2006. - Swimlanes
  2007. parameters:
  2008. - name: board
  2009. in: path
  2010. description: |
  2011. the ID of the board
  2012. type: string
  2013. required: true
  2014. produces:
  2015. - application/json
  2016. security:
  2017. - UserSecurity: []
  2018. responses:
  2019. '200':
  2020. description: |-
  2021. 200 response
  2022. schema:
  2023. type: array
  2024. items:
  2025. type: object
  2026. properties:
  2027. _id:
  2028. type: string
  2029. title:
  2030. type: string
  2031. post:
  2032. operationId: new_swimlane
  2033. summary: Add a swimlane to a board
  2034. tags:
  2035. - Swimlanes
  2036. consumes:
  2037. - multipart/form-data
  2038. - application/json
  2039. parameters:
  2040. - name: title
  2041. in: formData
  2042. description: |
  2043. the new title of the swimlane
  2044. type: string
  2045. required: true
  2046. - name: board
  2047. in: path
  2048. description: |
  2049. the ID of the board
  2050. type: string
  2051. required: true
  2052. produces:
  2053. - application/json
  2054. security:
  2055. - UserSecurity: []
  2056. responses:
  2057. '200':
  2058. description: |-
  2059. 200 response
  2060. schema:
  2061. type: object
  2062. properties:
  2063. _id:
  2064. type: string
  2065. /api/boards/{board}/swimlanes/{swimlane}:
  2066. get:
  2067. operationId: get_swimlane
  2068. summary: Get a swimlane
  2069. tags:
  2070. - Swimlanes
  2071. parameters:
  2072. - name: board
  2073. in: path
  2074. description: |
  2075. the ID of the board
  2076. type: string
  2077. required: true
  2078. - name: swimlane
  2079. in: path
  2080. description: |
  2081. the ID of the swimlane
  2082. type: string
  2083. required: true
  2084. produces:
  2085. - application/json
  2086. security:
  2087. - UserSecurity: []
  2088. responses:
  2089. '200':
  2090. description: |-
  2091. 200 response
  2092. schema:
  2093. $ref: "#/definitions/Swimlanes"
  2094. put:
  2095. operationId: edit_swimlane
  2096. summary: Edit the title of a swimlane
  2097. tags:
  2098. - Swimlanes
  2099. consumes:
  2100. - multipart/form-data
  2101. - application/json
  2102. parameters:
  2103. - name: title
  2104. in: formData
  2105. description: |
  2106. the new title of the swimlane
  2107. type: string
  2108. required: true
  2109. - name: board
  2110. in: path
  2111. description: |
  2112. the ID of the board
  2113. type: string
  2114. required: true
  2115. - name: swimlane
  2116. in: path
  2117. description: |
  2118. the ID of the swimlane to edit
  2119. type: string
  2120. required: true
  2121. produces:
  2122. - application/json
  2123. security:
  2124. - UserSecurity: []
  2125. responses:
  2126. '200':
  2127. description: |-
  2128. 200 response
  2129. schema:
  2130. type: object
  2131. properties:
  2132. _id:
  2133. type: string
  2134. delete:
  2135. operationId: delete_swimlane
  2136. summary: Delete a swimlane
  2137. description: |
  2138. The swimlane will be deleted, not moved to the recycle bin
  2139. tags:
  2140. - Swimlanes
  2141. parameters:
  2142. - name: board
  2143. in: path
  2144. description: |
  2145. the ID of the board
  2146. type: string
  2147. required: true
  2148. - name: swimlane
  2149. in: path
  2150. description: |
  2151. the ID of the swimlane
  2152. type: string
  2153. required: true
  2154. produces:
  2155. - application/json
  2156. security:
  2157. - UserSecurity: []
  2158. responses:
  2159. '200':
  2160. description: |-
  2161. 200 response
  2162. schema:
  2163. type: object
  2164. properties:
  2165. _id:
  2166. type: string
  2167. /api/boards/{board}/swimlanes/{swimlane}/cards:
  2168. get:
  2169. operationId: get_swimlane_cards
  2170. summary: get all cards attached to a swimlane
  2171. tags:
  2172. - Cards
  2173. parameters:
  2174. - name: board
  2175. in: path
  2176. description: |
  2177. the board ID
  2178. type: string
  2179. required: true
  2180. - name: swimlane
  2181. in: path
  2182. description: |
  2183. the swimlane ID
  2184. type: string
  2185. required: true
  2186. produces:
  2187. - application/json
  2188. security:
  2189. - UserSecurity: []
  2190. responses:
  2191. '200':
  2192. description: |-
  2193. 200 response
  2194. schema:
  2195. type: array
  2196. items:
  2197. type: object
  2198. properties:
  2199. _id:
  2200. type: string
  2201. title:
  2202. type: string
  2203. description:
  2204. type: string
  2205. listId:
  2206. type: string
  2207. definitions:
  2208. CardComments:
  2209. type: object
  2210. description: A comment on a card
  2211. properties:
  2212. boardId:
  2213. description: |
  2214. the board ID
  2215. type: string
  2216. cardId:
  2217. description: |
  2218. the card ID
  2219. type: string
  2220. text:
  2221. description: |
  2222. the text of the comment
  2223. type: string
  2224. createdAt:
  2225. description: |
  2226. when was the comment created
  2227. type: string
  2228. modifiedAt:
  2229. type: string
  2230. userId:
  2231. description: |
  2232. the author ID of the comment
  2233. type: string
  2234. required:
  2235. - boardId
  2236. - cardId
  2237. - text
  2238. - createdAt
  2239. - modifiedAt
  2240. - userId
  2241. Cards:
  2242. type: object
  2243. properties:
  2244. title:
  2245. description: |
  2246. the title of the card
  2247. type: string
  2248. x-nullable: true
  2249. archived:
  2250. description: |
  2251. is the card archived
  2252. type: boolean
  2253. archivedAt:
  2254. description: |
  2255. latest archiving date
  2256. type: string
  2257. x-nullable: true
  2258. parentId:
  2259. description: |
  2260. ID of the parent card
  2261. type: string
  2262. x-nullable: true
  2263. listId:
  2264. description: |
  2265. List ID where the card is
  2266. type: string
  2267. x-nullable: true
  2268. swimlaneId:
  2269. description: |
  2270. Swimlane ID where the card is
  2271. type: string
  2272. boardId:
  2273. description: |
  2274. Board ID of the card
  2275. type: string
  2276. x-nullable: true
  2277. coverId:
  2278. description: |
  2279. Cover ID of the card
  2280. type: string
  2281. x-nullable: true
  2282. color:
  2283. type: string
  2284. enum:
  2285. - white
  2286. - green
  2287. - yellow
  2288. - orange
  2289. - red
  2290. - purple
  2291. - blue
  2292. - sky
  2293. - lime
  2294. - pink
  2295. - black
  2296. - silver
  2297. - peachpuff
  2298. - crimson
  2299. - plum
  2300. - darkgreen
  2301. - slateblue
  2302. - magenta
  2303. - gold
  2304. - navy
  2305. - gray
  2306. - saddlebrown
  2307. - paleturquoise
  2308. - mistyrose
  2309. - indigo
  2310. x-nullable: true
  2311. createdAt:
  2312. description: |
  2313. creation date
  2314. type: string
  2315. modifiedAt:
  2316. type: string
  2317. customFields:
  2318. description: |
  2319. list of custom fields
  2320. type: array
  2321. items:
  2322. $ref: "#/definitions/CardsCustomfields"
  2323. x-nullable: true
  2324. dateLastActivity:
  2325. description: |
  2326. Date of last activity
  2327. type: string
  2328. description:
  2329. description: |
  2330. description of the card
  2331. type: string
  2332. x-nullable: true
  2333. requestedBy:
  2334. description: |
  2335. who requested the card (ID of the user)
  2336. type: string
  2337. x-nullable: true
  2338. assignedBy:
  2339. description: |
  2340. who assigned the card (ID of the user)
  2341. type: string
  2342. x-nullable: true
  2343. labelIds:
  2344. description: |
  2345. list of labels ID the card has
  2346. type: array
  2347. items:
  2348. type: string
  2349. x-nullable: true
  2350. x-nullable: true
  2351. members:
  2352. description: |
  2353. list of members (user IDs)
  2354. type: array
  2355. items:
  2356. type: string
  2357. x-nullable: true
  2358. x-nullable: true
  2359. assignees:
  2360. description: |
  2361. who is assignee of the card (user ID),
  2362. maximum one ID of assignee in array.
  2363. type: array
  2364. items:
  2365. type: string
  2366. x-nullable: true
  2367. x-nullable: true
  2368. receivedAt:
  2369. description: |
  2370. Date the card was received
  2371. type: string
  2372. x-nullable: true
  2373. startAt:
  2374. description: |
  2375. Date the card was started to be worked on
  2376. type: string
  2377. x-nullable: true
  2378. dueAt:
  2379. description: |
  2380. Date the card is due
  2381. type: string
  2382. x-nullable: true
  2383. endAt:
  2384. description: |
  2385. Date the card ended
  2386. type: string
  2387. x-nullable: true
  2388. spentTime:
  2389. description: |
  2390. How much time has been spent on this
  2391. type: number
  2392. x-nullable: true
  2393. isOvertime:
  2394. description: |
  2395. is the card over time?
  2396. type: boolean
  2397. x-nullable: true
  2398. userId:
  2399. description: |
  2400. user ID of the author of the card
  2401. type: string
  2402. sort:
  2403. description: |
  2404. Sort value
  2405. type: number
  2406. x-nullable: true
  2407. subtaskSort:
  2408. description: |
  2409. subtask sort value
  2410. type: number
  2411. x-nullable: true
  2412. type:
  2413. description: |
  2414. type of the card
  2415. type: string
  2416. linkedId:
  2417. description: |
  2418. ID of the linked card
  2419. type: string
  2420. x-nullable: true
  2421. vote:
  2422. description: |
  2423. vote object, see below
  2424. $ref: "#/definitions/CardsVote"
  2425. x-nullable: true
  2426. poker:
  2427. description: |
  2428. poker object, see below
  2429. $ref: "#/definitions/CardsPoker"
  2430. x-nullable: true
  2431. targetId_gantt:
  2432. description: |
  2433. ID of card which is the child link in gantt view
  2434. type: array
  2435. items:
  2436. type: string
  2437. x-nullable: true
  2438. x-nullable: true
  2439. linkType_gantt:
  2440. description: |
  2441. ID of card which is the parent link in gantt view
  2442. type: array
  2443. items:
  2444. type: number
  2445. x-nullable: true
  2446. x-nullable: true
  2447. linkId_gantt:
  2448. description: |
  2449. ID of card which is the parent link in gantt view
  2450. type: array
  2451. items:
  2452. type: string
  2453. x-nullable: true
  2454. x-nullable: true
  2455. cardNumber:
  2456. description: |
  2457. A boardwise sequentially increasing number that is assigned
  2458. to every newly created card
  2459. type: number
  2460. x-nullable: true
  2461. showActivities:
  2462. type: boolean
  2463. hideFinishedChecklistIfItemsAreHidden:
  2464. description: |
  2465. hide completed checklist?
  2466. type: boolean
  2467. x-nullable: true
  2468. required:
  2469. - archived
  2470. - swimlaneId
  2471. - createdAt
  2472. - modifiedAt
  2473. - dateLastActivity
  2474. - userId
  2475. - type
  2476. - showActivities
  2477. CardsVote:
  2478. type: object
  2479. properties:
  2480. question:
  2481. type: string
  2482. positive:
  2483. description: |
  2484. list of members (user IDs)
  2485. type: array
  2486. items:
  2487. type: string
  2488. x-nullable: true
  2489. negative:
  2490. description: |
  2491. list of members (user IDs)
  2492. type: array
  2493. items:
  2494. type: string
  2495. x-nullable: true
  2496. end:
  2497. type: string
  2498. public:
  2499. type: boolean
  2500. allowNonBoardMembers:
  2501. type: boolean
  2502. required:
  2503. - question
  2504. - public
  2505. - allowNonBoardMembers
  2506. CardsPoker:
  2507. type: object
  2508. properties:
  2509. question:
  2510. type: boolean
  2511. one:
  2512. description: |
  2513. poker card one
  2514. type: array
  2515. items:
  2516. type: string
  2517. x-nullable: true
  2518. two:
  2519. description: |
  2520. poker card two
  2521. type: array
  2522. items:
  2523. type: string
  2524. x-nullable: true
  2525. three:
  2526. description: |
  2527. poker card three
  2528. type: array
  2529. items:
  2530. type: string
  2531. x-nullable: true
  2532. five:
  2533. description: |
  2534. poker card five
  2535. type: array
  2536. items:
  2537. type: string
  2538. x-nullable: true
  2539. eight:
  2540. description: |
  2541. poker card eight
  2542. type: array
  2543. items:
  2544. type: string
  2545. x-nullable: true
  2546. thirteen:
  2547. description: |
  2548. poker card thirteen
  2549. type: array
  2550. items:
  2551. type: string
  2552. x-nullable: true
  2553. twenty:
  2554. description: |
  2555. poker card twenty
  2556. type: array
  2557. items:
  2558. type: string
  2559. x-nullable: true
  2560. forty:
  2561. description: |
  2562. poker card forty
  2563. type: array
  2564. items:
  2565. type: string
  2566. x-nullable: true
  2567. oneHundred:
  2568. description: |
  2569. poker card oneHundred
  2570. type: array
  2571. items:
  2572. type: string
  2573. x-nullable: true
  2574. unsure:
  2575. description: |
  2576. poker card unsure
  2577. type: array
  2578. items:
  2579. type: string
  2580. x-nullable: true
  2581. end:
  2582. type: string
  2583. allowNonBoardMembers:
  2584. type: boolean
  2585. estimation:
  2586. description: |
  2587. poker estimation value
  2588. type: number
  2589. CardsCustomfields:
  2590. type: object
  2591. ChecklistItems:
  2592. type: object
  2593. description: An item in a checklist
  2594. properties:
  2595. title:
  2596. description: |
  2597. the text of the item
  2598. type: string
  2599. sort:
  2600. description: |
  2601. the sorting field of the item
  2602. type: number
  2603. isFinished:
  2604. description: |
  2605. Is the item checked?
  2606. type: boolean
  2607. checklistId:
  2608. description: |
  2609. the checklist ID the item is attached to
  2610. type: string
  2611. cardId:
  2612. description: |
  2613. the card ID the item is attached to
  2614. type: string
  2615. createdAt:
  2616. type: string
  2617. x-nullable: true
  2618. modifiedAt:
  2619. type: string
  2620. required:
  2621. - title
  2622. - sort
  2623. - isFinished
  2624. - checklistId
  2625. - cardId
  2626. - modifiedAt
  2627. Checklists:
  2628. type: object
  2629. description: A Checklist
  2630. properties:
  2631. cardId:
  2632. description: |
  2633. The ID of the card the checklist is in
  2634. type: string
  2635. title:
  2636. description: |
  2637. the title of the checklist
  2638. type: string
  2639. finishedAt:
  2640. description: |
  2641. When was the checklist finished
  2642. type: string
  2643. x-nullable: true
  2644. createdAt:
  2645. description: |
  2646. Creation date of the checklist
  2647. type: string
  2648. modifiedAt:
  2649. type: string
  2650. sort:
  2651. description: |
  2652. sorting value of the checklist
  2653. type: number
  2654. hideCheckedChecklistItems:
  2655. description: |
  2656. hide the checked checklist-items?
  2657. type: boolean
  2658. x-nullable: true
  2659. hideAllChecklistItems:
  2660. description: |
  2661. hide all checklist items ?
  2662. type: boolean
  2663. x-nullable: true
  2664. required:
  2665. - cardId
  2666. - title
  2667. - createdAt
  2668. - modifiedAt
  2669. - sort
  2670. CustomFields:
  2671. type: object
  2672. description: A custom field on a card in the board
  2673. properties:
  2674. boardIds:
  2675. description: |
  2676. the ID of the board
  2677. type: array
  2678. items:
  2679. type: string
  2680. name:
  2681. description: |
  2682. name of the custom field
  2683. type: string
  2684. type:
  2685. description: |
  2686. type of the custom field
  2687. type: string
  2688. enum:
  2689. - text
  2690. - number
  2691. - date
  2692. - dropdown
  2693. - checkbox
  2694. - currency
  2695. - stringtemplate
  2696. settings:
  2697. description: |
  2698. settings of the custom field
  2699. $ref: "#/definitions/CustomFieldsSettings"
  2700. showOnCard:
  2701. description: |
  2702. should we show on the cards this custom field
  2703. type: boolean
  2704. automaticallyOnCard:
  2705. description: |
  2706. should the custom fields automatically be added on cards?
  2707. type: boolean
  2708. alwaysOnCard:
  2709. description: |
  2710. should the custom field be automatically added to all cards?
  2711. type: boolean
  2712. showLabelOnMiniCard:
  2713. description: |
  2714. should the label of the custom field be shown on minicards?
  2715. type: boolean
  2716. showSumAtTopOfList:
  2717. description: |
  2718. should the sum of the custom fields be shown at top of list?
  2719. type: boolean
  2720. createdAt:
  2721. type: string
  2722. x-nullable: true
  2723. modifiedAt:
  2724. type: string
  2725. required:
  2726. - boardIds
  2727. - name
  2728. - type
  2729. - settings
  2730. - showOnCard
  2731. - automaticallyOnCard
  2732. - alwaysOnCard
  2733. - showLabelOnMiniCard
  2734. - showSumAtTopOfList
  2735. - modifiedAt
  2736. CustomFieldsSettings:
  2737. type: object
  2738. properties:
  2739. currencyCode:
  2740. type: string
  2741. dropdownItems:
  2742. description: |
  2743. list of drop down items objects
  2744. type: array
  2745. items:
  2746. $ref: "#/definitions/CustomFieldsSettingsDropdownitems"
  2747. stringtemplateFormat:
  2748. type: string
  2749. stringtemplateSeparator:
  2750. type: string
  2751. CustomFieldsSettingsDropdownitems:
  2752. type: object
  2753. Integrations:
  2754. type: object
  2755. description: Integration with third-party applications
  2756. properties:
  2757. enabled:
  2758. description: |
  2759. is the integration enabled?
  2760. type: boolean
  2761. title:
  2762. description: |
  2763. name of the integration
  2764. type: string
  2765. x-nullable: true
  2766. type:
  2767. description: |
  2768. type of the integratation (Default to 'outgoing-webhooks')
  2769. type: string
  2770. activities:
  2771. description: |
  2772. activities the integration gets triggered (list)
  2773. type: array
  2774. items:
  2775. type: string
  2776. url:
  2777. type: string
  2778. token:
  2779. description: |
  2780. token of the integration
  2781. type: string
  2782. x-nullable: true
  2783. boardId:
  2784. description: |
  2785. Board ID of the integration
  2786. type: string
  2787. createdAt:
  2788. description: |
  2789. Creation date of the integration
  2790. type: string
  2791. modifiedAt:
  2792. type: string
  2793. userId:
  2794. description: |
  2795. user ID who created the interation
  2796. type: string
  2797. required:
  2798. - enabled
  2799. - type
  2800. - activities
  2801. - url
  2802. - boardId
  2803. - createdAt
  2804. - modifiedAt
  2805. - userId
  2806. Lists:
  2807. type: object
  2808. description: A list (column) in the Wekan board.
  2809. properties:
  2810. title:
  2811. description: |
  2812. the title of the list
  2813. type: string
  2814. starred:
  2815. description: |
  2816. if a list is stared
  2817. then we put it on the top
  2818. type: boolean
  2819. x-nullable: true
  2820. archived:
  2821. description: |
  2822. is the list archived
  2823. type: boolean
  2824. archivedAt:
  2825. description: |
  2826. latest archiving date
  2827. type: string
  2828. x-nullable: true
  2829. boardId:
  2830. description: |
  2831. the board associated to this list
  2832. type: string
  2833. swimlaneId:
  2834. description: |
  2835. the swimlane associated to this list. Used for templates
  2836. type: string
  2837. createdAt:
  2838. description: |
  2839. creation date
  2840. type: string
  2841. sort:
  2842. description: |
  2843. is the list sorted
  2844. type: number
  2845. x-nullable: true
  2846. updatedAt:
  2847. description: |
  2848. last update of the list
  2849. type: string
  2850. x-nullable: true
  2851. modifiedAt:
  2852. type: string
  2853. wipLimit:
  2854. description: |
  2855. WIP object, see below
  2856. $ref: "#/definitions/ListsWiplimit"
  2857. x-nullable: true
  2858. color:
  2859. description: |
  2860. the color of the list
  2861. type: string
  2862. enum:
  2863. - white
  2864. - green
  2865. - yellow
  2866. - orange
  2867. - red
  2868. - purple
  2869. - blue
  2870. - sky
  2871. - lime
  2872. - pink
  2873. - black
  2874. - silver
  2875. - peachpuff
  2876. - crimson
  2877. - plum
  2878. - darkgreen
  2879. - slateblue
  2880. - magenta
  2881. - gold
  2882. - navy
  2883. - gray
  2884. - saddlebrown
  2885. - paleturquoise
  2886. - mistyrose
  2887. - indigo
  2888. x-nullable: true
  2889. type:
  2890. description: |
  2891. The type of list
  2892. type: string
  2893. collapsed:
  2894. description: |
  2895. is the list collapsed
  2896. type: boolean
  2897. required:
  2898. - title
  2899. - archived
  2900. - boardId
  2901. - swimlaneId
  2902. - createdAt
  2903. - modifiedAt
  2904. - type
  2905. - collapsed
  2906. ListsWiplimit:
  2907. type: object
  2908. properties:
  2909. value:
  2910. description: |
  2911. value of the WIP
  2912. type: number
  2913. enabled:
  2914. description: |
  2915. is the WIP enabled
  2916. type: boolean
  2917. soft:
  2918. description: |
  2919. is the WIP a soft or hard requirement
  2920. type: boolean
  2921. required:
  2922. - value
  2923. - enabled
  2924. - soft
  2925. Swimlanes:
  2926. type: object
  2927. description: A swimlane is an line in the kaban board.
  2928. properties:
  2929. title:
  2930. description: |
  2931. the title of the swimlane
  2932. type: string
  2933. archived:
  2934. description: |
  2935. is the swimlane archived?
  2936. type: boolean
  2937. archivedAt:
  2938. description: |
  2939. latest archiving date of the swimlane
  2940. type: string
  2941. x-nullable: true
  2942. boardId:
  2943. description: |
  2944. the ID of the board the swimlane is attached to
  2945. type: string
  2946. createdAt:
  2947. description: |
  2948. creation date of the swimlane
  2949. type: string
  2950. sort:
  2951. description: |
  2952. the sort value of the swimlane
  2953. type: number
  2954. x-nullable: true
  2955. color:
  2956. description: |
  2957. the color of the swimlane
  2958. type: string
  2959. enum:
  2960. - white
  2961. - green
  2962. - yellow
  2963. - orange
  2964. - red
  2965. - purple
  2966. - blue
  2967. - sky
  2968. - lime
  2969. - pink
  2970. - black
  2971. - silver
  2972. - peachpuff
  2973. - crimson
  2974. - plum
  2975. - darkgreen
  2976. - slateblue
  2977. - magenta
  2978. - gold
  2979. - navy
  2980. - gray
  2981. - saddlebrown
  2982. - paleturquoise
  2983. - mistyrose
  2984. - indigo
  2985. x-nullable: true
  2986. updatedAt:
  2987. description: |
  2988. when was the swimlane last edited
  2989. type: string
  2990. x-nullable: true
  2991. modifiedAt:
  2992. type: string
  2993. type:
  2994. description: |
  2995. The type of swimlane
  2996. type: string
  2997. collapsed:
  2998. description: |
  2999. is the swimlane collapsed
  3000. type: boolean
  3001. required:
  3002. - title
  3003. - archived
  3004. - boardId
  3005. - createdAt
  3006. - modifiedAt
  3007. - type
  3008. - collapsed