wekan.yml 102 KB

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