wekan.yml 95 KB

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