wekan.yml 94 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854
  1. swagger: '2.0'
  2. info:
  3. title: Wekan REST API
  4. version: v7.45
  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:
  130. get:
  131. operationId: get_public_boards
  132. summary: Get all public boards
  133. tags:
  134. - Boards
  135. produces:
  136. - application/json
  137. security:
  138. - UserSecurity: []
  139. responses:
  140. '200':
  141. description: |-
  142. 200 response
  143. schema:
  144. type: array
  145. items:
  146. type: object
  147. properties:
  148. _id:
  149. type: string
  150. title:
  151. type: string
  152. post:
  153. operationId: new_board
  154. summary: Create a board
  155. description: |
  156. This allows to create a board.
  157. The color has to be chosen between `belize`, `nephritis`, `pomegranate`,
  158. `pumpkin`, `wisteria`, `moderatepink`, `strongcyan`,
  159. `limegreen`, `midnight`, `dark`, `relax`, `corteza`:
  160. <img src="https://wekan.github.io/board-colors.png" width="40%" alt="Wekan logo" />
  161. tags:
  162. - Boards
  163. consumes:
  164. - multipart/form-data
  165. - application/json
  166. parameters:
  167. - name: title
  168. in: formData
  169. description: |
  170. the new title of the board
  171. type: string
  172. required: true
  173. - name: owner
  174. in: formData
  175. description: |
  176. "ABCDE12345" <= User ID in Wekan.
  177. (Not username or email)
  178. type: string
  179. required: true
  180. - name: isAdmin
  181. in: formData
  182. description: |
  183. is the owner an admin of the board (default true)
  184. type: boolean
  185. required: false
  186. - name: isActive
  187. in: formData
  188. description: |
  189. is the board active (default true)
  190. type: boolean
  191. required: false
  192. - name: isNoComments
  193. in: formData
  194. description: |
  195. disable comments (default false)
  196. type: boolean
  197. required: false
  198. - name: isCommentOnly
  199. in: formData
  200. description: |
  201. only enable comments (default false)
  202. type: boolean
  203. required: false
  204. - name: isWorker
  205. in: formData
  206. description: |
  207. only move cards, assign himself to card and comment (default false)
  208. type: boolean
  209. required: false
  210. - name: permission
  211. in: formData
  212. description: |
  213. "private" board <== Set to "public" if you
  214. want public Wekan board
  215. type: string
  216. required: false
  217. - name: color
  218. in: formData
  219. description: |
  220. the color of the board
  221. type: string
  222. required: false
  223. produces:
  224. - application/json
  225. security:
  226. - UserSecurity: []
  227. responses:
  228. '200':
  229. description: |-
  230. 200 response
  231. schema:
  232. type: object
  233. properties:
  234. _id:
  235. type: string
  236. defaultSwimlaneId:
  237. type: string
  238. /api/boards/{board}:
  239. get:
  240. operationId: get_board
  241. summary: Get the board with that particular ID
  242. tags:
  243. - Boards
  244. parameters:
  245. - name: board
  246. in: path
  247. description: |
  248. the ID of the board to retrieve the data
  249. type: string
  250. required: true
  251. produces:
  252. - application/json
  253. security:
  254. - UserSecurity: []
  255. responses:
  256. '200':
  257. description: |-
  258. 200 response
  259. schema:
  260. $ref: "#/definitions/Boards"
  261. delete:
  262. operationId: delete_board
  263. summary: Delete a board
  264. tags:
  265. - Boards
  266. parameters:
  267. - name: board
  268. in: path
  269. description: |
  270. the ID of the board
  271. type: string
  272. required: true
  273. produces:
  274. - application/json
  275. security:
  276. - UserSecurity: []
  277. responses:
  278. '200':
  279. description: |-
  280. 200 response
  281. /api/boards/{board}/attachments:
  282. get:
  283. operationId: get_board_attachments
  284. summary: Get the list of attachments of a board
  285. tags:
  286. - Boards
  287. parameters:
  288. - name: board
  289. in: path
  290. description: |
  291. the board ID
  292. type: string
  293. required: true
  294. produces:
  295. - application/json
  296. security:
  297. - UserSecurity: []
  298. responses:
  299. '200':
  300. description: |-
  301. 200 response
  302. schema:
  303. type: array
  304. items:
  305. type: object
  306. properties:
  307. attachmentId:
  308. type: string
  309. attachmentName:
  310. type: string
  311. attachmentType:
  312. type: string
  313. url:
  314. type: string
  315. urlDownload:
  316. type: string
  317. boardId:
  318. type: string
  319. swimlaneId:
  320. type: string
  321. listId:
  322. type: string
  323. cardId:
  324. type: string
  325. /api/boards/{board}/attachments/{attachment}/export:
  326. get:
  327. operationId: exportJson
  328. summary: This route is used to export a attachement to a json file format.
  329. description: |
  330. If user is already logged-in, pass loginToken as param
  331. "authToken": '/api/boards/:boardId/attachments/:attachmentId/export?authToken=:token'
  332. tags:
  333. - Boards
  334. parameters:
  335. - name: board
  336. in: path
  337. description: |
  338. the ID of the board we are exporting
  339. type: string
  340. required: true
  341. - name: attachment
  342. in: path
  343. description: |
  344. the ID of the attachment we are exporting
  345. type: string
  346. required: true
  347. produces:
  348. - application/json
  349. security:
  350. - UserSecurity: []
  351. responses:
  352. '200':
  353. description: |-
  354. 200 response
  355. /api/boards/{board}/cards/{card}/checklists:
  356. get:
  357. operationId: get_all_checklists
  358. summary: Get the list of checklists attached to a card
  359. tags:
  360. - Checklists
  361. parameters:
  362. - name: board
  363. in: path
  364. description: |
  365. the board ID
  366. type: string
  367. required: true
  368. - name: card
  369. in: path
  370. description: |
  371. the card ID
  372. type: string
  373. required: true
  374. produces:
  375. - application/json
  376. security:
  377. - UserSecurity: []
  378. responses:
  379. '200':
  380. description: |-
  381. 200 response
  382. schema:
  383. type: array
  384. items:
  385. type: object
  386. properties:
  387. _id:
  388. type: string
  389. title:
  390. type: string
  391. post:
  392. operationId: new_checklist
  393. summary: create a new checklist
  394. tags:
  395. - Checklists
  396. consumes:
  397. - multipart/form-data
  398. - application/json
  399. parameters:
  400. - name: title
  401. in: formData
  402. description: |
  403. the title of the new checklist
  404. type: string
  405. required: true
  406. - name: items
  407. in: formData
  408. description: |
  409. the list of items on the new checklist
  410. type: string
  411. required: false
  412. - name: board
  413. in: path
  414. description: |
  415. the board ID
  416. type: string
  417. required: true
  418. - name: card
  419. in: path
  420. description: |
  421. the card ID
  422. type: string
  423. required: true
  424. produces:
  425. - application/json
  426. security:
  427. - UserSecurity: []
  428. responses:
  429. '200':
  430. description: |-
  431. 200 response
  432. schema:
  433. type: object
  434. properties:
  435. _id:
  436. type: string
  437. /api/boards/{board}/cards/{card}/checklists/{checklist}:
  438. get:
  439. operationId: get_checklist
  440. summary: Get a checklist
  441. tags:
  442. - Checklists
  443. parameters:
  444. - name: board
  445. in: path
  446. description: |
  447. the board ID
  448. type: string
  449. required: true
  450. - name: card
  451. in: path
  452. description: |
  453. the card ID
  454. type: string
  455. required: true
  456. - name: checklist
  457. in: path
  458. description: |
  459. the ID of the checklist
  460. type: string
  461. required: true
  462. produces:
  463. - application/json
  464. security:
  465. - UserSecurity: []
  466. responses:
  467. '200':
  468. description: |-
  469. 200 response
  470. schema:
  471. type: object
  472. properties:
  473. cardId:
  474. type: string
  475. title:
  476. type: string
  477. finishedAt:
  478. type: string
  479. createdAt:
  480. type: string
  481. sort:
  482. type: number
  483. items:
  484. type: array
  485. items:
  486. type: object
  487. properties:
  488. _id:
  489. type: string
  490. title:
  491. type: string
  492. isFinished:
  493. type: boolean
  494. delete:
  495. operationId: delete_checklist
  496. summary: Delete a checklist
  497. description: |
  498. The checklist will be removed, not put in the recycle bin.
  499. tags:
  500. - Checklists
  501. parameters:
  502. - name: board
  503. in: path
  504. description: |
  505. the board ID
  506. type: string
  507. required: true
  508. - name: card
  509. in: path
  510. description: |
  511. the card ID
  512. type: string
  513. required: true
  514. - name: checklist
  515. in: path
  516. description: |
  517. the ID of the checklist to remove
  518. type: string
  519. required: true
  520. produces:
  521. - application/json
  522. security:
  523. - UserSecurity: []
  524. responses:
  525. '200':
  526. description: |-
  527. 200 response
  528. schema:
  529. type: object
  530. properties:
  531. _id:
  532. type: string
  533. /api/boards/{board}/cards/{card}/checklists/{checklist}/items:
  534. post:
  535. operationId: new_checklist_item
  536. summary: add a new item to a checklist
  537. tags:
  538. - ChecklistItems
  539. consumes:
  540. - multipart/form-data
  541. - application/json
  542. parameters:
  543. - name: title
  544. in: formData
  545. description: |
  546. the title of the new item
  547. type: string
  548. required: true
  549. - name: board
  550. in: path
  551. description: |
  552. the board ID
  553. type: string
  554. required: true
  555. - name: card
  556. in: path
  557. description: |
  558. the card ID
  559. type: string
  560. required: true
  561. - name: checklist
  562. in: path
  563. description: |
  564. the ID of the checklist
  565. type: string
  566. required: true
  567. produces:
  568. - application/json
  569. security:
  570. - UserSecurity: []
  571. responses:
  572. '200':
  573. description: |-
  574. 200 response
  575. schema:
  576. type: object
  577. properties:
  578. _id:
  579. type: string
  580. /api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}:
  581. get:
  582. operationId: get_checklist_item
  583. summary: Get a checklist item
  584. tags:
  585. - ChecklistItems
  586. - Checklists
  587. parameters:
  588. - name: board
  589. in: path
  590. description: |
  591. the board ID
  592. type: string
  593. required: true
  594. - name: card
  595. in: path
  596. description: |
  597. the card ID
  598. type: string
  599. required: true
  600. - name: checklist
  601. in: path
  602. description: |
  603. the checklist ID
  604. type: string
  605. required: true
  606. - name: item
  607. in: path
  608. description: |
  609. the ID of the item
  610. type: string
  611. required: true
  612. produces:
  613. - application/json
  614. security:
  615. - UserSecurity: []
  616. responses:
  617. '200':
  618. description: |-
  619. 200 response
  620. schema:
  621. $ref: "#/definitions/ChecklistItems"
  622. put:
  623. operationId: edit_checklist_item
  624. summary: Edit a checklist item
  625. tags:
  626. - ChecklistItems
  627. - Checklists
  628. consumes:
  629. - multipart/form-data
  630. - application/json
  631. parameters:
  632. - name: isFinished
  633. in: formData
  634. description: |
  635. is the item checked?
  636. type: string
  637. required: false
  638. - name: title
  639. in: formData
  640. description: |
  641. the new text of the item
  642. type: string
  643. required: false
  644. - name: board
  645. in: path
  646. description: |
  647. the board ID
  648. type: string
  649. required: true
  650. - name: card
  651. in: path
  652. description: |
  653. the card ID
  654. type: string
  655. required: true
  656. - name: checklist
  657. in: path
  658. description: |
  659. the checklist ID
  660. type: string
  661. required: true
  662. - name: item
  663. in: path
  664. description: |
  665. the ID of the item
  666. type: string
  667. required: true
  668. produces:
  669. - application/json
  670. security:
  671. - UserSecurity: []
  672. responses:
  673. '200':
  674. description: |-
  675. 200 response
  676. schema:
  677. type: object
  678. properties:
  679. _id:
  680. type: string
  681. delete:
  682. operationId: delete_checklist_item
  683. summary: Delete a checklist item
  684. description: |
  685. Note: this operation can't be reverted.
  686. tags:
  687. - ChecklistItems
  688. - Checklists
  689. parameters:
  690. - name: board
  691. in: path
  692. description: |
  693. the board ID
  694. type: string
  695. required: true
  696. - name: card
  697. in: path
  698. description: |
  699. the card ID
  700. type: string
  701. required: true
  702. - name: checklist
  703. in: path
  704. description: |
  705. the checklist ID
  706. type: string
  707. required: true
  708. - name: item
  709. in: path
  710. description: |
  711. the ID of the item to be removed
  712. type: string
  713. required: true
  714. produces:
  715. - application/json
  716. security:
  717. - UserSecurity: []
  718. responses:
  719. '200':
  720. description: |-
  721. 200 response
  722. schema:
  723. type: object
  724. properties:
  725. _id:
  726. type: string
  727. /api/boards/{board}/cards/{card}/comments:
  728. get:
  729. operationId: get_all_comments
  730. summary: Get all comments attached to a card
  731. tags:
  732. - CardComments
  733. parameters:
  734. - name: board
  735. in: path
  736. description: |
  737. the board ID of the card
  738. type: string
  739. required: true
  740. - name: card
  741. in: path
  742. description: |
  743. the ID of the card
  744. type: string
  745. required: true
  746. produces:
  747. - application/json
  748. security:
  749. - UserSecurity: []
  750. responses:
  751. '200':
  752. description: |-
  753. 200 response
  754. schema:
  755. type: array
  756. items:
  757. type: object
  758. properties:
  759. _id:
  760. type: string
  761. comment:
  762. type: string
  763. authorId:
  764. type: string
  765. post:
  766. operationId: new_comment
  767. summary: Add a comment on a card
  768. tags:
  769. - CardComments
  770. consumes:
  771. - multipart/form-data
  772. - application/json
  773. parameters:
  774. - name: authorId
  775. in: formData
  776. description: |
  777. the user who 'posted' the comment
  778. type: string
  779. required: true
  780. - name: comment
  781. in: formData
  782. description: the comment value
  783. type: string
  784. required: true
  785. - name: board
  786. in: path
  787. description: |
  788. the board ID of the card
  789. type: string
  790. required: true
  791. - name: card
  792. in: path
  793. description: |
  794. the ID of the card
  795. type: string
  796. required: true
  797. produces:
  798. - application/json
  799. security:
  800. - UserSecurity: []
  801. responses:
  802. '200':
  803. description: |-
  804. 200 response
  805. schema:
  806. type: object
  807. properties:
  808. _id:
  809. type: string
  810. /api/boards/{board}/cards/{card}/comments/{comment}:
  811. get:
  812. operationId: get_comment
  813. summary: Get a comment on a card
  814. tags:
  815. - CardComments
  816. parameters:
  817. - name: board
  818. in: path
  819. description: |
  820. the board ID of the card
  821. type: string
  822. required: true
  823. - name: card
  824. in: path
  825. description: |
  826. the ID of the card
  827. type: string
  828. required: true
  829. - name: comment
  830. in: path
  831. description: |
  832. the ID of the comment to retrieve
  833. type: string
  834. required: true
  835. produces:
  836. - application/json
  837. security:
  838. - UserSecurity: []
  839. responses:
  840. '200':
  841. description: |-
  842. 200 response
  843. schema:
  844. $ref: "#/definitions/CardComments"
  845. delete:
  846. operationId: delete_comment
  847. summary: Delete a comment on a card
  848. tags:
  849. - CardComments
  850. parameters:
  851. - name: board
  852. in: path
  853. description: |
  854. the board ID of the card
  855. type: string
  856. required: true
  857. - name: card
  858. in: path
  859. description: |
  860. the ID of the card
  861. type: string
  862. required: true
  863. - name: comment
  864. in: path
  865. description: |
  866. the ID of the comment to delete
  867. type: string
  868. required: true
  869. produces:
  870. - application/json
  871. security:
  872. - UserSecurity: []
  873. responses:
  874. '200':
  875. description: |-
  876. 200 response
  877. schema:
  878. type: object
  879. properties:
  880. _id:
  881. type: string
  882. /api/boards/{board}/cardsByCustomField/{customField}/{customFieldValue}:
  883. get:
  884. operationId: get_cards_by_custom_field
  885. summary: Get all Cards that matchs a value of a specific custom field
  886. tags:
  887. - Cards
  888. parameters:
  889. - name: board
  890. in: path
  891. description: |
  892. the board ID
  893. type: string
  894. required: true
  895. - name: customField
  896. in: path
  897. description: |
  898. the list ID
  899. type: string
  900. required: true
  901. - name: customFieldValue
  902. in: path
  903. description: |
  904. the value to look for
  905. type: string
  906. required: true
  907. produces:
  908. - application/json
  909. security:
  910. - UserSecurity: []
  911. responses:
  912. '200':
  913. description: |-
  914. 200 response
  915. schema:
  916. type: array
  917. items:
  918. type: object
  919. properties:
  920. _id:
  921. type: string
  922. title:
  923. type: string
  924. description:
  925. type: string
  926. listId:
  927. type: string
  928. swinlaneId:
  929. type: string
  930. /api/boards/{board}/cards_count:
  931. get:
  932. operationId: get_board_cards_count
  933. summary: Get a cards count to a board
  934. tags:
  935. - Cards
  936. parameters:
  937. - name: board
  938. in: path
  939. description: |
  940. the board ID
  941. type: string
  942. required: true
  943. produces:
  944. - application/json
  945. security:
  946. - UserSecurity: []
  947. responses:
  948. '200':
  949. description: |-
  950. 200 response
  951. schema:
  952. type: object
  953. properties:
  954. board_cards_count:
  955. type: integer
  956. /api/boards/{board}/copy:
  957. post:
  958. operationId: copy_board
  959. summary: Copy a board to a new one
  960. description: |
  961. If your are board admin or wekan admin, this copies the
  962. given board to a new one.
  963. tags:
  964. - Boards
  965. consumes:
  966. - multipart/form-data
  967. - application/json
  968. parameters:
  969. - name: title
  970. in: formData
  971. description: |
  972. the title of the new board (default to old one)
  973. type: string
  974. required: true
  975. - name: board
  976. in: path
  977. description: |
  978. the board
  979. type: string
  980. required: true
  981. produces:
  982. - application/json
  983. security:
  984. - UserSecurity: []
  985. responses:
  986. '200':
  987. description: |-
  988. 200 response
  989. schema:
  990. type: string
  991. /api/boards/{board}/custom-fields:
  992. get:
  993. operationId: get_all_custom_fields
  994. summary: Get the list of Custom Fields attached to a board
  995. tags:
  996. - CustomFields
  997. parameters:
  998. - name: board
  999. in: path
  1000. description: the board value
  1001. type: string
  1002. required: true
  1003. produces:
  1004. - application/json
  1005. security:
  1006. - UserSecurity: []
  1007. responses:
  1008. '200':
  1009. description: |-
  1010. 200 response
  1011. schema:
  1012. type: array
  1013. items:
  1014. type: object
  1015. properties:
  1016. _id:
  1017. type: string
  1018. name:
  1019. type: string
  1020. type:
  1021. type: string
  1022. post:
  1023. operationId: new_custom_field
  1024. summary: Create a Custom Field
  1025. tags:
  1026. - CustomFields
  1027. consumes:
  1028. - multipart/form-data
  1029. - application/json
  1030. parameters:
  1031. - name: name
  1032. in: formData
  1033. description: |
  1034. the name of the custom field
  1035. type: string
  1036. required: true
  1037. - name: type
  1038. in: formData
  1039. description: |
  1040. the type of the custom field
  1041. type: string
  1042. required: true
  1043. - name: settings
  1044. in: formData
  1045. description: |
  1046. the settings object of the custom field
  1047. type: string
  1048. required: true
  1049. - name: showOnCard
  1050. in: formData
  1051. description: |
  1052. should we show the custom field on cards?
  1053. type: boolean
  1054. required: true
  1055. - name: automaticallyOnCard
  1056. in: formData
  1057. description: |
  1058. should the custom fields automatically be added on cards?
  1059. type: boolean
  1060. required: true
  1061. - name: showLabelOnMiniCard
  1062. in: formData
  1063. description: |
  1064. should the label of the custom field be shown on minicards?
  1065. type: boolean
  1066. required: true
  1067. - name: showSumAtTopOfList
  1068. in: formData
  1069. description: |
  1070. should the sum of the custom fields be shown at top of list?
  1071. type: boolean
  1072. required: true
  1073. - name: authorId
  1074. in: formData
  1075. description: the authorId value
  1076. type: string
  1077. required: true
  1078. - name: board
  1079. in: path
  1080. description: the board value
  1081. type: string
  1082. required: true
  1083. produces:
  1084. - application/json
  1085. security:
  1086. - UserSecurity: []
  1087. responses:
  1088. '200':
  1089. description: |-
  1090. 200 response
  1091. schema:
  1092. type: object
  1093. properties:
  1094. _id:
  1095. type: string
  1096. /api/boards/{board}/custom-fields/{customField}:
  1097. get:
  1098. operationId: get_custom_field
  1099. summary: Get a Custom Fields attached to a board
  1100. tags:
  1101. - CustomFields
  1102. parameters:
  1103. - name: board
  1104. in: path
  1105. description: the board value
  1106. type: string
  1107. required: true
  1108. - name: customField
  1109. in: path
  1110. description: |
  1111. the ID of the custom field
  1112. type: string
  1113. required: true
  1114. produces:
  1115. - application/json
  1116. security:
  1117. - UserSecurity: []
  1118. responses:
  1119. '200':
  1120. description: |-
  1121. 200 response
  1122. schema:
  1123. type: array
  1124. items:
  1125. type: object
  1126. properties:
  1127. _id:
  1128. type: string
  1129. boardIds:
  1130. type: string
  1131. put:
  1132. operationId: edit_custom_field
  1133. summary: Update a Custom Field
  1134. tags:
  1135. - CustomFields
  1136. consumes:
  1137. - multipart/form-data
  1138. - application/json
  1139. parameters:
  1140. - name: name
  1141. in: formData
  1142. description: |
  1143. the name of the custom field
  1144. type: string
  1145. required: true
  1146. - name: type
  1147. in: formData
  1148. description: |
  1149. the type of the custom field
  1150. type: string
  1151. required: true
  1152. - name: settings
  1153. in: formData
  1154. description: |
  1155. the settings object of the custom field
  1156. type: string
  1157. required: true
  1158. - name: showOnCard
  1159. in: formData
  1160. description: |
  1161. should we show the custom field on cards
  1162. type: boolean
  1163. required: true
  1164. - name: automaticallyOnCard
  1165. in: formData
  1166. description: |
  1167. should the custom fields automatically be added on cards
  1168. type: boolean
  1169. required: true
  1170. - name: alwaysOnCard
  1171. in: formData
  1172. description: the alwaysOnCard value
  1173. type: string
  1174. required: true
  1175. - name: showLabelOnMiniCard
  1176. in: formData
  1177. description: |
  1178. should the label of the custom field be shown on minicards
  1179. type: boolean
  1180. required: true
  1181. - name: showSumAtTopOfList
  1182. in: formData
  1183. description: |
  1184. should the sum of the custom fields be shown at top of list
  1185. type: boolean
  1186. required: true
  1187. - name: board
  1188. in: path
  1189. description: the board value
  1190. type: string
  1191. required: true
  1192. - name: customField
  1193. in: path
  1194. description: the customField value
  1195. type: string
  1196. required: true
  1197. produces:
  1198. - application/json
  1199. security:
  1200. - UserSecurity: []
  1201. responses:
  1202. '200':
  1203. description: |-
  1204. 200 response
  1205. schema:
  1206. type: object
  1207. properties:
  1208. _id:
  1209. type: string
  1210. delete:
  1211. operationId: delete_custom_field
  1212. summary: Delete a Custom Fields attached to a board
  1213. description: |
  1214. The Custom Field can't be retrieved after this operation
  1215. tags:
  1216. - CustomFields
  1217. parameters:
  1218. - name: board
  1219. in: path
  1220. description: the board value
  1221. type: string
  1222. required: true
  1223. - name: customField
  1224. in: path
  1225. description: |
  1226. the ID of the custom field
  1227. type: string
  1228. required: true
  1229. produces:
  1230. - application/json
  1231. security:
  1232. - UserSecurity: []
  1233. responses:
  1234. '200':
  1235. description: |-
  1236. 200 response
  1237. schema:
  1238. type: object
  1239. properties:
  1240. _id:
  1241. type: string
  1242. /api/boards/{board}/custom-fields/{customField}/dropdown-items:
  1243. post:
  1244. operationId: add_custom_field_dropdown_items
  1245. summary: Update a Custom Field's dropdown items
  1246. tags:
  1247. - CustomFields
  1248. consumes:
  1249. - multipart/form-data
  1250. - application/json
  1251. parameters:
  1252. - name: items
  1253. in: formData
  1254. description: |
  1255. names of the custom field
  1256. type: string
  1257. required: false
  1258. - name: board
  1259. in: path
  1260. description: the board value
  1261. type: string
  1262. required: true
  1263. - name: customField
  1264. in: path
  1265. description: the customField value
  1266. type: string
  1267. required: true
  1268. produces:
  1269. - application/json
  1270. security:
  1271. - UserSecurity: []
  1272. responses:
  1273. '200':
  1274. description: |-
  1275. 200 response
  1276. schema:
  1277. type: object
  1278. properties:
  1279. _id:
  1280. type: string
  1281. /api/boards/{board}/custom-fields/{customField}/dropdown-items/{dropdownItem}:
  1282. put:
  1283. operationId: edit_custom_field_dropdown_item
  1284. summary: Update a Custom Field's dropdown item
  1285. tags:
  1286. - CustomFields
  1287. consumes:
  1288. - multipart/form-data
  1289. - application/json
  1290. parameters:
  1291. - name: name
  1292. in: formData
  1293. description: |
  1294. names of the custom field
  1295. type: string
  1296. required: true
  1297. - name: board
  1298. in: path
  1299. description: the board value
  1300. type: string
  1301. required: true
  1302. - name: customField
  1303. in: path
  1304. description: the customField value
  1305. type: string
  1306. required: true
  1307. - name: dropdownItem
  1308. in: path
  1309. description: the dropdownItem value
  1310. type: string
  1311. required: true
  1312. produces:
  1313. - application/json
  1314. security:
  1315. - UserSecurity: []
  1316. responses:
  1317. '200':
  1318. description: |-
  1319. 200 response
  1320. schema:
  1321. type: object
  1322. properties:
  1323. _id:
  1324. type: string
  1325. delete:
  1326. operationId: delete_custom_field_dropdown_item
  1327. summary: Update a Custom Field's dropdown items
  1328. tags:
  1329. - CustomFields
  1330. parameters:
  1331. - name: board
  1332. in: path
  1333. description: the board value
  1334. type: string
  1335. required: true
  1336. - name: customField
  1337. in: path
  1338. description: the customField value
  1339. type: string
  1340. required: true
  1341. - name: dropdownItem
  1342. in: path
  1343. description: the dropdownItem value
  1344. type: string
  1345. required: true
  1346. produces:
  1347. - application/json
  1348. security:
  1349. - UserSecurity: []
  1350. responses:
  1351. '200':
  1352. description: |-
  1353. 200 response
  1354. schema:
  1355. type: object
  1356. properties:
  1357. _id:
  1358. type: string
  1359. /api/boards/{board}/export:
  1360. get:
  1361. operationId: exportJson
  1362. summary: This route is used to export the board to a json file format.
  1363. description: |
  1364. If user is already logged-in, pass loginToken as param
  1365. "authToken": '/api/boards/:boardId/export?authToken=:token'
  1366. See https://blog.kayla.com.au/server-side-route-authentication-in-meteor/
  1367. for detailed explanations
  1368. tags:
  1369. - Boards
  1370. parameters:
  1371. - name: board
  1372. in: path
  1373. description: |
  1374. the ID of the board we are exporting
  1375. type: string
  1376. required: true
  1377. produces:
  1378. - application/json
  1379. security:
  1380. - UserSecurity: []
  1381. responses:
  1382. '200':
  1383. description: |-
  1384. 200 response
  1385. /api/boards/{board}/integrations:
  1386. get:
  1387. operationId: get_all_integrations
  1388. summary: Get all integrations in board
  1389. tags:
  1390. - Integrations
  1391. parameters:
  1392. - name: board
  1393. in: path
  1394. description: |
  1395. the board ID
  1396. type: string
  1397. required: true
  1398. produces:
  1399. - application/json
  1400. security:
  1401. - UserSecurity: []
  1402. responses:
  1403. '200':
  1404. description: |-
  1405. 200 response
  1406. schema:
  1407. type: array
  1408. items:
  1409. $ref: "#/definitions/Integrations"
  1410. post:
  1411. operationId: new_integration
  1412. summary: Create a new integration
  1413. tags:
  1414. - Integrations
  1415. consumes:
  1416. - multipart/form-data
  1417. - application/json
  1418. parameters:
  1419. - name: url
  1420. in: formData
  1421. description: |
  1422. the URL of the integration
  1423. type: string
  1424. required: true
  1425. - name: board
  1426. in: path
  1427. description: |
  1428. the board ID
  1429. type: string
  1430. required: true
  1431. produces:
  1432. - application/json
  1433. security:
  1434. - UserSecurity: []
  1435. responses:
  1436. '200':
  1437. description: |-
  1438. 200 response
  1439. schema:
  1440. type: object
  1441. properties:
  1442. _id:
  1443. type: string
  1444. /api/boards/{board}/integrations/{int}:
  1445. get:
  1446. operationId: get_integration
  1447. summary: Get a single integration in board
  1448. tags:
  1449. - Integrations
  1450. parameters:
  1451. - name: board
  1452. in: path
  1453. description: |
  1454. the board ID
  1455. type: string
  1456. required: true
  1457. - name: int
  1458. in: path
  1459. description: |
  1460. the integration ID
  1461. type: string
  1462. required: true
  1463. produces:
  1464. - application/json
  1465. security:
  1466. - UserSecurity: []
  1467. responses:
  1468. '200':
  1469. description: |-
  1470. 200 response
  1471. schema:
  1472. $ref: "#/definitions/Integrations"
  1473. put:
  1474. operationId: edit_integration
  1475. summary: Edit integration data
  1476. tags:
  1477. - Integrations
  1478. consumes:
  1479. - multipart/form-data
  1480. - application/json
  1481. parameters:
  1482. - name: enabled
  1483. in: formData
  1484. description: |
  1485. is the integration enabled?
  1486. type: string
  1487. required: false
  1488. - name: title
  1489. in: formData
  1490. description: |
  1491. new name of the integration
  1492. type: string
  1493. required: false
  1494. - name: url
  1495. in: formData
  1496. description: |
  1497. new URL of the integration
  1498. type: string
  1499. required: false
  1500. - name: token
  1501. in: formData
  1502. description: |
  1503. new token of the integration
  1504. type: string
  1505. required: false
  1506. - name: activities
  1507. in: formData
  1508. description: |
  1509. new list of activities of the integration
  1510. type: string
  1511. required: false
  1512. - name: board
  1513. in: path
  1514. description: |
  1515. the board ID
  1516. type: string
  1517. required: true
  1518. - name: int
  1519. in: path
  1520. description: |
  1521. the integration ID
  1522. type: string
  1523. required: true
  1524. produces:
  1525. - application/json
  1526. security:
  1527. - UserSecurity: []
  1528. responses:
  1529. '200':
  1530. description: |-
  1531. 200 response
  1532. schema:
  1533. type: object
  1534. properties:
  1535. _id:
  1536. type: string
  1537. delete:
  1538. operationId: delete_integration
  1539. summary: Delete integration
  1540. tags:
  1541. - Integrations
  1542. parameters:
  1543. - name: board
  1544. in: path
  1545. description: |
  1546. the board ID
  1547. type: string
  1548. required: true
  1549. - name: int
  1550. in: path
  1551. description: |
  1552. the integration ID
  1553. type: string
  1554. required: true
  1555. produces:
  1556. - application/json
  1557. security:
  1558. - UserSecurity: []
  1559. responses:
  1560. '200':
  1561. description: |-
  1562. 200 response
  1563. schema:
  1564. type: object
  1565. properties:
  1566. _id:
  1567. type: string
  1568. /api/boards/{board}/integrations/{int}/activities:
  1569. delete:
  1570. operationId: delete_integration_activities
  1571. summary: Delete subscribed activities
  1572. tags:
  1573. - Integrations
  1574. parameters:
  1575. - name: board
  1576. in: path
  1577. description: |
  1578. the board ID
  1579. type: string
  1580. required: true
  1581. - name: int
  1582. in: path
  1583. description: |
  1584. the integration ID
  1585. type: string
  1586. required: true
  1587. produces:
  1588. - application/json
  1589. security:
  1590. - UserSecurity: []
  1591. responses:
  1592. '200':
  1593. description: |-
  1594. 200 response
  1595. schema:
  1596. $ref: "#/definitions/Integrations"
  1597. post:
  1598. operationId: new_integration_activities
  1599. summary: Add subscribed activities
  1600. tags:
  1601. - Integrations
  1602. consumes:
  1603. - multipart/form-data
  1604. - application/json
  1605. parameters:
  1606. - name: activities
  1607. in: formData
  1608. description: the activities value
  1609. type: string
  1610. required: true
  1611. - name: board
  1612. in: path
  1613. description: |
  1614. the board ID
  1615. type: string
  1616. required: true
  1617. - name: int
  1618. in: path
  1619. description: |
  1620. the integration ID
  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. $ref: "#/definitions/Integrations"
  1633. /api/boards/{board}/labels:
  1634. put:
  1635. operationId: add_board_label
  1636. summary: Add a label to a board
  1637. description: |
  1638. If the board doesn't have the name/color label, this function
  1639. adds the label to the board.
  1640. tags:
  1641. - Boards
  1642. consumes:
  1643. - multipart/form-data
  1644. - application/json
  1645. parameters:
  1646. - name: label
  1647. in: formData
  1648. description: the label value
  1649. type: string
  1650. required: true
  1651. - name: board
  1652. in: path
  1653. description: |
  1654. the board
  1655. type: string
  1656. required: true
  1657. produces:
  1658. - application/json
  1659. security:
  1660. - UserSecurity: []
  1661. responses:
  1662. '200':
  1663. description: |-
  1664. 200 response
  1665. schema:
  1666. type: string
  1667. /api/boards/{board}/lists:
  1668. get:
  1669. operationId: get_all_lists
  1670. summary: Get the list of Lists attached to a board
  1671. tags:
  1672. - Lists
  1673. parameters:
  1674. - name: board
  1675. in: path
  1676. description: |
  1677. the board ID
  1678. type: string
  1679. required: true
  1680. produces:
  1681. - application/json
  1682. security:
  1683. - UserSecurity: []
  1684. responses:
  1685. '200':
  1686. description: |-
  1687. 200 response
  1688. schema:
  1689. type: array
  1690. items:
  1691. type: object
  1692. properties:
  1693. _id:
  1694. type: string
  1695. title:
  1696. type: string
  1697. post:
  1698. operationId: new_list
  1699. summary: Add a List to a board
  1700. tags:
  1701. - Lists
  1702. consumes:
  1703. - multipart/form-data
  1704. - application/json
  1705. parameters:
  1706. - name: title
  1707. in: formData
  1708. description: |
  1709. the title of the List
  1710. type: string
  1711. required: true
  1712. - name: board
  1713. in: path
  1714. description: |
  1715. the board ID
  1716. type: string
  1717. required: true
  1718. produces:
  1719. - application/json
  1720. security:
  1721. - UserSecurity: []
  1722. responses:
  1723. '200':
  1724. description: |-
  1725. 200 response
  1726. schema:
  1727. type: object
  1728. properties:
  1729. _id:
  1730. type: string
  1731. /api/boards/{board}/lists/{list}:
  1732. get:
  1733. operationId: get_list
  1734. summary: Get a List attached to a board
  1735. tags:
  1736. - Lists
  1737. parameters:
  1738. - name: board
  1739. in: path
  1740. description: |
  1741. the board ID
  1742. type: string
  1743. required: true
  1744. - name: list
  1745. in: path
  1746. description: |
  1747. the List ID
  1748. type: string
  1749. required: true
  1750. produces:
  1751. - application/json
  1752. security:
  1753. - UserSecurity: []
  1754. responses:
  1755. '200':
  1756. description: |-
  1757. 200 response
  1758. schema:
  1759. $ref: "#/definitions/Lists"
  1760. delete:
  1761. operationId: delete_list
  1762. summary: Delete a List
  1763. description: |
  1764. This **deletes** a list from a board.
  1765. The list is not put in the recycle bin.
  1766. tags:
  1767. - Lists
  1768. parameters:
  1769. - name: board
  1770. in: path
  1771. description: |
  1772. the board ID
  1773. type: string
  1774. required: true
  1775. - name: list
  1776. in: path
  1777. description: |
  1778. the ID of the list to remove
  1779. type: string
  1780. required: true
  1781. produces:
  1782. - application/json
  1783. security:
  1784. - UserSecurity: []
  1785. responses:
  1786. '200':
  1787. description: |-
  1788. 200 response
  1789. schema:
  1790. type: object
  1791. properties:
  1792. _id:
  1793. type: string
  1794. /api/boards/{board}/lists/{list}/cards:
  1795. get:
  1796. operationId: get_all_cards
  1797. summary: Get all Cards attached to a List
  1798. tags:
  1799. - Cards
  1800. parameters:
  1801. - name: board
  1802. in: path
  1803. description: |
  1804. the board ID
  1805. type: string
  1806. required: true
  1807. - name: list
  1808. in: path
  1809. description: |
  1810. the list ID
  1811. type: string
  1812. required: true
  1813. produces:
  1814. - application/json
  1815. security:
  1816. - UserSecurity: []
  1817. responses:
  1818. '200':
  1819. description: |-
  1820. 200 response
  1821. schema:
  1822. type: array
  1823. items:
  1824. type: object
  1825. properties:
  1826. _id:
  1827. type: string
  1828. title:
  1829. type: string
  1830. description:
  1831. type: string
  1832. post:
  1833. operationId: new_card
  1834. summary: Create a new Card
  1835. tags:
  1836. - Cards
  1837. consumes:
  1838. - multipart/form-data
  1839. - application/json
  1840. parameters:
  1841. - name: authorId
  1842. in: formData
  1843. description: the authorId value
  1844. type: string
  1845. required: true
  1846. - name: members
  1847. in: formData
  1848. description: |
  1849. the member IDs list of the new card
  1850. type: string
  1851. required: false
  1852. - name: assignees
  1853. in: formData
  1854. description: |
  1855. the assignee IDs list of the new card
  1856. type: string
  1857. required: false
  1858. - name: title
  1859. in: formData
  1860. description: |
  1861. the title of the new card
  1862. type: string
  1863. required: true
  1864. - name: description
  1865. in: formData
  1866. description: |
  1867. the description of the new card
  1868. type: string
  1869. required: true
  1870. - name: swimlaneId
  1871. in: formData
  1872. description: |
  1873. the swimlane ID of the new card
  1874. type: string
  1875. required: true
  1876. - name: board
  1877. in: path
  1878. description: |
  1879. the board ID of the new card
  1880. type: string
  1881. required: true
  1882. - name: list
  1883. in: path
  1884. description: |
  1885. the list ID of the new card
  1886. type: string
  1887. required: true
  1888. produces:
  1889. - application/json
  1890. security:
  1891. - UserSecurity: []
  1892. responses:
  1893. '200':
  1894. description: |-
  1895. 200 response
  1896. schema:
  1897. type: object
  1898. properties:
  1899. _id:
  1900. type: string
  1901. /api/boards/{board}/lists/{list}/cards/{card}:
  1902. get:
  1903. operationId: get_card
  1904. summary: Get a Card
  1905. tags:
  1906. - Cards
  1907. parameters:
  1908. - name: board
  1909. in: path
  1910. description: |
  1911. the board ID
  1912. type: string
  1913. required: true
  1914. - name: list
  1915. in: path
  1916. description: |
  1917. the list ID of the card
  1918. type: string
  1919. required: true
  1920. - name: card
  1921. in: path
  1922. description: |
  1923. the card ID
  1924. type: string
  1925. required: true
  1926. produces:
  1927. - application/json
  1928. security:
  1929. - UserSecurity: []
  1930. responses:
  1931. '200':
  1932. description: |-
  1933. 200 response
  1934. schema:
  1935. $ref: "#/definitions/Cards"
  1936. put:
  1937. operationId: edit_card
  1938. summary: Edit Fields in a Card
  1939. description: |
  1940. Edit a card
  1941. The color has to be chosen between `white`, `green`, `yellow`, `orange`,
  1942. `red`, `purple`, `blue`, `sky`, `lime`, `pink`, `black`, `silver`,
  1943. `peachpuff`, `crimson`, `plum`, `darkgreen`, `slateblue`, `magenta`,
  1944. `gold`, `navy`, `gray`, `saddlebrown`, `paleturquoise`, `mistyrose`,
  1945. `indigo`:
  1946. <img src="/card-colors.png" width="40%" alt="Wekan card colors" />
  1947. Note: setting the color to white has the same effect than removing it.
  1948. tags:
  1949. - Cards
  1950. consumes:
  1951. - multipart/form-data
  1952. - application/json
  1953. parameters:
  1954. - name: newBoardId
  1955. in: formData
  1956. description: the newBoardId value
  1957. type: string
  1958. required: true
  1959. - name: newSwimlaneId
  1960. in: formData
  1961. description: the newSwimlaneId value
  1962. type: string
  1963. required: true
  1964. - name: newListId
  1965. in: formData
  1966. description: the newListId value
  1967. type: string
  1968. required: true
  1969. - name: title
  1970. in: formData
  1971. description: |
  1972. the new title of the card
  1973. type: string
  1974. required: false
  1975. - name: sort
  1976. in: formData
  1977. description: |
  1978. the new sort value of the card
  1979. type: string
  1980. required: false
  1981. - name: parentId
  1982. in: formData
  1983. description: |
  1984. change the parent of the card
  1985. type: string
  1986. required: false
  1987. - name: description
  1988. in: formData
  1989. description: |
  1990. the new description of the card
  1991. type: string
  1992. required: false
  1993. - name: color
  1994. in: formData
  1995. description: |
  1996. the new color of the card
  1997. type: string
  1998. required: false
  1999. - name: vote
  2000. in: formData
  2001. description: |
  2002. the vote object
  2003. type: object
  2004. required: false
  2005. - name: poker
  2006. in: formData
  2007. description: |
  2008. the poker object
  2009. type: object
  2010. required: false
  2011. - name: labelIds
  2012. in: formData
  2013. description: |
  2014. the new list of label IDs attached to the card
  2015. type: string
  2016. required: false
  2017. - name: requestedBy
  2018. in: formData
  2019. description: |
  2020. the new requestedBy field of the card
  2021. type: string
  2022. required: false
  2023. - name: assignedBy
  2024. in: formData
  2025. description: |
  2026. the new assignedBy field of the card
  2027. type: string
  2028. required: false
  2029. - name: receivedAt
  2030. in: formData
  2031. description: |
  2032. the new receivedAt field of the card
  2033. type: string
  2034. required: false
  2035. - name: startAt
  2036. in: formData
  2037. description: |
  2038. the new startAt field of the card
  2039. type: string
  2040. required: false
  2041. - name: dueAt
  2042. in: formData
  2043. description: |
  2044. the new dueAt field of the card
  2045. type: string
  2046. required: false
  2047. - name: endAt
  2048. in: formData
  2049. description: |
  2050. the new endAt field of the card
  2051. type: string
  2052. required: false
  2053. - name: spentTime
  2054. in: formData
  2055. description: |
  2056. the new spentTime field of the card
  2057. type: string
  2058. required: false
  2059. - name: isOverTime
  2060. in: formData
  2061. description: |
  2062. the new isOverTime field of the card
  2063. type: boolean
  2064. required: false
  2065. - name: customFields
  2066. in: formData
  2067. description: |
  2068. the new customFields value of the card
  2069. type: string
  2070. required: false
  2071. - name: members
  2072. in: formData
  2073. description: |
  2074. the new list of member IDs attached to the card
  2075. type: string
  2076. required: false
  2077. - name: assignees
  2078. in: formData
  2079. description: |
  2080. the array of maximum one ID of assignee attached to the card
  2081. type: string
  2082. required: false
  2083. - name: swimlaneId
  2084. in: formData
  2085. description: |
  2086. the new swimlane ID of the card
  2087. type: string
  2088. required: false
  2089. - name: listId
  2090. in: formData
  2091. description: |
  2092. the new list ID of the card (move operation)
  2093. type: string
  2094. required: false
  2095. - name: authorId
  2096. in: formData
  2097. description: |
  2098. change the owner of the card
  2099. type: string
  2100. required: false
  2101. - name: archive
  2102. in: formData
  2103. description: the archive value
  2104. type: string
  2105. required: true
  2106. - name: board
  2107. in: path
  2108. description: |
  2109. the board ID of the card
  2110. type: string
  2111. required: true
  2112. - name: list
  2113. in: path
  2114. description: |
  2115. the list ID of the card
  2116. type: string
  2117. required: true
  2118. - name: card
  2119. in: path
  2120. description: |
  2121. the ID of the card
  2122. type: string
  2123. required: true
  2124. produces:
  2125. - application/json
  2126. security:
  2127. - UserSecurity: []
  2128. responses:
  2129. '200':
  2130. description: |-
  2131. 200 response
  2132. schema:
  2133. type: object
  2134. properties:
  2135. _id:
  2136. type: string
  2137. delete:
  2138. operationId: delete_card
  2139. summary: Delete a card from a board
  2140. description: |
  2141. This operation **deletes** a card, and therefore the card
  2142. is not put in the recycle bin.
  2143. tags:
  2144. - Cards
  2145. parameters:
  2146. - name: board
  2147. in: path
  2148. description: |
  2149. the board ID of the card
  2150. type: string
  2151. required: true
  2152. - name: list
  2153. in: path
  2154. description: |
  2155. the list ID of the card
  2156. type: string
  2157. required: true
  2158. - name: card
  2159. in: path
  2160. description: |
  2161. the ID of the card
  2162. type: string
  2163. required: true
  2164. produces:
  2165. - application/json
  2166. security:
  2167. - UserSecurity: []
  2168. responses:
  2169. '200':
  2170. description: |-
  2171. 200 response
  2172. schema:
  2173. type: object
  2174. properties:
  2175. _id:
  2176. type: string
  2177. /api/boards/{board}/lists/{list}/cards/{card}/customFields/{customField}:
  2178. post:
  2179. operationId: edit_card_custom_field
  2180. summary: Edit Custom Field in a Card
  2181. description: |
  2182. Edit a custom field value in a card
  2183. tags:
  2184. - Cards
  2185. consumes:
  2186. - multipart/form-data
  2187. - application/json
  2188. parameters:
  2189. - name: value
  2190. in: formData
  2191. description: |
  2192. the new custom field value
  2193. type: string
  2194. required: true
  2195. - name: board
  2196. in: path
  2197. description: |
  2198. the board ID of the card
  2199. type: string
  2200. required: true
  2201. - name: list
  2202. in: path
  2203. description: |
  2204. the list ID of the card
  2205. type: string
  2206. required: true
  2207. - name: card
  2208. in: path
  2209. description: |
  2210. the ID of the card
  2211. type: string
  2212. required: true
  2213. - name: customField
  2214. in: path
  2215. description: |
  2216. the ID of the custom field
  2217. type: string
  2218. required: true
  2219. produces:
  2220. - application/json
  2221. security:
  2222. - UserSecurity: []
  2223. responses:
  2224. '200':
  2225. description: |-
  2226. 200 response
  2227. schema:
  2228. type: object
  2229. properties:
  2230. _id:
  2231. type: string
  2232. customFields:
  2233. type: object
  2234. /api/boards/{board}/lists/{list}/cards_count:
  2235. get:
  2236. operationId: get_list_cards_count
  2237. summary: Get a cards count to a list
  2238. tags:
  2239. - Cards
  2240. parameters:
  2241. - name: board
  2242. in: path
  2243. description: |
  2244. the board ID
  2245. type: string
  2246. required: true
  2247. - name: list
  2248. in: path
  2249. description: |
  2250. the List ID
  2251. type: string
  2252. required: true
  2253. produces:
  2254. - application/json
  2255. security:
  2256. - UserSecurity: []
  2257. responses:
  2258. '200':
  2259. description: |-
  2260. 200 response
  2261. schema:
  2262. type: object
  2263. properties:
  2264. list_cards_count:
  2265. type: integer
  2266. /api/boards/{board}/members/{member}:
  2267. post:
  2268. operationId: set_board_member_permission
  2269. summary: Change the permission of a member of a board
  2270. tags:
  2271. - Boards
  2272. - Users
  2273. consumes:
  2274. - multipart/form-data
  2275. - application/json
  2276. parameters:
  2277. - name: isAdmin
  2278. in: formData
  2279. description: |
  2280. admin capability
  2281. type: boolean
  2282. required: true
  2283. - name: isNoComments
  2284. in: formData
  2285. description: |
  2286. NoComments capability
  2287. type: boolean
  2288. required: true
  2289. - name: isCommentOnly
  2290. in: formData
  2291. description: |
  2292. CommentsOnly capability
  2293. type: boolean
  2294. required: true
  2295. - name: isWorker
  2296. in: formData
  2297. description: |
  2298. Worker capability
  2299. type: boolean
  2300. required: true
  2301. - name: board
  2302. in: path
  2303. description: |
  2304. the ID of the board that we are changing
  2305. type: string
  2306. required: true
  2307. - name: member
  2308. in: path
  2309. description: |
  2310. the ID of the user to change permissions
  2311. type: string
  2312. required: true
  2313. produces:
  2314. - application/json
  2315. security:
  2316. - UserSecurity: []
  2317. responses:
  2318. '200':
  2319. description: |-
  2320. 200 response
  2321. /api/boards/{board}/swimlanes:
  2322. get:
  2323. operationId: get_all_swimlanes
  2324. summary: Get the list of swimlanes attached to a board
  2325. tags:
  2326. - Swimlanes
  2327. parameters:
  2328. - name: board
  2329. in: path
  2330. description: |
  2331. the ID of the board
  2332. type: string
  2333. required: true
  2334. produces:
  2335. - application/json
  2336. security:
  2337. - UserSecurity: []
  2338. responses:
  2339. '200':
  2340. description: |-
  2341. 200 response
  2342. schema:
  2343. type: array
  2344. items:
  2345. type: object
  2346. properties:
  2347. _id:
  2348. type: string
  2349. title:
  2350. type: string
  2351. post:
  2352. operationId: new_swimlane
  2353. summary: Add a swimlane to a board
  2354. tags:
  2355. - Swimlanes
  2356. consumes:
  2357. - multipart/form-data
  2358. - application/json
  2359. parameters:
  2360. - name: title
  2361. in: formData
  2362. description: |
  2363. the new title of the swimlane
  2364. type: string
  2365. required: true
  2366. - name: board
  2367. in: path
  2368. description: |
  2369. the ID of the board
  2370. type: string
  2371. required: true
  2372. produces:
  2373. - application/json
  2374. security:
  2375. - UserSecurity: []
  2376. responses:
  2377. '200':
  2378. description: |-
  2379. 200 response
  2380. schema:
  2381. type: object
  2382. properties:
  2383. _id:
  2384. type: string
  2385. /api/boards/{board}/swimlanes/{swimlane}:
  2386. get:
  2387. operationId: get_swimlane
  2388. summary: Get a swimlane
  2389. tags:
  2390. - Swimlanes
  2391. parameters:
  2392. - name: board
  2393. in: path
  2394. description: |
  2395. the ID of the board
  2396. type: string
  2397. required: true
  2398. - name: swimlane
  2399. in: path
  2400. description: |
  2401. the ID of the swimlane
  2402. type: string
  2403. required: true
  2404. produces:
  2405. - application/json
  2406. security:
  2407. - UserSecurity: []
  2408. responses:
  2409. '200':
  2410. description: |-
  2411. 200 response
  2412. schema:
  2413. $ref: "#/definitions/Swimlanes"
  2414. put:
  2415. operationId: edit_swimlane
  2416. summary: Edit the title of a swimlane
  2417. tags:
  2418. - Swimlanes
  2419. consumes:
  2420. - multipart/form-data
  2421. - application/json
  2422. parameters:
  2423. - name: title
  2424. in: formData
  2425. description: |
  2426. the new title of the swimlane
  2427. type: string
  2428. required: true
  2429. - name: board
  2430. in: path
  2431. description: |
  2432. the ID of the board
  2433. type: string
  2434. required: true
  2435. - name: swimlane
  2436. in: path
  2437. description: |
  2438. the ID of the swimlane to edit
  2439. type: string
  2440. required: true
  2441. produces:
  2442. - application/json
  2443. security:
  2444. - UserSecurity: []
  2445. responses:
  2446. '200':
  2447. description: |-
  2448. 200 response
  2449. schema:
  2450. type: object
  2451. properties:
  2452. _id:
  2453. type: string
  2454. delete:
  2455. operationId: delete_swimlane
  2456. summary: Delete a swimlane
  2457. description: |
  2458. The swimlane will be deleted, not moved to the recycle bin
  2459. tags:
  2460. - Swimlanes
  2461. parameters:
  2462. - name: board
  2463. in: path
  2464. description: |
  2465. the ID of the board
  2466. type: string
  2467. required: true
  2468. - name: swimlane
  2469. in: path
  2470. description: |
  2471. the ID of the swimlane
  2472. type: string
  2473. required: true
  2474. produces:
  2475. - application/json
  2476. security:
  2477. - UserSecurity: []
  2478. responses:
  2479. '200':
  2480. description: |-
  2481. 200 response
  2482. schema:
  2483. type: object
  2484. properties:
  2485. _id:
  2486. type: string
  2487. /api/boards/{board}/swimlanes/{swimlane}/cards:
  2488. get:
  2489. operationId: get_swimlane_cards
  2490. summary: get all cards attached to a swimlane
  2491. tags:
  2492. - Cards
  2493. parameters:
  2494. - name: board
  2495. in: path
  2496. description: |
  2497. the board ID
  2498. type: string
  2499. required: true
  2500. - name: swimlane
  2501. in: path
  2502. description: |
  2503. the swimlane ID
  2504. type: string
  2505. required: true
  2506. produces:
  2507. - application/json
  2508. security:
  2509. - UserSecurity: []
  2510. responses:
  2511. '200':
  2512. description: |-
  2513. 200 response
  2514. schema:
  2515. type: array
  2516. items:
  2517. type: object
  2518. properties:
  2519. _id:
  2520. type: string
  2521. title:
  2522. type: string
  2523. description:
  2524. type: string
  2525. listId:
  2526. type: string
  2527. /api/boards/{board}/title:
  2528. put:
  2529. operationId: update_board_title
  2530. summary: Update the title of a board
  2531. tags:
  2532. - Boards
  2533. consumes:
  2534. - multipart/form-data
  2535. - application/json
  2536. parameters:
  2537. - name: title
  2538. in: formData
  2539. description: |
  2540. the new title for the board
  2541. type: string
  2542. required: true
  2543. - name: board
  2544. in: path
  2545. description: |
  2546. the ID of the board to update
  2547. type: string
  2548. required: true
  2549. produces:
  2550. - application/json
  2551. security:
  2552. - UserSecurity: []
  2553. responses:
  2554. '200':
  2555. description: |-
  2556. 200 response
  2557. /api/boards_count:
  2558. get:
  2559. operationId: get_boards_count
  2560. summary: Get public and private boards count
  2561. tags:
  2562. - Boards
  2563. produces:
  2564. - application/json
  2565. security:
  2566. - UserSecurity: []
  2567. responses:
  2568. '200':
  2569. description: |-
  2570. 200 response
  2571. schema:
  2572. type: object
  2573. properties:
  2574. private:
  2575. type: integer
  2576. public:
  2577. type: integer
  2578. /api/users/{user}/boards:
  2579. get:
  2580. operationId: get_boards_from_user
  2581. summary: Get all boards attached to a user
  2582. tags:
  2583. - Boards
  2584. parameters:
  2585. - name: user
  2586. in: path
  2587. description: |
  2588. the ID of the user to retrieve the data
  2589. type: string
  2590. required: true
  2591. produces:
  2592. - application/json
  2593. security:
  2594. - UserSecurity: []
  2595. responses:
  2596. '200':
  2597. description: |-
  2598. 200 response
  2599. schema:
  2600. type: array
  2601. items:
  2602. type: object
  2603. properties:
  2604. _id:
  2605. type: string
  2606. title:
  2607. type: string
  2608. definitions:
  2609. Boards:
  2610. type: object
  2611. description: This is a Board.
  2612. properties:
  2613. title:
  2614. description: |
  2615. The title of the board
  2616. type: string
  2617. slug:
  2618. description: |
  2619. The title slugified.
  2620. type: string
  2621. archived:
  2622. description: |
  2623. Is the board archived?
  2624. type: boolean
  2625. archivedAt:
  2626. description: |
  2627. Latest archiving time of the board
  2628. type: string
  2629. x-nullable: true
  2630. createdAt:
  2631. description: |
  2632. Creation time of the board
  2633. type: string
  2634. modifiedAt:
  2635. description: |
  2636. Last modification time of the board
  2637. type: string
  2638. x-nullable: true
  2639. stars:
  2640. description: |
  2641. How many stars the board has
  2642. type: number
  2643. labels:
  2644. description: |
  2645. List of labels attached to a board
  2646. type: array
  2647. items:
  2648. $ref: "#/definitions/BoardsLabels"
  2649. x-nullable: true
  2650. members:
  2651. description: |
  2652. List of members of a board
  2653. type: array
  2654. items:
  2655. $ref: "#/definitions/BoardsMembers"
  2656. permission:
  2657. description: |
  2658. visibility of the board
  2659. type: string
  2660. enum:
  2661. - public
  2662. - private
  2663. orgs:
  2664. description: |
  2665. the list of organizations that a board belongs to
  2666. type: array
  2667. items:
  2668. $ref: "#/definitions/BoardsOrgs"
  2669. x-nullable: true
  2670. teams:
  2671. description: |
  2672. the list of teams that a board belongs to
  2673. type: array
  2674. items:
  2675. $ref: "#/definitions/BoardsTeams"
  2676. x-nullable: true
  2677. color:
  2678. description: |
  2679. The color of the board.
  2680. type: string
  2681. enum:
  2682. - belize
  2683. - nephritis
  2684. - pomegranate
  2685. - pumpkin
  2686. - wisteria
  2687. - moderatepink
  2688. - strongcyan
  2689. - limegreen
  2690. - midnight
  2691. - dark
  2692. - relax
  2693. - corteza
  2694. - clearblue
  2695. - natural
  2696. - modern
  2697. - moderndark
  2698. - exodark
  2699. backgroundImageURL:
  2700. description: |
  2701. The background image URL of the board.
  2702. type: string
  2703. x-nullable: true
  2704. allowsCardCounterList:
  2705. description: |
  2706. Show card counter per list
  2707. type: boolean
  2708. allowsBoardMemberList:
  2709. description: |
  2710. Show board member list
  2711. type: boolean
  2712. description:
  2713. description: |
  2714. The description of the board
  2715. type: string
  2716. x-nullable: true
  2717. subtasksDefaultBoardId:
  2718. description: |
  2719. The default board ID assigned to subtasks.
  2720. type: string
  2721. x-nullable: true
  2722. subtasksDefaultListId:
  2723. description: |
  2724. The default List ID assigned to subtasks.
  2725. type: string
  2726. x-nullable: true
  2727. dateSettingsDefaultBoardId:
  2728. type: string
  2729. x-nullable: true
  2730. dateSettingsDefaultListId:
  2731. type: string
  2732. x-nullable: true
  2733. allowsSubtasks:
  2734. description: |
  2735. Does the board allows subtasks?
  2736. type: boolean
  2737. allowsAttachments:
  2738. description: |
  2739. Does the board allows attachments?
  2740. type: boolean
  2741. allowsChecklists:
  2742. description: |
  2743. Does the board allows checklists?
  2744. type: boolean
  2745. allowsComments:
  2746. description: |
  2747. Does the board allows comments?
  2748. type: boolean
  2749. allowsDescriptionTitle:
  2750. description: |
  2751. Does the board allows description title?
  2752. type: boolean
  2753. allowsDescriptionText:
  2754. description: |
  2755. Does the board allows description text?
  2756. type: boolean
  2757. allowsDescriptionTextOnMinicard:
  2758. description: |
  2759. Does the board allows description text on minicard?
  2760. type: boolean
  2761. allowsCoverAttachmentOnMinicard:
  2762. description: |
  2763. Does the board allows cover attachment on minicard?
  2764. type: boolean
  2765. allowsBadgeAttachmentOnMinicard:
  2766. description: |
  2767. Does the board allows badge attachment on minicard?
  2768. type: boolean
  2769. allowsCardSortingByNumberOnMinicard:
  2770. description: |
  2771. Does the board allows card sorting by number on minicard?
  2772. type: boolean
  2773. allowsCardNumber:
  2774. description: |
  2775. Does the board allows card numbers?
  2776. type: boolean
  2777. allowsActivities:
  2778. description: |
  2779. Does the board allows comments?
  2780. type: boolean
  2781. allowsLabels:
  2782. description: |
  2783. Does the board allows labels?
  2784. type: boolean
  2785. allowsCreator:
  2786. description: |
  2787. Does the board allow creator?
  2788. type: boolean
  2789. allowsCreatorOnMinicard:
  2790. description: |
  2791. Does the board allow creator?
  2792. type: boolean
  2793. allowsAssignee:
  2794. description: |
  2795. Does the board allows assignee?
  2796. type: boolean
  2797. allowsMembers:
  2798. description: |
  2799. Does the board allows members?
  2800. type: boolean
  2801. allowsRequestedBy:
  2802. description: |
  2803. Does the board allows requested by?
  2804. type: boolean
  2805. allowsCardSortingByNumber:
  2806. description: |
  2807. Does the board allows card sorting by number?
  2808. type: boolean
  2809. allowsShowLists:
  2810. description: |
  2811. Does the board allows show lists on the card?
  2812. type: boolean
  2813. allowsAssignedBy:
  2814. description: |
  2815. Does the board allows requested by?
  2816. type: boolean
  2817. allowsReceivedDate:
  2818. description: |
  2819. Does the board allows received date?
  2820. type: boolean
  2821. allowsStartDate:
  2822. description: |
  2823. Does the board allows start date?
  2824. type: boolean
  2825. allowsEndDate:
  2826. description: |
  2827. Does the board allows end date?
  2828. type: boolean
  2829. allowsDueDate:
  2830. description: |
  2831. Does the board allows due date?
  2832. type: boolean
  2833. presentParentTask:
  2834. description: |
  2835. Controls how to present the parent task:
  2836. - `prefix-with-full-path`: add a prefix with the full path
  2837. - `prefix-with-parent`: add a prefisx with the parent name
  2838. - `subtext-with-full-path`: add a subtext with the full path
  2839. - `subtext-with-parent`: add a subtext with the parent name
  2840. - `no-parent`: does not show the parent at all
  2841. type: string
  2842. enum:
  2843. - prefix-with-full-path
  2844. - prefix-with-parent
  2845. - subtext-with-full-path
  2846. - subtext-with-parent
  2847. - no-parent
  2848. x-nullable: true
  2849. receivedAt:
  2850. description: |
  2851. Date the card was received
  2852. type: string
  2853. x-nullable: true
  2854. startAt:
  2855. description: |
  2856. Starting date of the board.
  2857. type: string
  2858. x-nullable: true
  2859. dueAt:
  2860. description: |
  2861. Due date of the board.
  2862. type: string
  2863. x-nullable: true
  2864. endAt:
  2865. description: |
  2866. End date of the board.
  2867. type: string
  2868. x-nullable: true
  2869. spentTime:
  2870. description: |
  2871. Time spent in the board.
  2872. type: number
  2873. x-nullable: true
  2874. isOvertime:
  2875. description: |
  2876. Is the board overtimed?
  2877. type: boolean
  2878. x-nullable: true
  2879. type:
  2880. description: |
  2881. The type of board
  2882. possible values: board, template-board, template-container
  2883. type: string
  2884. enum:
  2885. - board
  2886. - template-board
  2887. - template-container
  2888. sort:
  2889. description: |
  2890. Sort value
  2891. type: number
  2892. required:
  2893. - title
  2894. - slug
  2895. - archived
  2896. - createdAt
  2897. - stars
  2898. - members
  2899. - permission
  2900. - color
  2901. - allowsCardCounterList
  2902. - allowsBoardMemberList
  2903. - allowsSubtasks
  2904. - allowsAttachments
  2905. - allowsChecklists
  2906. - allowsComments
  2907. - allowsDescriptionTitle
  2908. - allowsDescriptionText
  2909. - allowsDescriptionTextOnMinicard
  2910. - allowsCoverAttachmentOnMinicard
  2911. - allowsBadgeAttachmentOnMinicard
  2912. - allowsCardSortingByNumberOnMinicard
  2913. - allowsCardNumber
  2914. - allowsActivities
  2915. - allowsLabels
  2916. - allowsCreator
  2917. - allowsCreatorOnMinicard
  2918. - allowsAssignee
  2919. - allowsMembers
  2920. - allowsRequestedBy
  2921. - allowsCardSortingByNumber
  2922. - allowsShowLists
  2923. - allowsAssignedBy
  2924. - allowsReceivedDate
  2925. - allowsStartDate
  2926. - allowsEndDate
  2927. - allowsDueDate
  2928. - type
  2929. - sort
  2930. BoardsLabels:
  2931. type: object
  2932. properties:
  2933. _id:
  2934. description: |
  2935. Unique id of a label
  2936. type: string
  2937. name:
  2938. description: |
  2939. Name of a label
  2940. type: string
  2941. color:
  2942. description: |
  2943. color of a label.
  2944. Can be amongst `green`, `yellow`, `orange`, `red`, `purple`,
  2945. `blue`, `sky`, `lime`, `pink`, `black`,
  2946. `silver`, `peachpuff`, `crimson`, `plum`, `darkgreen`,
  2947. `slateblue`, `magenta`, `gold`, `navy`, `gray`,
  2948. `saddlebrown`, `paleturquoise`, `mistyrose`, `indigo`
  2949. type: string
  2950. enum:
  2951. - white
  2952. - green
  2953. - yellow
  2954. - orange
  2955. - red
  2956. - purple
  2957. - blue
  2958. - sky
  2959. - lime
  2960. - pink
  2961. - black
  2962. - silver
  2963. - peachpuff
  2964. - crimson
  2965. - plum
  2966. - darkgreen
  2967. - slateblue
  2968. - magenta
  2969. - gold
  2970. - navy
  2971. - gray
  2972. - saddlebrown
  2973. - paleturquoise
  2974. - mistyrose
  2975. - indigo
  2976. required:
  2977. - _id
  2978. - color
  2979. BoardsMembers:
  2980. type: object
  2981. properties:
  2982. userId:
  2983. description: |
  2984. The uniq ID of the member
  2985. type: string
  2986. isAdmin:
  2987. description: |
  2988. Is the member an admin of the board?
  2989. type: boolean
  2990. isActive:
  2991. description: |
  2992. Is the member active?
  2993. type: boolean
  2994. isNoComments:
  2995. description: |
  2996. Is the member not allowed to make comments
  2997. type: boolean
  2998. isCommentOnly:
  2999. description: |
  3000. Is the member only allowed to comment on the board
  3001. type: boolean
  3002. isWorker:
  3003. description: |
  3004. Is the member only allowed to move card, assign himself to card and comment
  3005. type: boolean
  3006. required:
  3007. - userId
  3008. - isAdmin
  3009. - isActive
  3010. BoardsOrgs:
  3011. type: object
  3012. properties:
  3013. orgId:
  3014. description: |
  3015. The uniq ID of the organization
  3016. type: string
  3017. orgDisplayName:
  3018. description: |
  3019. The display name of the organization
  3020. type: string
  3021. isActive:
  3022. description: |
  3023. Is the organization active?
  3024. type: boolean
  3025. required:
  3026. - orgId
  3027. - orgDisplayName
  3028. - isActive
  3029. BoardsTeams:
  3030. type: object
  3031. properties:
  3032. teamId:
  3033. description: |
  3034. The uniq ID of the team
  3035. type: string
  3036. teamDisplayName:
  3037. description: |
  3038. The display name of the team
  3039. type: string
  3040. isActive:
  3041. description: |
  3042. Is the team active?
  3043. type: boolean
  3044. required:
  3045. - teamId
  3046. - teamDisplayName
  3047. - isActive
  3048. CardComments:
  3049. type: object
  3050. description: A comment on a card
  3051. properties:
  3052. boardId:
  3053. description: |
  3054. the board ID
  3055. type: string
  3056. cardId:
  3057. description: |
  3058. the card ID
  3059. type: string
  3060. text:
  3061. description: |
  3062. the text of the comment
  3063. type: string
  3064. createdAt:
  3065. description: |
  3066. when was the comment created
  3067. type: string
  3068. modifiedAt:
  3069. type: string
  3070. userId:
  3071. description: |
  3072. the author ID of the comment
  3073. type: string
  3074. required:
  3075. - boardId
  3076. - cardId
  3077. - text
  3078. - createdAt
  3079. - modifiedAt
  3080. - userId
  3081. Cards:
  3082. type: object
  3083. properties:
  3084. title:
  3085. description: |
  3086. the title of the card
  3087. type: string
  3088. x-nullable: true
  3089. archived:
  3090. description: |
  3091. is the card archived
  3092. type: boolean
  3093. archivedAt:
  3094. description: |
  3095. latest archiving date
  3096. type: string
  3097. x-nullable: true
  3098. parentId:
  3099. description: |
  3100. ID of the parent card
  3101. type: string
  3102. x-nullable: true
  3103. listId:
  3104. description: |
  3105. List ID where the card is
  3106. type: string
  3107. x-nullable: true
  3108. swimlaneId:
  3109. description: |
  3110. Swimlane ID where the card is
  3111. type: string
  3112. boardId:
  3113. description: |
  3114. Board ID of the card
  3115. type: string
  3116. x-nullable: true
  3117. coverId:
  3118. description: |
  3119. Cover ID of the card
  3120. type: string
  3121. x-nullable: true
  3122. color:
  3123. type: string
  3124. enum:
  3125. - white
  3126. - green
  3127. - yellow
  3128. - orange
  3129. - red
  3130. - purple
  3131. - blue
  3132. - sky
  3133. - lime
  3134. - pink
  3135. - black
  3136. - silver
  3137. - peachpuff
  3138. - crimson
  3139. - plum
  3140. - darkgreen
  3141. - slateblue
  3142. - magenta
  3143. - gold
  3144. - navy
  3145. - gray
  3146. - saddlebrown
  3147. - paleturquoise
  3148. - mistyrose
  3149. - indigo
  3150. x-nullable: true
  3151. createdAt:
  3152. description: |
  3153. creation date
  3154. type: string
  3155. modifiedAt:
  3156. type: string
  3157. customFields:
  3158. description: |
  3159. list of custom fields
  3160. type: array
  3161. items:
  3162. $ref: "#/definitions/CardsCustomfields"
  3163. x-nullable: true
  3164. dateLastActivity:
  3165. description: |
  3166. Date of last activity
  3167. type: string
  3168. description:
  3169. description: |
  3170. description of the card
  3171. type: string
  3172. x-nullable: true
  3173. requestedBy:
  3174. description: |
  3175. who requested the card (ID of the user)
  3176. type: string
  3177. x-nullable: true
  3178. assignedBy:
  3179. description: |
  3180. who assigned the card (ID of the user)
  3181. type: string
  3182. x-nullable: true
  3183. labelIds:
  3184. description: |
  3185. list of labels ID the card has
  3186. type: array
  3187. items:
  3188. type: string
  3189. x-nullable: true
  3190. x-nullable: true
  3191. members:
  3192. description: |
  3193. list of members (user IDs)
  3194. type: array
  3195. items:
  3196. type: string
  3197. x-nullable: true
  3198. x-nullable: true
  3199. assignees:
  3200. description: |
  3201. who is assignee of the card (user ID),
  3202. maximum one ID of assignee in array.
  3203. type: array
  3204. items:
  3205. type: string
  3206. x-nullable: true
  3207. x-nullable: true
  3208. receivedAt:
  3209. description: |
  3210. Date the card was received
  3211. type: string
  3212. x-nullable: true
  3213. startAt:
  3214. description: |
  3215. Date the card was started to be worked on
  3216. type: string
  3217. x-nullable: true
  3218. dueAt:
  3219. description: |
  3220. Date the card is due
  3221. type: string
  3222. x-nullable: true
  3223. endAt:
  3224. description: |
  3225. Date the card ended
  3226. type: string
  3227. x-nullable: true
  3228. spentTime:
  3229. description: |
  3230. How much time has been spent on this
  3231. type: number
  3232. x-nullable: true
  3233. isOvertime:
  3234. description: |
  3235. is the card over time?
  3236. type: boolean
  3237. x-nullable: true
  3238. userId:
  3239. description: |
  3240. user ID of the author of the card
  3241. type: string
  3242. sort:
  3243. description: |
  3244. Sort value
  3245. type: number
  3246. x-nullable: true
  3247. subtaskSort:
  3248. description: |
  3249. subtask sort value
  3250. type: number
  3251. x-nullable: true
  3252. type:
  3253. description: |
  3254. type of the card
  3255. type: string
  3256. linkedId:
  3257. description: |
  3258. ID of the linked card
  3259. type: string
  3260. x-nullable: true
  3261. vote:
  3262. description: |
  3263. vote object, see below
  3264. $ref: "#/definitions/CardsVote"
  3265. x-nullable: true
  3266. poker:
  3267. description: |
  3268. poker object, see below
  3269. $ref: "#/definitions/CardsPoker"
  3270. x-nullable: true
  3271. targetId_gantt:
  3272. description: |
  3273. ID of card which is the child link in gantt view
  3274. type: array
  3275. items:
  3276. type: string
  3277. x-nullable: true
  3278. x-nullable: true
  3279. linkType_gantt:
  3280. description: |
  3281. ID of card which is the parent link in gantt view
  3282. type: array
  3283. items:
  3284. type: number
  3285. x-nullable: true
  3286. x-nullable: true
  3287. linkId_gantt:
  3288. description: |
  3289. ID of card which is the parent link in gantt view
  3290. type: array
  3291. items:
  3292. type: string
  3293. x-nullable: true
  3294. x-nullable: true
  3295. cardNumber:
  3296. description: |
  3297. A boardwise sequentially increasing number that is assigned
  3298. to every newly created card
  3299. type: number
  3300. x-nullable: true
  3301. required:
  3302. - archived
  3303. - swimlaneId
  3304. - createdAt
  3305. - modifiedAt
  3306. - dateLastActivity
  3307. - userId
  3308. - type
  3309. CardsVote:
  3310. type: object
  3311. properties:
  3312. question:
  3313. type: string
  3314. positive:
  3315. description: |
  3316. list of members (user IDs)
  3317. type: array
  3318. items:
  3319. type: string
  3320. x-nullable: true
  3321. negative:
  3322. description: |
  3323. list of members (user IDs)
  3324. type: array
  3325. items:
  3326. type: string
  3327. x-nullable: true
  3328. end:
  3329. type: string
  3330. public:
  3331. type: boolean
  3332. allowNonBoardMembers:
  3333. type: boolean
  3334. required:
  3335. - question
  3336. - public
  3337. - allowNonBoardMembers
  3338. CardsPoker:
  3339. type: object
  3340. properties:
  3341. question:
  3342. type: boolean
  3343. one:
  3344. description: |
  3345. poker card one
  3346. type: array
  3347. items:
  3348. type: string
  3349. x-nullable: true
  3350. two:
  3351. description: |
  3352. poker card two
  3353. type: array
  3354. items:
  3355. type: string
  3356. x-nullable: true
  3357. three:
  3358. description: |
  3359. poker card three
  3360. type: array
  3361. items:
  3362. type: string
  3363. x-nullable: true
  3364. five:
  3365. description: |
  3366. poker card five
  3367. type: array
  3368. items:
  3369. type: string
  3370. x-nullable: true
  3371. eight:
  3372. description: |
  3373. poker card eight
  3374. type: array
  3375. items:
  3376. type: string
  3377. x-nullable: true
  3378. thirteen:
  3379. description: |
  3380. poker card thirteen
  3381. type: array
  3382. items:
  3383. type: string
  3384. x-nullable: true
  3385. twenty:
  3386. description: |
  3387. poker card twenty
  3388. type: array
  3389. items:
  3390. type: string
  3391. x-nullable: true
  3392. forty:
  3393. description: |
  3394. poker card forty
  3395. type: array
  3396. items:
  3397. type: string
  3398. x-nullable: true
  3399. oneHundred:
  3400. description: |
  3401. poker card oneHundred
  3402. type: array
  3403. items:
  3404. type: string
  3405. x-nullable: true
  3406. unsure:
  3407. description: |
  3408. poker card unsure
  3409. type: array
  3410. items:
  3411. type: string
  3412. x-nullable: true
  3413. end:
  3414. type: string
  3415. allowNonBoardMembers:
  3416. type: boolean
  3417. estimation:
  3418. description: |
  3419. poker estimation value
  3420. type: number
  3421. required:
  3422. - question
  3423. - allowNonBoardMembers
  3424. CardsCustomfields:
  3425. type: object
  3426. ChecklistItems:
  3427. type: object
  3428. description: An item in a checklist
  3429. properties:
  3430. title:
  3431. description: |
  3432. the text of the item
  3433. type: string
  3434. sort:
  3435. description: |
  3436. the sorting field of the item
  3437. type: number
  3438. isFinished:
  3439. description: |
  3440. Is the item checked?
  3441. type: boolean
  3442. checklistId:
  3443. description: |
  3444. the checklist ID the item is attached to
  3445. type: string
  3446. cardId:
  3447. description: |
  3448. the card ID the item is attached to
  3449. type: string
  3450. createdAt:
  3451. type: string
  3452. x-nullable: true
  3453. modifiedAt:
  3454. type: string
  3455. required:
  3456. - title
  3457. - sort
  3458. - isFinished
  3459. - checklistId
  3460. - cardId
  3461. - modifiedAt
  3462. Checklists:
  3463. type: object
  3464. description: A Checklist
  3465. properties:
  3466. cardId:
  3467. description: |
  3468. The ID of the card the checklist is in
  3469. type: string
  3470. title:
  3471. description: |
  3472. the title of the checklist
  3473. type: string
  3474. finishedAt:
  3475. description: |
  3476. When was the checklist finished
  3477. type: string
  3478. x-nullable: true
  3479. showAtMinicard:
  3480. description: |
  3481. Show at minicard. Default: false.
  3482. type: boolean
  3483. x-nullable: true
  3484. createdAt:
  3485. description: |
  3486. Creation date of the checklist
  3487. type: string
  3488. modifiedAt:
  3489. type: string
  3490. sort:
  3491. description: |
  3492. sorting value of the checklist
  3493. type: number
  3494. required:
  3495. - cardId
  3496. - title
  3497. - createdAt
  3498. - modifiedAt
  3499. - sort
  3500. CustomFields:
  3501. type: object
  3502. description: A custom field on a card in the board
  3503. properties:
  3504. boardIds:
  3505. description: |
  3506. the ID of the board
  3507. type: array
  3508. items:
  3509. type: string
  3510. name:
  3511. description: |
  3512. name of the custom field
  3513. type: string
  3514. type:
  3515. description: |
  3516. type of the custom field
  3517. type: string
  3518. enum:
  3519. - text
  3520. - number
  3521. - date
  3522. - dropdown
  3523. - checkbox
  3524. - currency
  3525. - stringtemplate
  3526. settings:
  3527. description: |
  3528. settings of the custom field
  3529. $ref: "#/definitions/CustomFieldsSettings"
  3530. showOnCard:
  3531. description: |
  3532. should we show on the cards this custom field
  3533. type: boolean
  3534. automaticallyOnCard:
  3535. description: |
  3536. should the custom fields automatically be added on cards?
  3537. type: boolean
  3538. alwaysOnCard:
  3539. description: |
  3540. should the custom field be automatically added to all cards?
  3541. type: boolean
  3542. showLabelOnMiniCard:
  3543. description: |
  3544. should the label of the custom field be shown on minicards?
  3545. type: boolean
  3546. showSumAtTopOfList:
  3547. description: |
  3548. should the sum of the custom fields be shown at top of list?
  3549. type: boolean
  3550. createdAt:
  3551. type: string
  3552. x-nullable: true
  3553. modifiedAt:
  3554. type: string
  3555. required:
  3556. - boardIds
  3557. - name
  3558. - type
  3559. - settings
  3560. - showOnCard
  3561. - automaticallyOnCard
  3562. - alwaysOnCard
  3563. - showLabelOnMiniCard
  3564. - showSumAtTopOfList
  3565. - modifiedAt
  3566. CustomFieldsSettings:
  3567. type: object
  3568. properties:
  3569. currencyCode:
  3570. type: string
  3571. dropdownItems:
  3572. description: |
  3573. list of drop down items objects
  3574. type: array
  3575. items:
  3576. $ref: "#/definitions/CustomFieldsSettingsDropdownitems"
  3577. stringtemplateFormat:
  3578. type: string
  3579. stringtemplateSeparator:
  3580. type: string
  3581. CustomFieldsSettingsDropdownitems:
  3582. type: object
  3583. Integrations:
  3584. type: object
  3585. description: Integration with third-party applications
  3586. properties:
  3587. enabled:
  3588. description: |
  3589. is the integration enabled?
  3590. type: boolean
  3591. title:
  3592. description: |
  3593. name of the integration
  3594. type: string
  3595. x-nullable: true
  3596. type:
  3597. description: |
  3598. type of the integratation (Default to 'outgoing-webhooks')
  3599. type: string
  3600. activities:
  3601. description: |
  3602. activities the integration gets triggered (list)
  3603. type: array
  3604. items:
  3605. type: string
  3606. url:
  3607. type: string
  3608. token:
  3609. description: |
  3610. token of the integration
  3611. type: string
  3612. x-nullable: true
  3613. boardId:
  3614. description: |
  3615. Board ID of the integration
  3616. type: string
  3617. createdAt:
  3618. description: |
  3619. Creation date of the integration
  3620. type: string
  3621. modifiedAt:
  3622. type: string
  3623. userId:
  3624. description: |
  3625. user ID who created the interation
  3626. type: string
  3627. required:
  3628. - enabled
  3629. - type
  3630. - activities
  3631. - url
  3632. - boardId
  3633. - createdAt
  3634. - modifiedAt
  3635. - userId
  3636. Lists:
  3637. type: object
  3638. description: A list (column) in the Wekan board.
  3639. properties:
  3640. title:
  3641. description: |
  3642. the title of the list
  3643. type: string
  3644. starred:
  3645. description: |
  3646. if a list is stared
  3647. then we put it on the top
  3648. type: boolean
  3649. x-nullable: true
  3650. archived:
  3651. description: |
  3652. is the list archived
  3653. type: boolean
  3654. archivedAt:
  3655. description: |
  3656. latest archiving date
  3657. type: string
  3658. x-nullable: true
  3659. boardId:
  3660. description: |
  3661. the board associated to this list
  3662. type: string
  3663. swimlaneId:
  3664. description: |
  3665. the swimlane associated to this list. Used for templates
  3666. type: string
  3667. createdAt:
  3668. description: |
  3669. creation date
  3670. type: string
  3671. sort:
  3672. description: |
  3673. is the list sorted
  3674. type: number
  3675. x-nullable: true
  3676. updatedAt:
  3677. description: |
  3678. last update of the list
  3679. type: string
  3680. x-nullable: true
  3681. modifiedAt:
  3682. type: string
  3683. wipLimit:
  3684. description: |
  3685. WIP object, see below
  3686. $ref: "#/definitions/ListsWiplimit"
  3687. x-nullable: true
  3688. color:
  3689. description: |
  3690. the color of the list
  3691. type: string
  3692. enum:
  3693. - white
  3694. - green
  3695. - yellow
  3696. - orange
  3697. - red
  3698. - purple
  3699. - blue
  3700. - sky
  3701. - lime
  3702. - pink
  3703. - black
  3704. - silver
  3705. - peachpuff
  3706. - crimson
  3707. - plum
  3708. - darkgreen
  3709. - slateblue
  3710. - magenta
  3711. - gold
  3712. - navy
  3713. - gray
  3714. - saddlebrown
  3715. - paleturquoise
  3716. - mistyrose
  3717. - indigo
  3718. x-nullable: true
  3719. type:
  3720. description: |
  3721. The type of list
  3722. type: string
  3723. collapsed:
  3724. description: |
  3725. is the list collapsed
  3726. type: boolean
  3727. required:
  3728. - title
  3729. - archived
  3730. - boardId
  3731. - swimlaneId
  3732. - createdAt
  3733. - modifiedAt
  3734. - type
  3735. - collapsed
  3736. ListsWiplimit:
  3737. type: object
  3738. properties:
  3739. value:
  3740. description: |
  3741. value of the WIP
  3742. type: number
  3743. enabled:
  3744. description: |
  3745. is the WIP enabled
  3746. type: boolean
  3747. soft:
  3748. description: |
  3749. is the WIP a soft or hard requirement
  3750. type: boolean
  3751. required:
  3752. - value
  3753. - enabled
  3754. - soft
  3755. Swimlanes:
  3756. type: object
  3757. description: A swimlane is an line in the kaban board.
  3758. properties:
  3759. title:
  3760. description: |
  3761. the title of the swimlane
  3762. type: string
  3763. archived:
  3764. description: |
  3765. is the swimlane archived?
  3766. type: boolean
  3767. archivedAt:
  3768. description: |
  3769. latest archiving date of the swimlane
  3770. type: string
  3771. x-nullable: true
  3772. boardId:
  3773. description: |
  3774. the ID of the board the swimlane is attached to
  3775. type: string
  3776. createdAt:
  3777. description: |
  3778. creation date of the swimlane
  3779. type: string
  3780. sort:
  3781. description: |
  3782. the sort value of the swimlane
  3783. type: number
  3784. x-nullable: true
  3785. color:
  3786. description: |
  3787. the color of the swimlane
  3788. type: string
  3789. enum:
  3790. - white
  3791. - green
  3792. - yellow
  3793. - orange
  3794. - red
  3795. - purple
  3796. - blue
  3797. - sky
  3798. - lime
  3799. - pink
  3800. - black
  3801. - silver
  3802. - peachpuff
  3803. - crimson
  3804. - plum
  3805. - darkgreen
  3806. - slateblue
  3807. - magenta
  3808. - gold
  3809. - navy
  3810. - gray
  3811. - saddlebrown
  3812. - paleturquoise
  3813. - mistyrose
  3814. - indigo
  3815. x-nullable: true
  3816. updatedAt:
  3817. description: |
  3818. when was the swimlane last edited
  3819. type: string
  3820. x-nullable: true
  3821. modifiedAt:
  3822. type: string
  3823. type:
  3824. description: |
  3825. The type of swimlane
  3826. type: string
  3827. collapsed:
  3828. description: |
  3829. is the swimlane collapsed
  3830. type: boolean
  3831. required:
  3832. - title
  3833. - archived
  3834. - boardId
  3835. - createdAt
  3836. - modifiedAt
  3837. - type
  3838. - collapsed