wekan.yml 94 KB

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