wekan.yml 93 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809
  1. swagger: '2.0'
  2. info:
  3. title: Wekan REST API
  4. version: v7.38
  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}/custom-fields:
  957. get:
  958. operationId: get_all_custom_fields
  959. summary: Get the list of Custom Fields attached to a board
  960. tags:
  961. - CustomFields
  962. parameters:
  963. - name: board
  964. in: path
  965. description: the board value
  966. type: string
  967. required: true
  968. produces:
  969. - application/json
  970. security:
  971. - UserSecurity: []
  972. responses:
  973. '200':
  974. description: |-
  975. 200 response
  976. schema:
  977. type: array
  978. items:
  979. type: object
  980. properties:
  981. _id:
  982. type: string
  983. name:
  984. type: string
  985. type:
  986. type: string
  987. post:
  988. operationId: new_custom_field
  989. summary: Create a Custom Field
  990. tags:
  991. - CustomFields
  992. consumes:
  993. - multipart/form-data
  994. - application/json
  995. parameters:
  996. - name: name
  997. in: formData
  998. description: |
  999. the name of the custom field
  1000. type: string
  1001. required: true
  1002. - name: type
  1003. in: formData
  1004. description: |
  1005. the type of the custom field
  1006. type: string
  1007. required: true
  1008. - name: settings
  1009. in: formData
  1010. description: |
  1011. the settings object of the custom field
  1012. type: string
  1013. required: true
  1014. - name: showOnCard
  1015. in: formData
  1016. description: |
  1017. should we show the custom field on cards?
  1018. type: boolean
  1019. required: true
  1020. - name: automaticallyOnCard
  1021. in: formData
  1022. description: |
  1023. should the custom fields automatically be added on cards?
  1024. type: boolean
  1025. required: true
  1026. - name: showLabelOnMiniCard
  1027. in: formData
  1028. description: |
  1029. should the label of the custom field be shown on minicards?
  1030. type: boolean
  1031. required: true
  1032. - name: showSumAtTopOfList
  1033. in: formData
  1034. description: |
  1035. should the sum of the custom fields be shown at top of list?
  1036. type: boolean
  1037. required: true
  1038. - name: authorId
  1039. in: formData
  1040. description: the authorId value
  1041. type: string
  1042. required: true
  1043. - name: board
  1044. in: path
  1045. description: the board value
  1046. type: string
  1047. required: true
  1048. produces:
  1049. - application/json
  1050. security:
  1051. - UserSecurity: []
  1052. responses:
  1053. '200':
  1054. description: |-
  1055. 200 response
  1056. schema:
  1057. type: object
  1058. properties:
  1059. _id:
  1060. type: string
  1061. /api/boards/{board}/custom-fields/{customField}:
  1062. get:
  1063. operationId: get_custom_field
  1064. summary: Get a Custom Fields attached to a board
  1065. tags:
  1066. - CustomFields
  1067. parameters:
  1068. - name: board
  1069. in: path
  1070. description: the board value
  1071. type: string
  1072. required: true
  1073. - name: customField
  1074. in: path
  1075. description: |
  1076. the ID of the custom field
  1077. type: string
  1078. required: true
  1079. produces:
  1080. - application/json
  1081. security:
  1082. - UserSecurity: []
  1083. responses:
  1084. '200':
  1085. description: |-
  1086. 200 response
  1087. schema:
  1088. type: array
  1089. items:
  1090. type: object
  1091. properties:
  1092. _id:
  1093. type: string
  1094. boardIds:
  1095. type: string
  1096. put:
  1097. operationId: edit_custom_field
  1098. summary: Update a Custom Field
  1099. tags:
  1100. - CustomFields
  1101. consumes:
  1102. - multipart/form-data
  1103. - application/json
  1104. parameters:
  1105. - name: name
  1106. in: formData
  1107. description: |
  1108. the name of the custom field
  1109. type: string
  1110. required: true
  1111. - name: type
  1112. in: formData
  1113. description: |
  1114. the type of the custom field
  1115. type: string
  1116. required: true
  1117. - name: settings
  1118. in: formData
  1119. description: |
  1120. the settings object of the custom field
  1121. type: string
  1122. required: true
  1123. - name: showOnCard
  1124. in: formData
  1125. description: |
  1126. should we show the custom field on cards
  1127. type: boolean
  1128. required: true
  1129. - name: automaticallyOnCard
  1130. in: formData
  1131. description: |
  1132. should the custom fields automatically be added on cards
  1133. type: boolean
  1134. required: true
  1135. - name: alwaysOnCard
  1136. in: formData
  1137. description: the alwaysOnCard value
  1138. type: string
  1139. required: true
  1140. - name: showLabelOnMiniCard
  1141. in: formData
  1142. description: |
  1143. should the label of the custom field be shown on minicards
  1144. type: boolean
  1145. required: true
  1146. - name: showSumAtTopOfList
  1147. in: formData
  1148. description: |
  1149. should the sum of the custom fields be shown at top of list
  1150. type: boolean
  1151. required: true
  1152. - name: board
  1153. in: path
  1154. description: the board value
  1155. type: string
  1156. required: true
  1157. - name: customField
  1158. in: path
  1159. description: the customField value
  1160. type: string
  1161. required: true
  1162. produces:
  1163. - application/json
  1164. security:
  1165. - UserSecurity: []
  1166. responses:
  1167. '200':
  1168. description: |-
  1169. 200 response
  1170. schema:
  1171. type: object
  1172. properties:
  1173. _id:
  1174. type: string
  1175. delete:
  1176. operationId: delete_custom_field
  1177. summary: Delete a Custom Fields attached to a board
  1178. description: |
  1179. The Custom Field can't be retrieved after this operation
  1180. tags:
  1181. - CustomFields
  1182. parameters:
  1183. - name: board
  1184. in: path
  1185. description: the board value
  1186. type: string
  1187. required: true
  1188. - name: customField
  1189. in: path
  1190. description: |
  1191. the ID of the custom field
  1192. type: string
  1193. required: true
  1194. produces:
  1195. - application/json
  1196. security:
  1197. - UserSecurity: []
  1198. responses:
  1199. '200':
  1200. description: |-
  1201. 200 response
  1202. schema:
  1203. type: object
  1204. properties:
  1205. _id:
  1206. type: string
  1207. /api/boards/{board}/custom-fields/{customField}/dropdown-items:
  1208. post:
  1209. operationId: add_custom_field_dropdown_items
  1210. summary: Update a Custom Field's dropdown items
  1211. tags:
  1212. - CustomFields
  1213. consumes:
  1214. - multipart/form-data
  1215. - application/json
  1216. parameters:
  1217. - name: items
  1218. in: formData
  1219. description: |
  1220. names of the custom field
  1221. type: string
  1222. required: false
  1223. - name: board
  1224. in: path
  1225. description: the board value
  1226. type: string
  1227. required: true
  1228. - name: customField
  1229. in: path
  1230. description: the customField value
  1231. type: string
  1232. required: true
  1233. produces:
  1234. - application/json
  1235. security:
  1236. - UserSecurity: []
  1237. responses:
  1238. '200':
  1239. description: |-
  1240. 200 response
  1241. schema:
  1242. type: object
  1243. properties:
  1244. _id:
  1245. type: string
  1246. /api/boards/{board}/custom-fields/{customField}/dropdown-items/{dropdownItem}:
  1247. put:
  1248. operationId: edit_custom_field_dropdown_item
  1249. summary: Update a Custom Field's dropdown item
  1250. tags:
  1251. - CustomFields
  1252. consumes:
  1253. - multipart/form-data
  1254. - application/json
  1255. parameters:
  1256. - name: name
  1257. in: formData
  1258. description: |
  1259. names of the custom field
  1260. type: string
  1261. required: true
  1262. - name: board
  1263. in: path
  1264. description: the board value
  1265. type: string
  1266. required: true
  1267. - name: customField
  1268. in: path
  1269. description: the customField value
  1270. type: string
  1271. required: true
  1272. - name: dropdownItem
  1273. in: path
  1274. description: the dropdownItem value
  1275. type: string
  1276. required: true
  1277. produces:
  1278. - application/json
  1279. security:
  1280. - UserSecurity: []
  1281. responses:
  1282. '200':
  1283. description: |-
  1284. 200 response
  1285. schema:
  1286. type: object
  1287. properties:
  1288. _id:
  1289. type: string
  1290. delete:
  1291. operationId: delete_custom_field_dropdown_item
  1292. summary: Update a Custom Field's dropdown items
  1293. tags:
  1294. - CustomFields
  1295. parameters:
  1296. - name: board
  1297. in: path
  1298. description: the board value
  1299. type: string
  1300. required: true
  1301. - name: customField
  1302. in: path
  1303. description: the customField value
  1304. type: string
  1305. required: true
  1306. - name: dropdownItem
  1307. in: path
  1308. description: the dropdownItem value
  1309. type: string
  1310. required: true
  1311. produces:
  1312. - application/json
  1313. security:
  1314. - UserSecurity: []
  1315. responses:
  1316. '200':
  1317. description: |-
  1318. 200 response
  1319. schema:
  1320. type: object
  1321. properties:
  1322. _id:
  1323. type: string
  1324. /api/boards/{board}/export:
  1325. get:
  1326. operationId: exportJson
  1327. summary: This route is used to export the board to a json file format.
  1328. description: |
  1329. If user is already logged-in, pass loginToken as param
  1330. "authToken": '/api/boards/:boardId/export?authToken=:token'
  1331. See https://blog.kayla.com.au/server-side-route-authentication-in-meteor/
  1332. for detailed explanations
  1333. tags:
  1334. - Boards
  1335. parameters:
  1336. - name: board
  1337. in: path
  1338. description: |
  1339. the ID of the board we are exporting
  1340. type: string
  1341. required: true
  1342. produces:
  1343. - application/json
  1344. security:
  1345. - UserSecurity: []
  1346. responses:
  1347. '200':
  1348. description: |-
  1349. 200 response
  1350. /api/boards/{board}/integrations:
  1351. get:
  1352. operationId: get_all_integrations
  1353. summary: Get all integrations in board
  1354. tags:
  1355. - Integrations
  1356. parameters:
  1357. - name: board
  1358. in: path
  1359. description: |
  1360. the board ID
  1361. type: string
  1362. required: true
  1363. produces:
  1364. - application/json
  1365. security:
  1366. - UserSecurity: []
  1367. responses:
  1368. '200':
  1369. description: |-
  1370. 200 response
  1371. schema:
  1372. type: array
  1373. items:
  1374. $ref: "#/definitions/Integrations"
  1375. post:
  1376. operationId: new_integration
  1377. summary: Create a new integration
  1378. tags:
  1379. - Integrations
  1380. consumes:
  1381. - multipart/form-data
  1382. - application/json
  1383. parameters:
  1384. - name: url
  1385. in: formData
  1386. description: |
  1387. the URL of the integration
  1388. type: string
  1389. required: true
  1390. - name: board
  1391. in: path
  1392. description: |
  1393. the board ID
  1394. type: string
  1395. required: true
  1396. produces:
  1397. - application/json
  1398. security:
  1399. - UserSecurity: []
  1400. responses:
  1401. '200':
  1402. description: |-
  1403. 200 response
  1404. schema:
  1405. type: object
  1406. properties:
  1407. _id:
  1408. type: string
  1409. /api/boards/{board}/integrations/{int}:
  1410. get:
  1411. operationId: get_integration
  1412. summary: Get a single integration in board
  1413. tags:
  1414. - Integrations
  1415. parameters:
  1416. - name: board
  1417. in: path
  1418. description: |
  1419. the board ID
  1420. type: string
  1421. required: true
  1422. - name: int
  1423. in: path
  1424. description: |
  1425. the integration ID
  1426. type: string
  1427. required: true
  1428. produces:
  1429. - application/json
  1430. security:
  1431. - UserSecurity: []
  1432. responses:
  1433. '200':
  1434. description: |-
  1435. 200 response
  1436. schema:
  1437. $ref: "#/definitions/Integrations"
  1438. put:
  1439. operationId: edit_integration
  1440. summary: Edit integration data
  1441. tags:
  1442. - Integrations
  1443. consumes:
  1444. - multipart/form-data
  1445. - application/json
  1446. parameters:
  1447. - name: enabled
  1448. in: formData
  1449. description: |
  1450. is the integration enabled?
  1451. type: string
  1452. required: false
  1453. - name: title
  1454. in: formData
  1455. description: |
  1456. new name of the integration
  1457. type: string
  1458. required: false
  1459. - name: url
  1460. in: formData
  1461. description: |
  1462. new URL of the integration
  1463. type: string
  1464. required: false
  1465. - name: token
  1466. in: formData
  1467. description: |
  1468. new token of the integration
  1469. type: string
  1470. required: false
  1471. - name: activities
  1472. in: formData
  1473. description: |
  1474. new list of activities of the integration
  1475. type: string
  1476. required: false
  1477. - name: board
  1478. in: path
  1479. description: |
  1480. the board ID
  1481. type: string
  1482. required: true
  1483. - name: int
  1484. in: path
  1485. description: |
  1486. the integration ID
  1487. type: string
  1488. required: true
  1489. produces:
  1490. - application/json
  1491. security:
  1492. - UserSecurity: []
  1493. responses:
  1494. '200':
  1495. description: |-
  1496. 200 response
  1497. schema:
  1498. type: object
  1499. properties:
  1500. _id:
  1501. type: string
  1502. delete:
  1503. operationId: delete_integration
  1504. summary: Delete integration
  1505. tags:
  1506. - Integrations
  1507. parameters:
  1508. - name: board
  1509. in: path
  1510. description: |
  1511. the board ID
  1512. type: string
  1513. required: true
  1514. - name: int
  1515. in: path
  1516. description: |
  1517. the integration ID
  1518. type: string
  1519. required: true
  1520. produces:
  1521. - application/json
  1522. security:
  1523. - UserSecurity: []
  1524. responses:
  1525. '200':
  1526. description: |-
  1527. 200 response
  1528. schema:
  1529. type: object
  1530. properties:
  1531. _id:
  1532. type: string
  1533. /api/boards/{board}/integrations/{int}/activities:
  1534. delete:
  1535. operationId: delete_integration_activities
  1536. summary: Delete subscribed activities
  1537. tags:
  1538. - Integrations
  1539. parameters:
  1540. - name: board
  1541. in: path
  1542. description: |
  1543. the board ID
  1544. type: string
  1545. required: true
  1546. - name: int
  1547. in: path
  1548. description: |
  1549. the integration ID
  1550. type: string
  1551. required: true
  1552. produces:
  1553. - application/json
  1554. security:
  1555. - UserSecurity: []
  1556. responses:
  1557. '200':
  1558. description: |-
  1559. 200 response
  1560. schema:
  1561. $ref: "#/definitions/Integrations"
  1562. post:
  1563. operationId: new_integration_activities
  1564. summary: Add subscribed activities
  1565. tags:
  1566. - Integrations
  1567. consumes:
  1568. - multipart/form-data
  1569. - application/json
  1570. parameters:
  1571. - name: activities
  1572. in: formData
  1573. description: the activities value
  1574. type: string
  1575. required: true
  1576. - name: board
  1577. in: path
  1578. description: |
  1579. the board ID
  1580. type: string
  1581. required: true
  1582. - name: int
  1583. in: path
  1584. description: |
  1585. the integration ID
  1586. type: string
  1587. required: true
  1588. produces:
  1589. - application/json
  1590. security:
  1591. - UserSecurity: []
  1592. responses:
  1593. '200':
  1594. description: |-
  1595. 200 response
  1596. schema:
  1597. $ref: "#/definitions/Integrations"
  1598. /api/boards/{board}/labels:
  1599. put:
  1600. operationId: add_board_label
  1601. summary: Add a label to a board
  1602. description: |
  1603. If the board doesn't have the name/color label, this function
  1604. adds the label to the board.
  1605. tags:
  1606. - Boards
  1607. consumes:
  1608. - multipart/form-data
  1609. - application/json
  1610. parameters:
  1611. - name: label
  1612. in: formData
  1613. description: the label value
  1614. type: string
  1615. required: true
  1616. - name: board
  1617. in: path
  1618. description: |
  1619. the board
  1620. type: string
  1621. required: true
  1622. produces:
  1623. - application/json
  1624. security:
  1625. - UserSecurity: []
  1626. responses:
  1627. '200':
  1628. description: |-
  1629. 200 response
  1630. schema:
  1631. type: string
  1632. /api/boards/{board}/lists:
  1633. get:
  1634. operationId: get_all_lists
  1635. summary: Get the list of Lists attached to a board
  1636. tags:
  1637. - Lists
  1638. parameters:
  1639. - name: board
  1640. in: path
  1641. description: |
  1642. the board ID
  1643. type: string
  1644. required: true
  1645. produces:
  1646. - application/json
  1647. security:
  1648. - UserSecurity: []
  1649. responses:
  1650. '200':
  1651. description: |-
  1652. 200 response
  1653. schema:
  1654. type: array
  1655. items:
  1656. type: object
  1657. properties:
  1658. _id:
  1659. type: string
  1660. title:
  1661. type: string
  1662. post:
  1663. operationId: new_list
  1664. summary: Add a List to a board
  1665. tags:
  1666. - Lists
  1667. consumes:
  1668. - multipart/form-data
  1669. - application/json
  1670. parameters:
  1671. - name: title
  1672. in: formData
  1673. description: |
  1674. the title of the List
  1675. type: string
  1676. required: true
  1677. - name: board
  1678. in: path
  1679. description: |
  1680. the board ID
  1681. type: string
  1682. required: true
  1683. produces:
  1684. - application/json
  1685. security:
  1686. - UserSecurity: []
  1687. responses:
  1688. '200':
  1689. description: |-
  1690. 200 response
  1691. schema:
  1692. type: object
  1693. properties:
  1694. _id:
  1695. type: string
  1696. /api/boards/{board}/lists/{list}:
  1697. get:
  1698. operationId: get_list
  1699. summary: Get a List attached to a board
  1700. tags:
  1701. - Lists
  1702. parameters:
  1703. - name: board
  1704. in: path
  1705. description: |
  1706. the board ID
  1707. type: string
  1708. required: true
  1709. - name: list
  1710. in: path
  1711. description: |
  1712. the List ID
  1713. type: string
  1714. required: true
  1715. produces:
  1716. - application/json
  1717. security:
  1718. - UserSecurity: []
  1719. responses:
  1720. '200':
  1721. description: |-
  1722. 200 response
  1723. schema:
  1724. $ref: "#/definitions/Lists"
  1725. delete:
  1726. operationId: delete_list
  1727. summary: Delete a List
  1728. description: |
  1729. This **deletes** a list from a board.
  1730. The list is not put in the recycle bin.
  1731. tags:
  1732. - Lists
  1733. parameters:
  1734. - name: board
  1735. in: path
  1736. description: |
  1737. the board ID
  1738. type: string
  1739. required: true
  1740. - name: list
  1741. in: path
  1742. description: |
  1743. the ID of the list to remove
  1744. type: string
  1745. required: true
  1746. produces:
  1747. - application/json
  1748. security:
  1749. - UserSecurity: []
  1750. responses:
  1751. '200':
  1752. description: |-
  1753. 200 response
  1754. schema:
  1755. type: object
  1756. properties:
  1757. _id:
  1758. type: string
  1759. /api/boards/{board}/lists/{list}/cards:
  1760. get:
  1761. operationId: get_all_cards
  1762. summary: Get all Cards attached to a List
  1763. tags:
  1764. - Cards
  1765. parameters:
  1766. - name: board
  1767. in: path
  1768. description: |
  1769. the board ID
  1770. type: string
  1771. required: true
  1772. - name: list
  1773. in: path
  1774. description: |
  1775. the list ID
  1776. type: string
  1777. required: true
  1778. produces:
  1779. - application/json
  1780. security:
  1781. - UserSecurity: []
  1782. responses:
  1783. '200':
  1784. description: |-
  1785. 200 response
  1786. schema:
  1787. type: array
  1788. items:
  1789. type: object
  1790. properties:
  1791. _id:
  1792. type: string
  1793. title:
  1794. type: string
  1795. description:
  1796. type: string
  1797. post:
  1798. operationId: new_card
  1799. summary: Create a new Card
  1800. tags:
  1801. - Cards
  1802. consumes:
  1803. - multipart/form-data
  1804. - application/json
  1805. parameters:
  1806. - name: authorId
  1807. in: formData
  1808. description: the authorId value
  1809. type: string
  1810. required: true
  1811. - name: members
  1812. in: formData
  1813. description: |
  1814. the member IDs list of the new card
  1815. type: string
  1816. required: false
  1817. - name: assignees
  1818. in: formData
  1819. description: |
  1820. the assignee IDs list of the new card
  1821. type: string
  1822. required: false
  1823. - name: title
  1824. in: formData
  1825. description: |
  1826. the title of the new card
  1827. type: string
  1828. required: true
  1829. - name: description
  1830. in: formData
  1831. description: |
  1832. the description of the new card
  1833. type: string
  1834. required: true
  1835. - name: swimlaneId
  1836. in: formData
  1837. description: |
  1838. the swimlane ID of the new card
  1839. type: string
  1840. required: true
  1841. - name: board
  1842. in: path
  1843. description: |
  1844. the board ID of the new card
  1845. type: string
  1846. required: true
  1847. - name: list
  1848. in: path
  1849. description: |
  1850. the list ID of the new card
  1851. type: string
  1852. required: true
  1853. produces:
  1854. - application/json
  1855. security:
  1856. - UserSecurity: []
  1857. responses:
  1858. '200':
  1859. description: |-
  1860. 200 response
  1861. schema:
  1862. type: object
  1863. properties:
  1864. _id:
  1865. type: string
  1866. /api/boards/{board}/lists/{list}/cards/{card}:
  1867. get:
  1868. operationId: get_card
  1869. summary: Get a Card
  1870. tags:
  1871. - Cards
  1872. parameters:
  1873. - name: board
  1874. in: path
  1875. description: |
  1876. the board ID
  1877. type: string
  1878. required: true
  1879. - name: list
  1880. in: path
  1881. description: |
  1882. the list ID of the card
  1883. type: string
  1884. required: true
  1885. - name: card
  1886. in: path
  1887. description: |
  1888. the card ID
  1889. type: string
  1890. required: true
  1891. produces:
  1892. - application/json
  1893. security:
  1894. - UserSecurity: []
  1895. responses:
  1896. '200':
  1897. description: |-
  1898. 200 response
  1899. schema:
  1900. $ref: "#/definitions/Cards"
  1901. put:
  1902. operationId: edit_card
  1903. summary: Edit Fields in a Card
  1904. description: |
  1905. Edit a card
  1906. The color has to be chosen between `white`, `green`, `yellow`, `orange`,
  1907. `red`, `purple`, `blue`, `sky`, `lime`, `pink`, `black`, `silver`,
  1908. `peachpuff`, `crimson`, `plum`, `darkgreen`, `slateblue`, `magenta`,
  1909. `gold`, `navy`, `gray`, `saddlebrown`, `paleturquoise`, `mistyrose`,
  1910. `indigo`:
  1911. <img src="/card-colors.png" width="40%" alt="Wekan card colors" />
  1912. Note: setting the color to white has the same effect than removing it.
  1913. tags:
  1914. - Cards
  1915. consumes:
  1916. - multipart/form-data
  1917. - application/json
  1918. parameters:
  1919. - name: newBoardId
  1920. in: formData
  1921. description: the newBoardId value
  1922. type: string
  1923. required: true
  1924. - name: newSwimlaneId
  1925. in: formData
  1926. description: the newSwimlaneId value
  1927. type: string
  1928. required: true
  1929. - name: newListId
  1930. in: formData
  1931. description: the newListId value
  1932. type: string
  1933. required: true
  1934. - name: title
  1935. in: formData
  1936. description: |
  1937. the new title of the card
  1938. type: string
  1939. required: false
  1940. - name: sort
  1941. in: formData
  1942. description: |
  1943. the new sort value of the card
  1944. type: string
  1945. required: false
  1946. - name: parentId
  1947. in: formData
  1948. description: |
  1949. change the parent of the card
  1950. type: string
  1951. required: false
  1952. - name: description
  1953. in: formData
  1954. description: |
  1955. the new description of the card
  1956. type: string
  1957. required: false
  1958. - name: color
  1959. in: formData
  1960. description: |
  1961. the new color of the card
  1962. type: string
  1963. required: false
  1964. - name: vote
  1965. in: formData
  1966. description: |
  1967. the vote object
  1968. type: object
  1969. required: false
  1970. - name: poker
  1971. in: formData
  1972. description: |
  1973. the poker object
  1974. type: object
  1975. required: false
  1976. - name: labelIds
  1977. in: formData
  1978. description: |
  1979. the new list of label IDs attached to the card
  1980. type: string
  1981. required: false
  1982. - name: requestedBy
  1983. in: formData
  1984. description: |
  1985. the new requestedBy field of the card
  1986. type: string
  1987. required: false
  1988. - name: assignedBy
  1989. in: formData
  1990. description: |
  1991. the new assignedBy field of the card
  1992. type: string
  1993. required: false
  1994. - name: receivedAt
  1995. in: formData
  1996. description: |
  1997. the new receivedAt field of the card
  1998. type: string
  1999. required: false
  2000. - name: startAt
  2001. in: formData
  2002. description: |
  2003. the new startAt field of the card
  2004. type: string
  2005. required: false
  2006. - name: dueAt
  2007. in: formData
  2008. description: |
  2009. the new dueAt field of the card
  2010. type: string
  2011. required: false
  2012. - name: endAt
  2013. in: formData
  2014. description: |
  2015. the new endAt field of the card
  2016. type: string
  2017. required: false
  2018. - name: spentTime
  2019. in: formData
  2020. description: |
  2021. the new spentTime field of the card
  2022. type: string
  2023. required: false
  2024. - name: isOverTime
  2025. in: formData
  2026. description: |
  2027. the new isOverTime field of the card
  2028. type: boolean
  2029. required: false
  2030. - name: customFields
  2031. in: formData
  2032. description: |
  2033. the new customFields value of the card
  2034. type: string
  2035. required: false
  2036. - name: members
  2037. in: formData
  2038. description: |
  2039. the new list of member IDs attached to the card
  2040. type: string
  2041. required: false
  2042. - name: assignees
  2043. in: formData
  2044. description: |
  2045. the array of maximum one ID of assignee attached to the card
  2046. type: string
  2047. required: false
  2048. - name: swimlaneId
  2049. in: formData
  2050. description: |
  2051. the new swimlane ID of the card
  2052. type: string
  2053. required: false
  2054. - name: listId
  2055. in: formData
  2056. description: |
  2057. the new list ID of the card (move operation)
  2058. type: string
  2059. required: false
  2060. - name: authorId
  2061. in: formData
  2062. description: |
  2063. change the owner of the card
  2064. type: string
  2065. required: false
  2066. - name: archive
  2067. in: formData
  2068. description: the archive value
  2069. type: string
  2070. required: true
  2071. - name: board
  2072. in: path
  2073. description: |
  2074. the board ID of the card
  2075. type: string
  2076. required: true
  2077. - name: list
  2078. in: path
  2079. description: |
  2080. the list ID of the card
  2081. type: string
  2082. required: true
  2083. - name: card
  2084. in: path
  2085. description: |
  2086. the ID of the card
  2087. type: string
  2088. required: true
  2089. produces:
  2090. - application/json
  2091. security:
  2092. - UserSecurity: []
  2093. responses:
  2094. '200':
  2095. description: |-
  2096. 200 response
  2097. schema:
  2098. type: object
  2099. properties:
  2100. _id:
  2101. type: string
  2102. delete:
  2103. operationId: delete_card
  2104. summary: Delete a card from a board
  2105. description: |
  2106. This operation **deletes** a card, and therefore the card
  2107. is not put in the recycle bin.
  2108. tags:
  2109. - Cards
  2110. parameters:
  2111. - name: board
  2112. in: path
  2113. description: |
  2114. the board ID of the card
  2115. type: string
  2116. required: true
  2117. - name: list
  2118. in: path
  2119. description: |
  2120. the list ID of the card
  2121. type: string
  2122. required: true
  2123. - name: card
  2124. in: path
  2125. description: |
  2126. the ID of the card
  2127. type: string
  2128. required: true
  2129. produces:
  2130. - application/json
  2131. security:
  2132. - UserSecurity: []
  2133. responses:
  2134. '200':
  2135. description: |-
  2136. 200 response
  2137. schema:
  2138. type: object
  2139. properties:
  2140. _id:
  2141. type: string
  2142. /api/boards/{board}/lists/{list}/cards/{card}/customFields/{customField}:
  2143. post:
  2144. operationId: edit_card_custom_field
  2145. summary: Edit Custom Field in a Card
  2146. description: |
  2147. Edit a custom field value in a card
  2148. tags:
  2149. - Cards
  2150. consumes:
  2151. - multipart/form-data
  2152. - application/json
  2153. parameters:
  2154. - name: value
  2155. in: formData
  2156. description: |
  2157. the new custom field value
  2158. type: string
  2159. required: true
  2160. - name: board
  2161. in: path
  2162. description: |
  2163. the board ID of the card
  2164. type: string
  2165. required: true
  2166. - name: list
  2167. in: path
  2168. description: |
  2169. the list ID of the card
  2170. type: string
  2171. required: true
  2172. - name: card
  2173. in: path
  2174. description: |
  2175. the ID of the card
  2176. type: string
  2177. required: true
  2178. - name: customField
  2179. in: path
  2180. description: |
  2181. the ID of the custom field
  2182. type: string
  2183. required: true
  2184. produces:
  2185. - application/json
  2186. security:
  2187. - UserSecurity: []
  2188. responses:
  2189. '200':
  2190. description: |-
  2191. 200 response
  2192. schema:
  2193. type: object
  2194. properties:
  2195. _id:
  2196. type: string
  2197. customFields:
  2198. type: object
  2199. /api/boards/{board}/lists/{list}/cards_count:
  2200. get:
  2201. operationId: get_list_cards_count
  2202. summary: Get a cards count to a list
  2203. tags:
  2204. - Cards
  2205. parameters:
  2206. - name: board
  2207. in: path
  2208. description: |
  2209. the board ID
  2210. type: string
  2211. required: true
  2212. - name: list
  2213. in: path
  2214. description: |
  2215. the List ID
  2216. type: string
  2217. required: true
  2218. produces:
  2219. - application/json
  2220. security:
  2221. - UserSecurity: []
  2222. responses:
  2223. '200':
  2224. description: |-
  2225. 200 response
  2226. schema:
  2227. type: object
  2228. properties:
  2229. list_cards_count:
  2230. type: integer
  2231. /api/boards/{board}/members/{member}:
  2232. post:
  2233. operationId: set_board_member_permission
  2234. summary: Change the permission of a member of a board
  2235. tags:
  2236. - Boards
  2237. - Users
  2238. consumes:
  2239. - multipart/form-data
  2240. - application/json
  2241. parameters:
  2242. - name: isAdmin
  2243. in: formData
  2244. description: |
  2245. admin capability
  2246. type: boolean
  2247. required: true
  2248. - name: isNoComments
  2249. in: formData
  2250. description: |
  2251. NoComments capability
  2252. type: boolean
  2253. required: true
  2254. - name: isCommentOnly
  2255. in: formData
  2256. description: |
  2257. CommentsOnly capability
  2258. type: boolean
  2259. required: true
  2260. - name: isWorker
  2261. in: formData
  2262. description: |
  2263. Worker capability
  2264. type: boolean
  2265. required: true
  2266. - name: board
  2267. in: path
  2268. description: |
  2269. the ID of the board that we are changing
  2270. type: string
  2271. required: true
  2272. - name: member
  2273. in: path
  2274. description: |
  2275. the ID of the user to change permissions
  2276. type: string
  2277. required: true
  2278. produces:
  2279. - application/json
  2280. security:
  2281. - UserSecurity: []
  2282. responses:
  2283. '200':
  2284. description: |-
  2285. 200 response
  2286. /api/boards/{board}/swimlanes:
  2287. get:
  2288. operationId: get_all_swimlanes
  2289. summary: Get the list of swimlanes attached to a board
  2290. tags:
  2291. - Swimlanes
  2292. parameters:
  2293. - name: board
  2294. in: path
  2295. description: |
  2296. the ID of the board
  2297. type: string
  2298. required: true
  2299. produces:
  2300. - application/json
  2301. security:
  2302. - UserSecurity: []
  2303. responses:
  2304. '200':
  2305. description: |-
  2306. 200 response
  2307. schema:
  2308. type: array
  2309. items:
  2310. type: object
  2311. properties:
  2312. _id:
  2313. type: string
  2314. title:
  2315. type: string
  2316. post:
  2317. operationId: new_swimlane
  2318. summary: Add a swimlane to a board
  2319. tags:
  2320. - Swimlanes
  2321. consumes:
  2322. - multipart/form-data
  2323. - application/json
  2324. parameters:
  2325. - name: title
  2326. in: formData
  2327. description: |
  2328. the new title of the swimlane
  2329. type: string
  2330. required: true
  2331. - name: board
  2332. in: path
  2333. description: |
  2334. the ID of the board
  2335. type: string
  2336. required: true
  2337. produces:
  2338. - application/json
  2339. security:
  2340. - UserSecurity: []
  2341. responses:
  2342. '200':
  2343. description: |-
  2344. 200 response
  2345. schema:
  2346. type: object
  2347. properties:
  2348. _id:
  2349. type: string
  2350. /api/boards/{board}/swimlanes/{swimlane}:
  2351. get:
  2352. operationId: get_swimlane
  2353. summary: Get a swimlane
  2354. tags:
  2355. - Swimlanes
  2356. parameters:
  2357. - name: board
  2358. in: path
  2359. description: |
  2360. the ID of the board
  2361. type: string
  2362. required: true
  2363. - name: swimlane
  2364. in: path
  2365. description: |
  2366. the ID of the swimlane
  2367. type: string
  2368. required: true
  2369. produces:
  2370. - application/json
  2371. security:
  2372. - UserSecurity: []
  2373. responses:
  2374. '200':
  2375. description: |-
  2376. 200 response
  2377. schema:
  2378. $ref: "#/definitions/Swimlanes"
  2379. put:
  2380. operationId: edit_swimlane
  2381. summary: Edit the title of a swimlane
  2382. tags:
  2383. - Swimlanes
  2384. consumes:
  2385. - multipart/form-data
  2386. - application/json
  2387. parameters:
  2388. - name: title
  2389. in: formData
  2390. description: |
  2391. the new title of the swimlane
  2392. type: string
  2393. required: true
  2394. - name: board
  2395. in: path
  2396. description: |
  2397. the ID of the board
  2398. type: string
  2399. required: true
  2400. - name: swimlane
  2401. in: path
  2402. description: |
  2403. the ID of the swimlane to edit
  2404. type: string
  2405. required: true
  2406. produces:
  2407. - application/json
  2408. security:
  2409. - UserSecurity: []
  2410. responses:
  2411. '200':
  2412. description: |-
  2413. 200 response
  2414. schema:
  2415. type: object
  2416. properties:
  2417. _id:
  2418. type: string
  2419. delete:
  2420. operationId: delete_swimlane
  2421. summary: Delete a swimlane
  2422. description: |
  2423. The swimlane will be deleted, not moved to the recycle bin
  2424. tags:
  2425. - Swimlanes
  2426. parameters:
  2427. - name: board
  2428. in: path
  2429. description: |
  2430. the ID of the board
  2431. type: string
  2432. required: true
  2433. - name: swimlane
  2434. in: path
  2435. description: |
  2436. the ID of the swimlane
  2437. type: string
  2438. required: true
  2439. produces:
  2440. - application/json
  2441. security:
  2442. - UserSecurity: []
  2443. responses:
  2444. '200':
  2445. description: |-
  2446. 200 response
  2447. schema:
  2448. type: object
  2449. properties:
  2450. _id:
  2451. type: string
  2452. /api/boards/{board}/swimlanes/{swimlane}/cards:
  2453. get:
  2454. operationId: get_swimlane_cards
  2455. summary: get all cards attached to a swimlane
  2456. tags:
  2457. - Cards
  2458. parameters:
  2459. - name: board
  2460. in: path
  2461. description: |
  2462. the board ID
  2463. type: string
  2464. required: true
  2465. - name: swimlane
  2466. in: path
  2467. description: |
  2468. the swimlane ID
  2469. type: string
  2470. required: true
  2471. produces:
  2472. - application/json
  2473. security:
  2474. - UserSecurity: []
  2475. responses:
  2476. '200':
  2477. description: |-
  2478. 200 response
  2479. schema:
  2480. type: array
  2481. items:
  2482. type: object
  2483. properties:
  2484. _id:
  2485. type: string
  2486. title:
  2487. type: string
  2488. description:
  2489. type: string
  2490. listId:
  2491. type: string
  2492. /api/boards/{board}/title:
  2493. put:
  2494. operationId: update_board_title
  2495. summary: Update the title of a board
  2496. tags:
  2497. - Boards
  2498. consumes:
  2499. - multipart/form-data
  2500. - application/json
  2501. parameters:
  2502. - name: title
  2503. in: formData
  2504. description: |
  2505. the new title for the board
  2506. type: string
  2507. required: true
  2508. - name: board
  2509. in: path
  2510. description: |
  2511. the ID of the board to update
  2512. type: string
  2513. required: true
  2514. produces:
  2515. - application/json
  2516. security:
  2517. - UserSecurity: []
  2518. responses:
  2519. '200':
  2520. description: |-
  2521. 200 response
  2522. /api/boards_count:
  2523. get:
  2524. operationId: get_boards_count
  2525. summary: Get public and private boards count
  2526. tags:
  2527. - Boards
  2528. produces:
  2529. - application/json
  2530. security:
  2531. - UserSecurity: []
  2532. responses:
  2533. '200':
  2534. description: |-
  2535. 200 response
  2536. schema:
  2537. type: object
  2538. properties:
  2539. private:
  2540. type: integer
  2541. public:
  2542. type: integer
  2543. /api/users/{user}/boards:
  2544. get:
  2545. operationId: get_boards_from_user
  2546. summary: Get all boards attached to a user
  2547. tags:
  2548. - Boards
  2549. parameters:
  2550. - name: user
  2551. in: path
  2552. description: |
  2553. the ID of the user to retrieve the data
  2554. type: string
  2555. required: true
  2556. produces:
  2557. - application/json
  2558. security:
  2559. - UserSecurity: []
  2560. responses:
  2561. '200':
  2562. description: |-
  2563. 200 response
  2564. schema:
  2565. type: array
  2566. items:
  2567. type: object
  2568. properties:
  2569. _id:
  2570. type: string
  2571. title:
  2572. type: string
  2573. definitions:
  2574. Boards:
  2575. type: object
  2576. description: This is a Board.
  2577. properties:
  2578. title:
  2579. description: |
  2580. The title of the board
  2581. type: string
  2582. slug:
  2583. description: |
  2584. The title slugified.
  2585. type: string
  2586. archived:
  2587. description: |
  2588. Is the board archived?
  2589. type: boolean
  2590. archivedAt:
  2591. description: |
  2592. Latest archiving time of the board
  2593. type: string
  2594. x-nullable: true
  2595. createdAt:
  2596. description: |
  2597. Creation time of the board
  2598. type: string
  2599. modifiedAt:
  2600. description: |
  2601. Last modification time of the board
  2602. type: string
  2603. x-nullable: true
  2604. stars:
  2605. description: |
  2606. How many stars the board has
  2607. type: number
  2608. labels:
  2609. description: |
  2610. List of labels attached to a board
  2611. type: array
  2612. items:
  2613. $ref: "#/definitions/BoardsLabels"
  2614. x-nullable: true
  2615. members:
  2616. description: |
  2617. List of members of a board
  2618. type: array
  2619. items:
  2620. $ref: "#/definitions/BoardsMembers"
  2621. permission:
  2622. description: |
  2623. visibility of the board
  2624. type: string
  2625. enum:
  2626. - public
  2627. - private
  2628. orgs:
  2629. description: |
  2630. the list of organizations that a board belongs to
  2631. type: array
  2632. items:
  2633. $ref: "#/definitions/BoardsOrgs"
  2634. x-nullable: true
  2635. teams:
  2636. description: |
  2637. the list of teams that a board belongs to
  2638. type: array
  2639. items:
  2640. $ref: "#/definitions/BoardsTeams"
  2641. x-nullable: true
  2642. color:
  2643. description: |
  2644. The color of the board.
  2645. type: string
  2646. enum:
  2647. - belize
  2648. - nephritis
  2649. - pomegranate
  2650. - pumpkin
  2651. - wisteria
  2652. - moderatepink
  2653. - strongcyan
  2654. - limegreen
  2655. - midnight
  2656. - dark
  2657. - relax
  2658. - corteza
  2659. - clearblue
  2660. - natural
  2661. - modern
  2662. - moderndark
  2663. - exodark
  2664. backgroundImageURL:
  2665. description: |
  2666. The background image URL of the board.
  2667. type: string
  2668. x-nullable: true
  2669. allowsCardCounterList:
  2670. description: |
  2671. Show card counter per list
  2672. type: boolean
  2673. allowsBoardMemberList:
  2674. description: |
  2675. Show board member list
  2676. type: boolean
  2677. description:
  2678. description: |
  2679. The description of the board
  2680. type: string
  2681. x-nullable: true
  2682. subtasksDefaultBoardId:
  2683. description: |
  2684. The default board ID assigned to subtasks.
  2685. type: string
  2686. x-nullable: true
  2687. subtasksDefaultListId:
  2688. description: |
  2689. The default List ID assigned to subtasks.
  2690. type: string
  2691. x-nullable: true
  2692. dateSettingsDefaultBoardId:
  2693. type: string
  2694. x-nullable: true
  2695. dateSettingsDefaultListId:
  2696. type: string
  2697. x-nullable: true
  2698. allowsSubtasks:
  2699. description: |
  2700. Does the board allows subtasks?
  2701. type: boolean
  2702. allowsAttachments:
  2703. description: |
  2704. Does the board allows attachments?
  2705. type: boolean
  2706. allowsChecklists:
  2707. description: |
  2708. Does the board allows checklists?
  2709. type: boolean
  2710. allowsComments:
  2711. description: |
  2712. Does the board allows comments?
  2713. type: boolean
  2714. allowsDescriptionTitle:
  2715. description: |
  2716. Does the board allows description title?
  2717. type: boolean
  2718. allowsDescriptionText:
  2719. description: |
  2720. Does the board allows description text?
  2721. type: boolean
  2722. allowsDescriptionTextOnMinicard:
  2723. description: |
  2724. Does the board allows description text on minicard?
  2725. type: boolean
  2726. allowsCoverAttachmentOnMinicard:
  2727. description: |
  2728. Does the board allows cover attachment on minicard?
  2729. type: boolean
  2730. allowsBadgeAttachmentOnMinicard:
  2731. description: |
  2732. Does the board allows badge attachment on minicard?
  2733. type: boolean
  2734. allowsCardSortingByNumberOnMinicard:
  2735. description: |
  2736. Does the board allows card sorting by number on minicard?
  2737. type: boolean
  2738. allowsCardNumber:
  2739. description: |
  2740. Does the board allows card numbers?
  2741. type: boolean
  2742. allowsActivities:
  2743. description: |
  2744. Does the board allows comments?
  2745. type: boolean
  2746. allowsLabels:
  2747. description: |
  2748. Does the board allows labels?
  2749. type: boolean
  2750. allowsCreator:
  2751. description: |
  2752. Does the board allow creator?
  2753. type: boolean
  2754. allowsCreatorOnMinicard:
  2755. description: |
  2756. Does the board allow creator?
  2757. type: boolean
  2758. allowsAssignee:
  2759. description: |
  2760. Does the board allows assignee?
  2761. type: boolean
  2762. allowsMembers:
  2763. description: |
  2764. Does the board allows members?
  2765. type: boolean
  2766. allowsRequestedBy:
  2767. description: |
  2768. Does the board allows requested by?
  2769. type: boolean
  2770. allowsCardSortingByNumber:
  2771. description: |
  2772. Does the board allows card sorting by number?
  2773. type: boolean
  2774. allowsShowLists:
  2775. description: |
  2776. Does the board allows show lists on the card?
  2777. type: boolean
  2778. allowsAssignedBy:
  2779. description: |
  2780. Does the board allows requested by?
  2781. type: boolean
  2782. allowsReceivedDate:
  2783. description: |
  2784. Does the board allows received date?
  2785. type: boolean
  2786. allowsStartDate:
  2787. description: |
  2788. Does the board allows start date?
  2789. type: boolean
  2790. allowsEndDate:
  2791. description: |
  2792. Does the board allows end date?
  2793. type: boolean
  2794. allowsDueDate:
  2795. description: |
  2796. Does the board allows due date?
  2797. type: boolean
  2798. presentParentTask:
  2799. description: |
  2800. Controls how to present the parent task:
  2801. - `prefix-with-full-path`: add a prefix with the full path
  2802. - `prefix-with-parent`: add a prefisx with the parent name
  2803. - `subtext-with-full-path`: add a subtext with the full path
  2804. - `subtext-with-parent`: add a subtext with the parent name
  2805. - `no-parent`: does not show the parent at all
  2806. type: string
  2807. enum:
  2808. - prefix-with-full-path
  2809. - prefix-with-parent
  2810. - subtext-with-full-path
  2811. - subtext-with-parent
  2812. - no-parent
  2813. x-nullable: true
  2814. receivedAt:
  2815. description: |
  2816. Date the card was received
  2817. type: string
  2818. x-nullable: true
  2819. startAt:
  2820. description: |
  2821. Starting date of the board.
  2822. type: string
  2823. x-nullable: true
  2824. dueAt:
  2825. description: |
  2826. Due date of the board.
  2827. type: string
  2828. x-nullable: true
  2829. endAt:
  2830. description: |
  2831. End date of the board.
  2832. type: string
  2833. x-nullable: true
  2834. spentTime:
  2835. description: |
  2836. Time spent in the board.
  2837. type: number
  2838. x-nullable: true
  2839. isOvertime:
  2840. description: |
  2841. Is the board overtimed?
  2842. type: boolean
  2843. x-nullable: true
  2844. type:
  2845. description: |
  2846. The type of board
  2847. possible values: board, template-board, template-container
  2848. type: string
  2849. enum:
  2850. - board
  2851. - template-board
  2852. - template-container
  2853. sort:
  2854. description: |
  2855. Sort value
  2856. type: number
  2857. required:
  2858. - title
  2859. - slug
  2860. - archived
  2861. - createdAt
  2862. - stars
  2863. - members
  2864. - permission
  2865. - color
  2866. - allowsCardCounterList
  2867. - allowsBoardMemberList
  2868. - allowsSubtasks
  2869. - allowsAttachments
  2870. - allowsChecklists
  2871. - allowsComments
  2872. - allowsDescriptionTitle
  2873. - allowsDescriptionText
  2874. - allowsDescriptionTextOnMinicard
  2875. - allowsCoverAttachmentOnMinicard
  2876. - allowsBadgeAttachmentOnMinicard
  2877. - allowsCardSortingByNumberOnMinicard
  2878. - allowsCardNumber
  2879. - allowsActivities
  2880. - allowsLabels
  2881. - allowsCreator
  2882. - allowsCreatorOnMinicard
  2883. - allowsAssignee
  2884. - allowsMembers
  2885. - allowsRequestedBy
  2886. - allowsCardSortingByNumber
  2887. - allowsShowLists
  2888. - allowsAssignedBy
  2889. - allowsReceivedDate
  2890. - allowsStartDate
  2891. - allowsEndDate
  2892. - allowsDueDate
  2893. - type
  2894. - sort
  2895. BoardsLabels:
  2896. type: object
  2897. properties:
  2898. _id:
  2899. description: |
  2900. Unique id of a label
  2901. type: string
  2902. name:
  2903. description: |
  2904. Name of a label
  2905. type: string
  2906. color:
  2907. description: |
  2908. color of a label.
  2909. Can be amongst `green`, `yellow`, `orange`, `red`, `purple`,
  2910. `blue`, `sky`, `lime`, `pink`, `black`,
  2911. `silver`, `peachpuff`, `crimson`, `plum`, `darkgreen`,
  2912. `slateblue`, `magenta`, `gold`, `navy`, `gray`,
  2913. `saddlebrown`, `paleturquoise`, `mistyrose`, `indigo`
  2914. type: string
  2915. enum:
  2916. - white
  2917. - green
  2918. - yellow
  2919. - orange
  2920. - red
  2921. - purple
  2922. - blue
  2923. - sky
  2924. - lime
  2925. - pink
  2926. - black
  2927. - silver
  2928. - peachpuff
  2929. - crimson
  2930. - plum
  2931. - darkgreen
  2932. - slateblue
  2933. - magenta
  2934. - gold
  2935. - navy
  2936. - gray
  2937. - saddlebrown
  2938. - paleturquoise
  2939. - mistyrose
  2940. - indigo
  2941. required:
  2942. - _id
  2943. - color
  2944. BoardsMembers:
  2945. type: object
  2946. properties:
  2947. userId:
  2948. description: |
  2949. The uniq ID of the member
  2950. type: string
  2951. isAdmin:
  2952. description: |
  2953. Is the member an admin of the board?
  2954. type: boolean
  2955. isActive:
  2956. description: |
  2957. Is the member active?
  2958. type: boolean
  2959. isNoComments:
  2960. description: |
  2961. Is the member not allowed to make comments
  2962. type: boolean
  2963. isCommentOnly:
  2964. description: |
  2965. Is the member only allowed to comment on the board
  2966. type: boolean
  2967. isWorker:
  2968. description: |
  2969. Is the member only allowed to move card, assign himself to card and comment
  2970. type: boolean
  2971. required:
  2972. - userId
  2973. - isAdmin
  2974. - isActive
  2975. BoardsOrgs:
  2976. type: object
  2977. properties:
  2978. orgId:
  2979. description: |
  2980. The uniq ID of the organization
  2981. type: string
  2982. orgDisplayName:
  2983. description: |
  2984. The display name of the organization
  2985. type: string
  2986. isActive:
  2987. description: |
  2988. Is the organization active?
  2989. type: boolean
  2990. required:
  2991. - orgId
  2992. - orgDisplayName
  2993. - isActive
  2994. BoardsTeams:
  2995. type: object
  2996. properties:
  2997. teamId:
  2998. description: |
  2999. The uniq ID of the team
  3000. type: string
  3001. teamDisplayName:
  3002. description: |
  3003. The display name of the team
  3004. type: string
  3005. isActive:
  3006. description: |
  3007. Is the team active?
  3008. type: boolean
  3009. required:
  3010. - teamId
  3011. - teamDisplayName
  3012. - isActive
  3013. CardComments:
  3014. type: object
  3015. description: A comment on a card
  3016. properties:
  3017. boardId:
  3018. description: |
  3019. the board ID
  3020. type: string
  3021. cardId:
  3022. description: |
  3023. the card ID
  3024. type: string
  3025. text:
  3026. description: |
  3027. the text of the comment
  3028. type: string
  3029. createdAt:
  3030. description: |
  3031. when was the comment created
  3032. type: string
  3033. modifiedAt:
  3034. type: string
  3035. userId:
  3036. description: |
  3037. the author ID of the comment
  3038. type: string
  3039. required:
  3040. - boardId
  3041. - cardId
  3042. - text
  3043. - createdAt
  3044. - modifiedAt
  3045. - userId
  3046. Cards:
  3047. type: object
  3048. properties:
  3049. title:
  3050. description: |
  3051. the title of the card
  3052. type: string
  3053. x-nullable: true
  3054. archived:
  3055. description: |
  3056. is the card archived
  3057. type: boolean
  3058. archivedAt:
  3059. description: |
  3060. latest archiving date
  3061. type: string
  3062. x-nullable: true
  3063. parentId:
  3064. description: |
  3065. ID of the parent card
  3066. type: string
  3067. x-nullable: true
  3068. listId:
  3069. description: |
  3070. List ID where the card is
  3071. type: string
  3072. x-nullable: true
  3073. swimlaneId:
  3074. description: |
  3075. Swimlane ID where the card is
  3076. type: string
  3077. boardId:
  3078. description: |
  3079. Board ID of the card
  3080. type: string
  3081. x-nullable: true
  3082. coverId:
  3083. description: |
  3084. Cover ID of the card
  3085. type: string
  3086. x-nullable: true
  3087. color:
  3088. type: string
  3089. enum:
  3090. - white
  3091. - green
  3092. - yellow
  3093. - orange
  3094. - red
  3095. - purple
  3096. - blue
  3097. - sky
  3098. - lime
  3099. - pink
  3100. - black
  3101. - silver
  3102. - peachpuff
  3103. - crimson
  3104. - plum
  3105. - darkgreen
  3106. - slateblue
  3107. - magenta
  3108. - gold
  3109. - navy
  3110. - gray
  3111. - saddlebrown
  3112. - paleturquoise
  3113. - mistyrose
  3114. - indigo
  3115. x-nullable: true
  3116. createdAt:
  3117. description: |
  3118. creation date
  3119. type: string
  3120. modifiedAt:
  3121. type: string
  3122. customFields:
  3123. description: |
  3124. list of custom fields
  3125. type: array
  3126. items:
  3127. $ref: "#/definitions/CardsCustomfields"
  3128. x-nullable: true
  3129. dateLastActivity:
  3130. description: |
  3131. Date of last activity
  3132. type: string
  3133. description:
  3134. description: |
  3135. description of the card
  3136. type: string
  3137. x-nullable: true
  3138. requestedBy:
  3139. description: |
  3140. who requested the card (ID of the user)
  3141. type: string
  3142. x-nullable: true
  3143. assignedBy:
  3144. description: |
  3145. who assigned the card (ID of the user)
  3146. type: string
  3147. x-nullable: true
  3148. labelIds:
  3149. description: |
  3150. list of labels ID the card has
  3151. type: array
  3152. items:
  3153. type: string
  3154. x-nullable: true
  3155. x-nullable: true
  3156. members:
  3157. description: |
  3158. list of members (user IDs)
  3159. type: array
  3160. items:
  3161. type: string
  3162. x-nullable: true
  3163. x-nullable: true
  3164. assignees:
  3165. description: |
  3166. who is assignee of the card (user ID),
  3167. maximum one ID of assignee in array.
  3168. type: array
  3169. items:
  3170. type: string
  3171. x-nullable: true
  3172. x-nullable: true
  3173. receivedAt:
  3174. description: |
  3175. Date the card was received
  3176. type: string
  3177. x-nullable: true
  3178. startAt:
  3179. description: |
  3180. Date the card was started to be worked on
  3181. type: string
  3182. x-nullable: true
  3183. dueAt:
  3184. description: |
  3185. Date the card is due
  3186. type: string
  3187. x-nullable: true
  3188. endAt:
  3189. description: |
  3190. Date the card ended
  3191. type: string
  3192. x-nullable: true
  3193. spentTime:
  3194. description: |
  3195. How much time has been spent on this
  3196. type: number
  3197. x-nullable: true
  3198. isOvertime:
  3199. description: |
  3200. is the card over time?
  3201. type: boolean
  3202. x-nullable: true
  3203. userId:
  3204. description: |
  3205. user ID of the author of the card
  3206. type: string
  3207. sort:
  3208. description: |
  3209. Sort value
  3210. type: number
  3211. x-nullable: true
  3212. subtaskSort:
  3213. description: |
  3214. subtask sort value
  3215. type: number
  3216. x-nullable: true
  3217. type:
  3218. description: |
  3219. type of the card
  3220. type: string
  3221. linkedId:
  3222. description: |
  3223. ID of the linked card
  3224. type: string
  3225. x-nullable: true
  3226. vote:
  3227. description: |
  3228. vote object, see below
  3229. $ref: "#/definitions/CardsVote"
  3230. x-nullable: true
  3231. poker:
  3232. description: |
  3233. poker object, see below
  3234. $ref: "#/definitions/CardsPoker"
  3235. x-nullable: true
  3236. targetId_gantt:
  3237. description: |
  3238. ID of card which is the child link in gantt view
  3239. type: array
  3240. items:
  3241. type: string
  3242. x-nullable: true
  3243. x-nullable: true
  3244. linkType_gantt:
  3245. description: |
  3246. ID of card which is the parent link in gantt view
  3247. type: array
  3248. items:
  3249. type: number
  3250. x-nullable: true
  3251. x-nullable: true
  3252. linkId_gantt:
  3253. description: |
  3254. ID of card which is the parent link in gantt view
  3255. type: array
  3256. items:
  3257. type: string
  3258. x-nullable: true
  3259. x-nullable: true
  3260. cardNumber:
  3261. description: |
  3262. A boardwise sequentially increasing number that is assigned
  3263. to every newly created card
  3264. type: number
  3265. x-nullable: true
  3266. required:
  3267. - archived
  3268. - swimlaneId
  3269. - createdAt
  3270. - modifiedAt
  3271. - dateLastActivity
  3272. - userId
  3273. - type
  3274. CardsVote:
  3275. type: object
  3276. properties:
  3277. question:
  3278. type: string
  3279. positive:
  3280. description: |
  3281. list of members (user IDs)
  3282. type: array
  3283. items:
  3284. type: string
  3285. x-nullable: true
  3286. negative:
  3287. description: |
  3288. list of members (user IDs)
  3289. type: array
  3290. items:
  3291. type: string
  3292. x-nullable: true
  3293. end:
  3294. type: string
  3295. public:
  3296. type: boolean
  3297. allowNonBoardMembers:
  3298. type: boolean
  3299. required:
  3300. - question
  3301. - public
  3302. - allowNonBoardMembers
  3303. CardsPoker:
  3304. type: object
  3305. properties:
  3306. question:
  3307. type: boolean
  3308. one:
  3309. description: |
  3310. poker card one
  3311. type: array
  3312. items:
  3313. type: string
  3314. x-nullable: true
  3315. two:
  3316. description: |
  3317. poker card two
  3318. type: array
  3319. items:
  3320. type: string
  3321. x-nullable: true
  3322. three:
  3323. description: |
  3324. poker card three
  3325. type: array
  3326. items:
  3327. type: string
  3328. x-nullable: true
  3329. five:
  3330. description: |
  3331. poker card five
  3332. type: array
  3333. items:
  3334. type: string
  3335. x-nullable: true
  3336. eight:
  3337. description: |
  3338. poker card eight
  3339. type: array
  3340. items:
  3341. type: string
  3342. x-nullable: true
  3343. thirteen:
  3344. description: |
  3345. poker card thirteen
  3346. type: array
  3347. items:
  3348. type: string
  3349. x-nullable: true
  3350. twenty:
  3351. description: |
  3352. poker card twenty
  3353. type: array
  3354. items:
  3355. type: string
  3356. x-nullable: true
  3357. forty:
  3358. description: |
  3359. poker card forty
  3360. type: array
  3361. items:
  3362. type: string
  3363. x-nullable: true
  3364. oneHundred:
  3365. description: |
  3366. poker card oneHundred
  3367. type: array
  3368. items:
  3369. type: string
  3370. x-nullable: true
  3371. unsure:
  3372. description: |
  3373. poker card unsure
  3374. type: array
  3375. items:
  3376. type: string
  3377. x-nullable: true
  3378. end:
  3379. type: string
  3380. allowNonBoardMembers:
  3381. type: boolean
  3382. estimation:
  3383. description: |
  3384. poker estimation value
  3385. type: number
  3386. required:
  3387. - question
  3388. - allowNonBoardMembers
  3389. CardsCustomfields:
  3390. type: object
  3391. ChecklistItems:
  3392. type: object
  3393. description: An item in a checklist
  3394. properties:
  3395. title:
  3396. description: |
  3397. the text of the item
  3398. type: string
  3399. sort:
  3400. description: |
  3401. the sorting field of the item
  3402. type: number
  3403. isFinished:
  3404. description: |
  3405. Is the item checked?
  3406. type: boolean
  3407. checklistId:
  3408. description: |
  3409. the checklist ID the item is attached to
  3410. type: string
  3411. cardId:
  3412. description: |
  3413. the card ID the item is attached to
  3414. type: string
  3415. createdAt:
  3416. type: string
  3417. x-nullable: true
  3418. modifiedAt:
  3419. type: string
  3420. required:
  3421. - title
  3422. - sort
  3423. - isFinished
  3424. - checklistId
  3425. - cardId
  3426. - modifiedAt
  3427. Checklists:
  3428. type: object
  3429. description: A Checklist
  3430. properties:
  3431. cardId:
  3432. description: |
  3433. The ID of the card the checklist is in
  3434. type: string
  3435. title:
  3436. description: |
  3437. the title of the checklist
  3438. type: string
  3439. finishedAt:
  3440. description: |
  3441. When was the checklist finished
  3442. type: string
  3443. x-nullable: true
  3444. showAtMinicard:
  3445. description: |
  3446. Show at minicard. Default: false.
  3447. type: boolean
  3448. x-nullable: true
  3449. createdAt:
  3450. description: |
  3451. Creation date of the checklist
  3452. type: string
  3453. modifiedAt:
  3454. type: string
  3455. sort:
  3456. description: |
  3457. sorting value of the checklist
  3458. type: number
  3459. required:
  3460. - cardId
  3461. - title
  3462. - createdAt
  3463. - modifiedAt
  3464. - sort
  3465. CustomFields:
  3466. type: object
  3467. description: A custom field on a card in the board
  3468. properties:
  3469. boardIds:
  3470. description: |
  3471. the ID of the board
  3472. type: array
  3473. items:
  3474. type: string
  3475. name:
  3476. description: |
  3477. name of the custom field
  3478. type: string
  3479. type:
  3480. description: |
  3481. type of the custom field
  3482. type: string
  3483. enum:
  3484. - text
  3485. - number
  3486. - date
  3487. - dropdown
  3488. - checkbox
  3489. - currency
  3490. - stringtemplate
  3491. settings:
  3492. description: |
  3493. settings of the custom field
  3494. $ref: "#/definitions/CustomFieldsSettings"
  3495. showOnCard:
  3496. description: |
  3497. should we show on the cards this custom field
  3498. type: boolean
  3499. automaticallyOnCard:
  3500. description: |
  3501. should the custom fields automatically be added on cards?
  3502. type: boolean
  3503. alwaysOnCard:
  3504. description: |
  3505. should the custom field be automatically added to all cards?
  3506. type: boolean
  3507. showLabelOnMiniCard:
  3508. description: |
  3509. should the label of the custom field be shown on minicards?
  3510. type: boolean
  3511. showSumAtTopOfList:
  3512. description: |
  3513. should the sum of the custom fields be shown at top of list?
  3514. type: boolean
  3515. createdAt:
  3516. type: string
  3517. x-nullable: true
  3518. modifiedAt:
  3519. type: string
  3520. required:
  3521. - boardIds
  3522. - name
  3523. - type
  3524. - settings
  3525. - showOnCard
  3526. - automaticallyOnCard
  3527. - alwaysOnCard
  3528. - showLabelOnMiniCard
  3529. - showSumAtTopOfList
  3530. - modifiedAt
  3531. CustomFieldsSettings:
  3532. type: object
  3533. properties:
  3534. currencyCode:
  3535. type: string
  3536. dropdownItems:
  3537. description: |
  3538. list of drop down items objects
  3539. type: array
  3540. items:
  3541. $ref: "#/definitions/CustomFieldsSettingsDropdownitems"
  3542. stringtemplateFormat:
  3543. type: string
  3544. stringtemplateSeparator:
  3545. type: string
  3546. CustomFieldsSettingsDropdownitems:
  3547. type: object
  3548. Integrations:
  3549. type: object
  3550. description: Integration with third-party applications
  3551. properties:
  3552. enabled:
  3553. description: |
  3554. is the integration enabled?
  3555. type: boolean
  3556. title:
  3557. description: |
  3558. name of the integration
  3559. type: string
  3560. x-nullable: true
  3561. type:
  3562. description: |
  3563. type of the integratation (Default to 'outgoing-webhooks')
  3564. type: string
  3565. activities:
  3566. description: |
  3567. activities the integration gets triggered (list)
  3568. type: array
  3569. items:
  3570. type: string
  3571. url:
  3572. type: string
  3573. token:
  3574. description: |
  3575. token of the integration
  3576. type: string
  3577. x-nullable: true
  3578. boardId:
  3579. description: |
  3580. Board ID of the integration
  3581. type: string
  3582. createdAt:
  3583. description: |
  3584. Creation date of the integration
  3585. type: string
  3586. modifiedAt:
  3587. type: string
  3588. userId:
  3589. description: |
  3590. user ID who created the interation
  3591. type: string
  3592. required:
  3593. - enabled
  3594. - type
  3595. - activities
  3596. - url
  3597. - boardId
  3598. - createdAt
  3599. - modifiedAt
  3600. - userId
  3601. Lists:
  3602. type: object
  3603. description: A list (column) in the Wekan board.
  3604. properties:
  3605. title:
  3606. description: |
  3607. the title of the list
  3608. type: string
  3609. starred:
  3610. description: |
  3611. if a list is stared
  3612. then we put it on the top
  3613. type: boolean
  3614. x-nullable: true
  3615. archived:
  3616. description: |
  3617. is the list archived
  3618. type: boolean
  3619. archivedAt:
  3620. description: |
  3621. latest archiving date
  3622. type: string
  3623. x-nullable: true
  3624. boardId:
  3625. description: |
  3626. the board associated to this list
  3627. type: string
  3628. swimlaneId:
  3629. description: |
  3630. the swimlane associated to this list. Used for templates
  3631. type: string
  3632. createdAt:
  3633. description: |
  3634. creation date
  3635. type: string
  3636. sort:
  3637. description: |
  3638. is the list sorted
  3639. type: number
  3640. x-nullable: true
  3641. updatedAt:
  3642. description: |
  3643. last update of the list
  3644. type: string
  3645. x-nullable: true
  3646. modifiedAt:
  3647. type: string
  3648. wipLimit:
  3649. description: |
  3650. WIP object, see below
  3651. $ref: "#/definitions/ListsWiplimit"
  3652. x-nullable: true
  3653. color:
  3654. description: |
  3655. the color of the list
  3656. type: string
  3657. enum:
  3658. - white
  3659. - green
  3660. - yellow
  3661. - orange
  3662. - red
  3663. - purple
  3664. - blue
  3665. - sky
  3666. - lime
  3667. - pink
  3668. - black
  3669. - silver
  3670. - peachpuff
  3671. - crimson
  3672. - plum
  3673. - darkgreen
  3674. - slateblue
  3675. - magenta
  3676. - gold
  3677. - navy
  3678. - gray
  3679. - saddlebrown
  3680. - paleturquoise
  3681. - mistyrose
  3682. - indigo
  3683. x-nullable: true
  3684. type:
  3685. description: |
  3686. The type of list
  3687. type: string
  3688. required:
  3689. - title
  3690. - archived
  3691. - boardId
  3692. - swimlaneId
  3693. - createdAt
  3694. - modifiedAt
  3695. - type
  3696. ListsWiplimit:
  3697. type: object
  3698. properties:
  3699. value:
  3700. description: |
  3701. value of the WIP
  3702. type: number
  3703. enabled:
  3704. description: |
  3705. is the WIP enabled
  3706. type: boolean
  3707. soft:
  3708. description: |
  3709. is the WIP a soft or hard requirement
  3710. type: boolean
  3711. required:
  3712. - value
  3713. - enabled
  3714. - soft
  3715. Swimlanes:
  3716. type: object
  3717. description: A swimlane is an line in the kaban board.
  3718. properties:
  3719. title:
  3720. description: |
  3721. the title of the swimlane
  3722. type: string
  3723. archived:
  3724. description: |
  3725. is the swimlane archived?
  3726. type: boolean
  3727. archivedAt:
  3728. description: |
  3729. latest archiving date of the swimlane
  3730. type: string
  3731. x-nullable: true
  3732. boardId:
  3733. description: |
  3734. the ID of the board the swimlane is attached to
  3735. type: string
  3736. createdAt:
  3737. description: |
  3738. creation date of the swimlane
  3739. type: string
  3740. sort:
  3741. description: |
  3742. the sort value of the swimlane
  3743. type: number
  3744. x-nullable: true
  3745. color:
  3746. description: |
  3747. the color of the swimlane
  3748. type: string
  3749. enum:
  3750. - white
  3751. - green
  3752. - yellow
  3753. - orange
  3754. - red
  3755. - purple
  3756. - blue
  3757. - sky
  3758. - lime
  3759. - pink
  3760. - black
  3761. - silver
  3762. - peachpuff
  3763. - crimson
  3764. - plum
  3765. - darkgreen
  3766. - slateblue
  3767. - magenta
  3768. - gold
  3769. - navy
  3770. - gray
  3771. - saddlebrown
  3772. - paleturquoise
  3773. - mistyrose
  3774. - indigo
  3775. x-nullable: true
  3776. updatedAt:
  3777. description: |
  3778. when was the swimlane last edited
  3779. type: string
  3780. x-nullable: true
  3781. modifiedAt:
  3782. type: string
  3783. type:
  3784. description: |
  3785. The type of swimlane
  3786. type: string
  3787. required:
  3788. - title
  3789. - archived
  3790. - boardId
  3791. - createdAt
  3792. - modifiedAt
  3793. - type