wekan.yml 97 KB

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