wekan.yml 71 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941
  1. swagger: '2.0'
  2. info:
  3. title: Wekan REST API
  4. version: v3.16
  5. description: |
  6. The REST API allows you to control and extend Wekan with ease.
  7. If you are an end-user and not a dev or a tester, [create an issue](https://github.com/wekan/wekan/issues/new) to request new APIs.
  8. > All API calls in the documentation are made using `curl`. However, you are free to use Java / Python / PHP / Golang / Ruby / Swift / Objective-C / Rust / Scala / C# or any other programming languages.
  9. # Production Security Concerns
  10. When calling a production Wekan server, ensure it is running via HTTPS and has a valid SSL Certificate. The login method requires you to post your username and password in plaintext, which is why we highly suggest only calling the REST login api over HTTPS. Also, few things to note:
  11. * Only call via HTTPS
  12. * Implement a timed authorization token expiration strategy
  13. * Ensure the calling user only has permissions for what they are calling and no more
  14. schemes:
  15. - http
  16. securityDefinitions:
  17. UserSecurity:
  18. type: apiKey
  19. in: header
  20. name: Authorization
  21. paths:
  22. /users/login:
  23. post:
  24. operationId: login
  25. summary: Login with REST API
  26. consumes:
  27. - application/x-www-form-urlencoded
  28. - application/json
  29. tags:
  30. - Login
  31. parameters:
  32. - name: username
  33. in: formData
  34. required: true
  35. description: |
  36. Your username
  37. type: string
  38. - name: password
  39. in: formData
  40. required: true
  41. description: |
  42. Your password
  43. type: string
  44. format: password
  45. responses:
  46. 200:
  47. description: |-
  48. Successful authentication
  49. schema:
  50. items:
  51. properties:
  52. id:
  53. type: string
  54. token:
  55. type: string
  56. tokenExpires:
  57. type: string
  58. 400:
  59. description: |
  60. Error in authentication
  61. schema:
  62. items:
  63. properties:
  64. error:
  65. type: number
  66. reason:
  67. type: string
  68. default:
  69. description: |
  70. Error in authentication
  71. /users/register:
  72. post:
  73. operationId: register
  74. summary: Register with REST API
  75. description: |
  76. Notes:
  77. - You will need to provide the token for any of the authenticated methods.
  78. consumes:
  79. - application/x-www-form-urlencoded
  80. - application/json
  81. tags:
  82. - Login
  83. parameters:
  84. - name: username
  85. in: formData
  86. required: true
  87. description: |
  88. Your username
  89. type: string
  90. - name: password
  91. in: formData
  92. required: true
  93. description: |
  94. Your password
  95. type: string
  96. format: password
  97. - name: email
  98. in: formData
  99. required: true
  100. description: |
  101. Your email
  102. type: string
  103. responses:
  104. 200:
  105. description: |-
  106. Successful registration
  107. schema:
  108. items:
  109. properties:
  110. id:
  111. type: string
  112. token:
  113. type: string
  114. tokenExpires:
  115. type: string
  116. 400:
  117. description: |
  118. Error in registration
  119. schema:
  120. items:
  121. properties:
  122. error:
  123. type: number
  124. reason:
  125. type: string
  126. default:
  127. description: |
  128. Error in registration
  129. /api/boards:
  130. get:
  131. operationId: get_public_boards
  132. summary: Get all public boards
  133. tags:
  134. - Boards
  135. produces:
  136. - application/json
  137. security:
  138. - UserSecurity: []
  139. responses:
  140. '200':
  141. description: |-
  142. 200 response
  143. schema:
  144. type: array
  145. items:
  146. type: object
  147. properties:
  148. _id:
  149. type: string
  150. title:
  151. type: string
  152. post:
  153. operationId: new_board
  154. summary: Create a board
  155. description: |
  156. This allows to create a board.
  157. The color has to be chosen between `belize`, `nephritis`, `pomegranate`,
  158. `pumpkin`, `wisteria`, `moderatepink`, `strongcyan`,
  159. `limegreen`, `midnight`, `dark`, `relax`, `corteza`:
  160. <img src="https://wekan.github.io/board-colors.png" width="40%" alt="Wekan logo" />
  161. tags:
  162. - Boards
  163. consumes:
  164. - multipart/form-data
  165. - application/json
  166. parameters:
  167. - name: title
  168. in: formData
  169. description: |
  170. the new title of the board
  171. type: string
  172. required: true
  173. - name: owner
  174. in: formData
  175. description: |
  176. "ABCDE12345" <= User ID in Wekan.
  177. (Not username or email)
  178. type: string
  179. required: true
  180. - name: isAdmin
  181. in: formData
  182. description: |
  183. is the owner an admin of the board (default true)
  184. type: boolean
  185. required: false
  186. - name: isActive
  187. in: formData
  188. description: |
  189. is the board active (default true)
  190. type: boolean
  191. required: false
  192. - name: isNoComments
  193. in: formData
  194. description: |
  195. disable comments (default false)
  196. type: boolean
  197. required: false
  198. - name: isCommentOnly
  199. in: formData
  200. description: |
  201. only enable comments (default false)
  202. type: boolean
  203. required: false
  204. - name: permission
  205. in: formData
  206. description: |
  207. "private" board <== Set to "public" if you
  208. want public Wekan board
  209. type: string
  210. required: false
  211. - name: color
  212. in: formData
  213. description: |
  214. the color of the board
  215. type: string
  216. required: false
  217. produces:
  218. - application/json
  219. security:
  220. - UserSecurity: []
  221. responses:
  222. '200':
  223. description: |-
  224. 200 response
  225. schema:
  226. type: object
  227. properties:
  228. _id:
  229. type: string
  230. defaultSwimlaneId:
  231. type: string
  232. /api/boards/{board}:
  233. get:
  234. operationId: get_board
  235. summary: Get the board with that particular ID
  236. tags:
  237. - Boards
  238. parameters:
  239. - name: board
  240. in: path
  241. description: |
  242. the ID of the board to retrieve the data
  243. type: string
  244. required: true
  245. produces:
  246. - application/json
  247. security:
  248. - UserSecurity: []
  249. responses:
  250. '200':
  251. description: |-
  252. 200 response
  253. schema:
  254. $ref: "#/definitions/Boards"
  255. delete:
  256. operationId: delete_board
  257. summary: Delete a board
  258. tags:
  259. - Boards
  260. parameters:
  261. - name: board
  262. in: path
  263. description: |
  264. the ID of the board
  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. /api/boards/{board}/cards/{card}/checklists:
  276. get:
  277. operationId: get_board_card_checklists
  278. tags:
  279. - Checklists
  280. parameters:
  281. - name: board
  282. in: path
  283. description: the board value
  284. type: string
  285. required: true
  286. - name: card
  287. in: path
  288. description: the card value
  289. type: string
  290. required: true
  291. produces:
  292. - application/json
  293. security:
  294. - UserSecurity: []
  295. responses:
  296. '200':
  297. description: |-
  298. 200 response
  299. post:
  300. operationId: post_board_card_checklists
  301. tags:
  302. - Checklists
  303. consumes:
  304. - multipart/form-data
  305. - application/json
  306. parameters:
  307. - name: title
  308. in: formData
  309. description: the title value
  310. type: string
  311. required: true
  312. - name: board
  313. in: path
  314. description: the board value
  315. type: string
  316. required: true
  317. - name: card
  318. in: path
  319. description: the card value
  320. type: string
  321. required: true
  322. produces:
  323. - application/json
  324. security:
  325. - UserSecurity: []
  326. responses:
  327. '200':
  328. description: |-
  329. 200 response
  330. /api/boards/{board}/cards/{card}/checklists/{checklist}:
  331. get:
  332. operationId: get_board_card_checklist
  333. tags:
  334. - Checklists
  335. parameters:
  336. - name: board
  337. in: path
  338. description: the board value
  339. type: string
  340. required: true
  341. - name: card
  342. in: path
  343. description: the card value
  344. type: string
  345. required: true
  346. - name: checklist
  347. in: path
  348. description: the checklist value
  349. type: string
  350. required: true
  351. produces:
  352. - application/json
  353. security:
  354. - UserSecurity: []
  355. responses:
  356. '200':
  357. description: |-
  358. 200 response
  359. delete:
  360. operationId: delete_board_card_checklist
  361. tags:
  362. - Checklists
  363. parameters:
  364. - name: board
  365. in: path
  366. description: the board value
  367. type: string
  368. required: true
  369. - name: card
  370. in: path
  371. description: the card value
  372. type: string
  373. required: true
  374. - name: checklist
  375. in: path
  376. description: the checklist value
  377. type: string
  378. required: true
  379. produces:
  380. - application/json
  381. security:
  382. - UserSecurity: []
  383. responses:
  384. '200':
  385. description: |-
  386. 200 response
  387. /api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}:
  388. get:
  389. operationId: get_board_card_checklist_item
  390. tags:
  391. - ChecklistItems
  392. parameters:
  393. - name: board
  394. in: path
  395. description: the board value
  396. type: string
  397. required: true
  398. - name: card
  399. in: path
  400. description: the card value
  401. type: string
  402. required: true
  403. - name: checklist
  404. in: path
  405. description: the checklist value
  406. type: string
  407. required: true
  408. - name: item
  409. in: path
  410. description: the item value
  411. type: string
  412. required: true
  413. produces:
  414. - application/json
  415. security:
  416. - UserSecurity: []
  417. responses:
  418. '200':
  419. description: |-
  420. 200 response
  421. put:
  422. operationId: put_board_card_checklist_item
  423. tags:
  424. - ChecklistItems
  425. consumes:
  426. - multipart/form-data
  427. - application/json
  428. parameters:
  429. - name: isFinished
  430. in: formData
  431. description: the isFinished value
  432. type: string
  433. required: true
  434. - name: title
  435. in: formData
  436. description: the title value
  437. type: string
  438. required: true
  439. - name: board
  440. in: path
  441. description: the board value
  442. type: string
  443. required: true
  444. - name: card
  445. in: path
  446. description: the card value
  447. type: string
  448. required: true
  449. - name: checklist
  450. in: path
  451. description: the checklist value
  452. type: string
  453. required: true
  454. - name: item
  455. in: path
  456. description: the item value
  457. type: string
  458. required: true
  459. produces:
  460. - application/json
  461. security:
  462. - UserSecurity: []
  463. responses:
  464. '200':
  465. description: |-
  466. 200 response
  467. delete:
  468. operationId: delete_board_card_checklist_item
  469. tags:
  470. - ChecklistItems
  471. parameters:
  472. - name: board
  473. in: path
  474. description: the board value
  475. type: string
  476. required: true
  477. - name: card
  478. in: path
  479. description: the card value
  480. type: string
  481. required: true
  482. - name: checklist
  483. in: path
  484. description: the checklist value
  485. type: string
  486. required: true
  487. - name: item
  488. in: path
  489. description: the item value
  490. type: string
  491. required: true
  492. produces:
  493. - application/json
  494. security:
  495. - UserSecurity: []
  496. responses:
  497. '200':
  498. description: |-
  499. 200 response
  500. /api/boards/{board}/cards/{card}/comments:
  501. get:
  502. operationId: get_all_comments
  503. summary: Get all comments attached to a card
  504. tags:
  505. - CardComments
  506. parameters:
  507. - name: board
  508. in: path
  509. description: |
  510. the board ID of the card
  511. type: string
  512. required: true
  513. - name: card
  514. in: path
  515. description: |
  516. the ID of the card
  517. type: string
  518. required: true
  519. produces:
  520. - application/json
  521. security:
  522. - UserSecurity: []
  523. responses:
  524. '200':
  525. description: |-
  526. 200 response
  527. schema:
  528. type: array
  529. items:
  530. type: object
  531. properties:
  532. _id:
  533. type: string
  534. comment:
  535. type: string
  536. authorId:
  537. type: string
  538. post:
  539. operationId: post_board_card_comments
  540. tags:
  541. - CardComments
  542. consumes:
  543. - multipart/form-data
  544. - application/json
  545. parameters:
  546. - name: authorId
  547. in: formData
  548. description: the authorId value
  549. type: string
  550. required: true
  551. - name: comment
  552. in: formData
  553. description: the comment value
  554. type: string
  555. required: true
  556. - name: board
  557. in: path
  558. description: the board value
  559. type: string
  560. required: true
  561. - name: card
  562. in: path
  563. description: the card value
  564. type: string
  565. required: true
  566. produces:
  567. - application/json
  568. security:
  569. - UserSecurity: []
  570. responses:
  571. '200':
  572. description: |-
  573. 200 response
  574. /api/boards/{board}/cards/{card}/comments/{comment}:
  575. get:
  576. operationId: get_board_card_comment
  577. tags:
  578. - CardComments
  579. parameters:
  580. - name: board
  581. in: path
  582. description: the board value
  583. type: string
  584. required: true
  585. - name: card
  586. in: path
  587. description: the card value
  588. type: string
  589. required: true
  590. - name: comment
  591. in: path
  592. description: the comment value
  593. type: string
  594. required: true
  595. produces:
  596. - application/json
  597. security:
  598. - UserSecurity: []
  599. responses:
  600. '200':
  601. description: |-
  602. 200 response
  603. delete:
  604. operationId: delete_board_card_comment
  605. tags:
  606. - CardComments
  607. parameters:
  608. - name: board
  609. in: path
  610. description: the board value
  611. type: string
  612. required: true
  613. - name: card
  614. in: path
  615. description: the card value
  616. type: string
  617. required: true
  618. - name: comment
  619. in: path
  620. description: the comment value
  621. type: string
  622. required: true
  623. produces:
  624. - application/json
  625. security:
  626. - UserSecurity: []
  627. responses:
  628. '200':
  629. description: |-
  630. 200 response
  631. /api/boards/{board}/custom-fields:
  632. get:
  633. operationId: get_all_custom_fields
  634. summary: Get the list of Custom Fields attached to a board
  635. tags:
  636. - CustomFields
  637. parameters:
  638. - name: board
  639. in: path
  640. description: the board value
  641. type: string
  642. required: true
  643. produces:
  644. - application/json
  645. security:
  646. - UserSecurity: []
  647. responses:
  648. '200':
  649. description: |-
  650. 200 response
  651. schema:
  652. type: array
  653. items:
  654. type: object
  655. properties:
  656. _id:
  657. type: string
  658. name:
  659. type: string
  660. type:
  661. type: string
  662. post:
  663. operationId: new_custom_field
  664. summary: Create a Custom Field
  665. tags:
  666. - CustomFields
  667. consumes:
  668. - multipart/form-data
  669. - application/json
  670. parameters:
  671. - name: name
  672. in: formData
  673. description: |
  674. the name of the custom field
  675. type: string
  676. required: true
  677. - name: type
  678. in: formData
  679. description: |
  680. the type of the custom field
  681. type: string
  682. required: true
  683. - name: settings
  684. in: formData
  685. description: |
  686. the settings object of the custom field
  687. type: string
  688. required: true
  689. - name: showOnCard
  690. in: formData
  691. description: |
  692. should we show the custom field on cards?
  693. type: boolean
  694. required: true
  695. - name: automaticallyOnCard
  696. in: formData
  697. description: |
  698. should the custom fields automatically be added on cards?
  699. type: boolean
  700. required: true
  701. - name: showLabelOnMiniCard
  702. in: formData
  703. description: |
  704. should the label of the custom field be shown on minicards?
  705. type: boolean
  706. required: true
  707. - name: authorId
  708. in: formData
  709. description: the authorId value
  710. type: string
  711. required: true
  712. - name: board
  713. in: path
  714. description: the board value
  715. type: string
  716. required: true
  717. produces:
  718. - application/json
  719. security:
  720. - UserSecurity: []
  721. responses:
  722. '200':
  723. description: |-
  724. 200 response
  725. schema:
  726. type: object
  727. properties:
  728. _id:
  729. type: string
  730. /api/boards/{board}/custom-fields/{customField}:
  731. get:
  732. operationId: get_board_customField
  733. tags:
  734. - CustomFields
  735. parameters:
  736. - name: board
  737. in: path
  738. description: the board value
  739. type: string
  740. required: true
  741. - name: customField
  742. in: path
  743. description: the customField value
  744. type: string
  745. required: true
  746. produces:
  747. - application/json
  748. security:
  749. - UserSecurity: []
  750. responses:
  751. '200':
  752. description: |-
  753. 200 response
  754. delete:
  755. operationId: delete_board_customField
  756. tags:
  757. - CustomFields
  758. parameters:
  759. - name: board
  760. in: path
  761. description: the board value
  762. type: string
  763. required: true
  764. - name: customField
  765. in: path
  766. description: the customField value
  767. type: string
  768. required: true
  769. produces:
  770. - application/json
  771. security:
  772. - UserSecurity: []
  773. responses:
  774. '200':
  775. description: |-
  776. 200 response
  777. /api/boards/{board}/export:
  778. get:
  779. operationId: export
  780. summary: This route is used to export the board.
  781. description: |
  782. If user is already logged-in, pass loginToken as param
  783. "authToken": '/api/boards/:boardId/export?authToken=:token'
  784. See https://blog.kayla.com.au/server-side-route-authentication-in-meteor/
  785. for detailed explanations
  786. tags:
  787. - Boards
  788. parameters:
  789. - name: board
  790. in: path
  791. description: |
  792. the ID of the board we are exporting
  793. type: string
  794. required: true
  795. produces:
  796. - application/json
  797. security:
  798. - UserSecurity: []
  799. responses:
  800. '200':
  801. description: |-
  802. 200 response
  803. /api/boards/{board}/integrations:
  804. get:
  805. operationId: get_all_integrations
  806. summary: Get all integrations in board
  807. tags:
  808. - Integrations
  809. parameters:
  810. - name: board
  811. in: path
  812. description: |
  813. the board ID
  814. type: string
  815. required: true
  816. produces:
  817. - application/json
  818. security:
  819. - UserSecurity: []
  820. responses:
  821. '200':
  822. description: |-
  823. 200 response
  824. schema:
  825. type: array
  826. items:
  827. $ref: "#/definitions/Integrations"
  828. post:
  829. operationId: new_integration
  830. summary: Create a new integration
  831. tags:
  832. - Integrations
  833. consumes:
  834. - multipart/form-data
  835. - application/json
  836. parameters:
  837. - name: url
  838. in: formData
  839. description: |
  840. the URL of the integration
  841. type: string
  842. required: true
  843. - name: board
  844. in: path
  845. description: |
  846. the board ID
  847. type: string
  848. required: true
  849. produces:
  850. - application/json
  851. security:
  852. - UserSecurity: []
  853. responses:
  854. '200':
  855. description: |-
  856. 200 response
  857. schema:
  858. type: object
  859. properties:
  860. _id:
  861. type: string
  862. /api/boards/{board}/integrations/{int}:
  863. get:
  864. operationId: get_integration
  865. summary: Get a single integration in board
  866. tags:
  867. - Integrations
  868. parameters:
  869. - name: board
  870. in: path
  871. description: |
  872. the board ID
  873. type: string
  874. required: true
  875. - name: int
  876. in: path
  877. description: |
  878. the integration ID
  879. type: string
  880. required: true
  881. produces:
  882. - application/json
  883. security:
  884. - UserSecurity: []
  885. responses:
  886. '200':
  887. description: |-
  888. 200 response
  889. schema:
  890. $ref: "#/definitions/Integrations"
  891. put:
  892. operationId: edit_integration
  893. summary: Edit integration data
  894. tags:
  895. - Integrations
  896. consumes:
  897. - multipart/form-data
  898. - application/json
  899. parameters:
  900. - name: enabled
  901. in: formData
  902. description: |
  903. is the integration enabled?
  904. type: string
  905. required: false
  906. - name: title
  907. in: formData
  908. description: |
  909. new name of the integration
  910. type: string
  911. required: false
  912. - name: url
  913. in: formData
  914. description: |
  915. new URL of the integration
  916. type: string
  917. required: false
  918. - name: token
  919. in: formData
  920. description: |
  921. new token of the integration
  922. type: string
  923. required: false
  924. - name: activities
  925. in: formData
  926. description: |
  927. new list of activities of the integration
  928. type: string
  929. required: false
  930. - name: board
  931. in: path
  932. description: |
  933. the board ID
  934. type: string
  935. required: true
  936. - name: int
  937. in: path
  938. description: |
  939. the integration ID
  940. type: string
  941. required: true
  942. produces:
  943. - application/json
  944. security:
  945. - UserSecurity: []
  946. responses:
  947. '200':
  948. description: |-
  949. 200 response
  950. schema:
  951. type: object
  952. properties:
  953. _id:
  954. type: string
  955. delete:
  956. operationId: delete_integration
  957. summary: Delete integration
  958. tags:
  959. - Integrations
  960. parameters:
  961. - name: board
  962. in: path
  963. description: |
  964. the board ID
  965. type: string
  966. required: true
  967. - name: int
  968. in: path
  969. description: |
  970. the integration ID
  971. type: string
  972. required: true
  973. produces:
  974. - application/json
  975. security:
  976. - UserSecurity: []
  977. responses:
  978. '200':
  979. description: |-
  980. 200 response
  981. schema:
  982. type: object
  983. properties:
  984. _id:
  985. type: string
  986. /api/boards/{board}/integrations/{int}/activities:
  987. delete:
  988. operationId: delete_board_int_activities
  989. tags:
  990. - Integrations
  991. parameters:
  992. - name: board
  993. in: path
  994. description: the board value
  995. type: string
  996. required: true
  997. - name: int
  998. in: path
  999. description: the int value
  1000. type: string
  1001. required: true
  1002. produces:
  1003. - application/json
  1004. security:
  1005. - UserSecurity: []
  1006. responses:
  1007. '200':
  1008. description: |-
  1009. 200 response
  1010. post:
  1011. operationId: post_board_int_activities
  1012. tags:
  1013. - Integrations
  1014. consumes:
  1015. - multipart/form-data
  1016. - application/json
  1017. parameters:
  1018. - name: activities
  1019. in: formData
  1020. description: the activities value
  1021. type: string
  1022. required: true
  1023. - name: board
  1024. in: path
  1025. description: the board value
  1026. type: string
  1027. required: true
  1028. - name: int
  1029. in: path
  1030. description: the int value
  1031. type: string
  1032. required: true
  1033. produces:
  1034. - application/json
  1035. security:
  1036. - UserSecurity: []
  1037. responses:
  1038. '200':
  1039. description: |-
  1040. 200 response
  1041. /api/boards/{board}/labels:
  1042. put:
  1043. operationId: add_board_label
  1044. summary: Add a label to a board
  1045. description: |
  1046. If the board doesn't have the name/color label, this function
  1047. adds the label to the board.
  1048. tags:
  1049. - Boards
  1050. consumes:
  1051. - multipart/form-data
  1052. - application/json
  1053. parameters:
  1054. - name: label
  1055. in: formData
  1056. description: the label value
  1057. type: string
  1058. required: true
  1059. - name: board
  1060. in: path
  1061. description: |
  1062. the board
  1063. type: string
  1064. required: true
  1065. produces:
  1066. - application/json
  1067. security:
  1068. - UserSecurity: []
  1069. responses:
  1070. '200':
  1071. description: |-
  1072. 200 response
  1073. schema:
  1074. type: string
  1075. /api/boards/{board}/lists:
  1076. get:
  1077. operationId: get_all_lists
  1078. summary: Get the list of Lists attached to a board
  1079. tags:
  1080. - Lists
  1081. parameters:
  1082. - name: board
  1083. in: path
  1084. description: |
  1085. the board ID
  1086. type: string
  1087. required: true
  1088. produces:
  1089. - application/json
  1090. security:
  1091. - UserSecurity: []
  1092. responses:
  1093. '200':
  1094. description: |-
  1095. 200 response
  1096. schema:
  1097. type: array
  1098. items:
  1099. type: object
  1100. properties:
  1101. _id:
  1102. type: string
  1103. title:
  1104. type: string
  1105. post:
  1106. operationId: new_list
  1107. summary: Add a List to a board
  1108. tags:
  1109. - Lists
  1110. consumes:
  1111. - multipart/form-data
  1112. - application/json
  1113. parameters:
  1114. - name: title
  1115. in: formData
  1116. description: |
  1117. the title of the List
  1118. type: string
  1119. required: true
  1120. - name: board
  1121. in: path
  1122. description: |
  1123. the board ID
  1124. type: string
  1125. required: true
  1126. produces:
  1127. - application/json
  1128. security:
  1129. - UserSecurity: []
  1130. responses:
  1131. '200':
  1132. description: |-
  1133. 200 response
  1134. schema:
  1135. type: object
  1136. properties:
  1137. _id:
  1138. type: string
  1139. /api/boards/{board}/lists/{list}:
  1140. get:
  1141. operationId: get_list
  1142. summary: Get a List attached to a board
  1143. tags:
  1144. - Lists
  1145. parameters:
  1146. - name: board
  1147. in: path
  1148. description: |
  1149. the board ID
  1150. type: string
  1151. required: true
  1152. - name: list
  1153. in: path
  1154. description: |
  1155. the List ID
  1156. type: string
  1157. required: true
  1158. produces:
  1159. - application/json
  1160. security:
  1161. - UserSecurity: []
  1162. responses:
  1163. '200':
  1164. description: |-
  1165. 200 response
  1166. schema:
  1167. $ref: "#/definitions/Lists"
  1168. delete:
  1169. operationId: delete_list
  1170. summary: Delete a List
  1171. description: |
  1172. This **deletes** a list from a board.
  1173. The list is not put in the recycle bin.
  1174. tags:
  1175. - Lists
  1176. parameters:
  1177. - name: board
  1178. in: path
  1179. description: |
  1180. the board ID
  1181. type: string
  1182. required: true
  1183. - name: list
  1184. in: path
  1185. description: |
  1186. the ID of the list to remove
  1187. type: string
  1188. required: true
  1189. produces:
  1190. - application/json
  1191. security:
  1192. - UserSecurity: []
  1193. responses:
  1194. '200':
  1195. description: |-
  1196. 200 response
  1197. schema:
  1198. type: object
  1199. properties:
  1200. _id:
  1201. type: string
  1202. /api/boards/{board}/lists/{list}/cards:
  1203. get:
  1204. operationId: get_all_cards
  1205. summary: Get all Cards attached to a List
  1206. tags:
  1207. - Cards
  1208. parameters:
  1209. - name: board
  1210. in: path
  1211. description: |
  1212. the board ID
  1213. type: string
  1214. required: true
  1215. - name: list
  1216. in: path
  1217. description: |
  1218. the list ID
  1219. type: string
  1220. required: true
  1221. produces:
  1222. - application/json
  1223. security:
  1224. - UserSecurity: []
  1225. responses:
  1226. '200':
  1227. description: |-
  1228. 200 response
  1229. schema:
  1230. type: array
  1231. items:
  1232. type: object
  1233. properties:
  1234. _id:
  1235. type: string
  1236. title:
  1237. type: string
  1238. description:
  1239. type: string
  1240. post:
  1241. operationId: new_card
  1242. summary: Create a new Card
  1243. tags:
  1244. - Cards
  1245. consumes:
  1246. - multipart/form-data
  1247. - application/json
  1248. parameters:
  1249. - name: authorId
  1250. in: formData
  1251. description: the authorId value
  1252. type: string
  1253. required: true
  1254. - name: members
  1255. in: formData
  1256. description: |
  1257. the member IDs list of the new card
  1258. type: string
  1259. required: false
  1260. - name: title
  1261. in: formData
  1262. description: |
  1263. the title of the new card
  1264. type: string
  1265. required: true
  1266. - name: description
  1267. in: formData
  1268. description: |
  1269. the description of the new card
  1270. type: string
  1271. required: true
  1272. - name: swimlaneId
  1273. in: formData
  1274. description: |
  1275. the swimlane ID of the new card
  1276. type: string
  1277. required: true
  1278. - name: board
  1279. in: path
  1280. description: |
  1281. the board ID of the new card
  1282. type: string
  1283. required: true
  1284. - name: list
  1285. in: path
  1286. description: |
  1287. the list ID of the new card
  1288. type: string
  1289. required: true
  1290. produces:
  1291. - application/json
  1292. security:
  1293. - UserSecurity: []
  1294. responses:
  1295. '200':
  1296. description: |-
  1297. 200 response
  1298. schema:
  1299. type: object
  1300. properties:
  1301. _id:
  1302. type: string
  1303. /api/boards/{board}/lists/{list}/cards/{card}:
  1304. get:
  1305. operationId: get_board_list_card
  1306. tags:
  1307. - Cards
  1308. parameters:
  1309. - name: board
  1310. in: path
  1311. description: the board value
  1312. type: string
  1313. required: true
  1314. - name: list
  1315. in: path
  1316. description: the list value
  1317. type: string
  1318. required: true
  1319. - name: card
  1320. in: path
  1321. description: the card value
  1322. type: string
  1323. required: true
  1324. produces:
  1325. - application/json
  1326. security:
  1327. - UserSecurity: []
  1328. responses:
  1329. '200':
  1330. description: |-
  1331. 200 response
  1332. put:
  1333. operationId: put_board_list_card
  1334. tags:
  1335. - Cards
  1336. consumes:
  1337. - multipart/form-data
  1338. - application/json
  1339. parameters:
  1340. - name: title
  1341. in: formData
  1342. description: the title value
  1343. type: string
  1344. required: true
  1345. - name: listId
  1346. in: formData
  1347. description: the listId value
  1348. type: string
  1349. required: true
  1350. - name: authorId
  1351. in: formData
  1352. description: the authorId value
  1353. type: string
  1354. required: true
  1355. - name: parentId
  1356. in: formData
  1357. description: the parentId value
  1358. type: string
  1359. required: true
  1360. - name: description
  1361. in: formData
  1362. description: the description value
  1363. type: string
  1364. required: true
  1365. - name: color
  1366. in: formData
  1367. description: the color value
  1368. type: string
  1369. required: true
  1370. - name: labelIds
  1371. in: formData
  1372. description: the labelIds value
  1373. type: string
  1374. required: true
  1375. - name: requestedBy
  1376. in: formData
  1377. description: the requestedBy value
  1378. type: string
  1379. required: true
  1380. - name: assignedBy
  1381. in: formData
  1382. description: the assignedBy value
  1383. type: string
  1384. required: true
  1385. - name: receivedAt
  1386. in: formData
  1387. description: the receivedAt value
  1388. type: string
  1389. required: true
  1390. - name: startAt
  1391. in: formData
  1392. description: the startAt value
  1393. type: string
  1394. required: true
  1395. - name: dueAt
  1396. in: formData
  1397. description: the dueAt value
  1398. type: string
  1399. required: true
  1400. - name: endAt
  1401. in: formData
  1402. description: the endAt value
  1403. type: string
  1404. required: true
  1405. - name: spentTime
  1406. in: formData
  1407. description: the spentTime value
  1408. type: string
  1409. required: true
  1410. - name: isOverTime
  1411. in: formData
  1412. description: the isOverTime value
  1413. type: string
  1414. required: true
  1415. - name: customFields
  1416. in: formData
  1417. description: the customFields value
  1418. type: string
  1419. required: true
  1420. - name: members
  1421. in: formData
  1422. description: the members value
  1423. type: string
  1424. required: true
  1425. - name: swimlaneId
  1426. in: formData
  1427. description: the swimlaneId value
  1428. type: string
  1429. required: true
  1430. - name: board
  1431. in: path
  1432. description: the board value
  1433. type: string
  1434. required: true
  1435. - name: list
  1436. in: path
  1437. description: the list value
  1438. type: string
  1439. required: true
  1440. - name: card
  1441. in: path
  1442. description: the card value
  1443. type: string
  1444. required: true
  1445. produces:
  1446. - application/json
  1447. security:
  1448. - UserSecurity: []
  1449. responses:
  1450. '200':
  1451. description: |-
  1452. 200 response
  1453. delete:
  1454. operationId: delete_board_list_card
  1455. tags:
  1456. - Cards
  1457. parameters:
  1458. - name: board
  1459. in: path
  1460. description: the board value
  1461. type: string
  1462. required: true
  1463. - name: list
  1464. in: path
  1465. description: the list value
  1466. type: string
  1467. required: true
  1468. - name: card
  1469. in: path
  1470. description: the card value
  1471. type: string
  1472. required: true
  1473. produces:
  1474. - application/json
  1475. security:
  1476. - UserSecurity: []
  1477. responses:
  1478. '200':
  1479. description: |-
  1480. 200 response
  1481. /api/boards/{board}/members/{member}:
  1482. post:
  1483. operationId: set_board_member_permission
  1484. summary: Change the permission of a member of a board
  1485. tags:
  1486. - Boards
  1487. - Users
  1488. consumes:
  1489. - multipart/form-data
  1490. - application/json
  1491. parameters:
  1492. - name: isAdmin
  1493. in: formData
  1494. description: |
  1495. admin capability
  1496. type: boolean
  1497. required: true
  1498. - name: isNoComments
  1499. in: formData
  1500. description: |
  1501. NoComments capability
  1502. type: boolean
  1503. required: true
  1504. - name: isCommentOnly
  1505. in: formData
  1506. description: |
  1507. CommentsOnly capability
  1508. type: boolean
  1509. required: true
  1510. - name: board
  1511. in: path
  1512. description: |
  1513. the ID of the board that we are changing
  1514. type: string
  1515. required: true
  1516. - name: member
  1517. in: path
  1518. description: |
  1519. the ID of the user to change permissions
  1520. type: string
  1521. required: true
  1522. produces:
  1523. - application/json
  1524. security:
  1525. - UserSecurity: []
  1526. responses:
  1527. '200':
  1528. description: |-
  1529. 200 response
  1530. /api/boards/{board}/members/{user}/add:
  1531. post:
  1532. operationId: add_board_member
  1533. summary: Add New Board Member with Role
  1534. description: |
  1535. Only the admin user (the first user) can call the REST API.
  1536. **Note**: see [Boards.set_board_member_permission](#set_board_member_permission)
  1537. to later change the permissions.
  1538. tags:
  1539. - Users
  1540. - Boards
  1541. consumes:
  1542. - multipart/form-data
  1543. - application/json
  1544. parameters:
  1545. - name: action
  1546. in: formData
  1547. description: the action value
  1548. type: string
  1549. required: true
  1550. - name: isAdmin
  1551. in: formData
  1552. description: |
  1553. is the user an admin of the board
  1554. type: boolean
  1555. required: true
  1556. - name: isNoComments
  1557. in: formData
  1558. description: |
  1559. disable comments
  1560. type: boolean
  1561. required: true
  1562. - name: isCommentOnly
  1563. in: formData
  1564. description: |
  1565. only enable comments
  1566. type: boolean
  1567. required: true
  1568. - name: board
  1569. in: path
  1570. description: |
  1571. the board ID
  1572. type: string
  1573. required: true
  1574. - name: user
  1575. in: path
  1576. description: |
  1577. the user ID
  1578. type: string
  1579. required: true
  1580. produces:
  1581. - application/json
  1582. security:
  1583. - UserSecurity: []
  1584. responses:
  1585. '200':
  1586. description: |-
  1587. 200 response
  1588. schema:
  1589. type: object
  1590. properties:
  1591. _id:
  1592. type: string
  1593. title:
  1594. type: string
  1595. /api/boards/{board}/members/{user}/remove:
  1596. post:
  1597. operationId: post_board_user_remove
  1598. tags:
  1599. - Users
  1600. consumes:
  1601. - multipart/form-data
  1602. - application/json
  1603. parameters:
  1604. - name: action
  1605. in: formData
  1606. description: the action value
  1607. type: string
  1608. required: true
  1609. - name: board
  1610. in: path
  1611. description: the board value
  1612. type: string
  1613. required: true
  1614. - name: user
  1615. in: path
  1616. description: the user value
  1617. type: string
  1618. required: true
  1619. produces:
  1620. - application/json
  1621. security:
  1622. - UserSecurity: []
  1623. responses:
  1624. '200':
  1625. description: |-
  1626. 200 response
  1627. /api/boards/{board}/swimlanes:
  1628. get:
  1629. operationId: get_all_swimlanes
  1630. summary: Get the list of swimlanes attached to a board
  1631. tags:
  1632. - Swimlanes
  1633. parameters:
  1634. - name: board
  1635. in: path
  1636. description: |
  1637. the ID of the board
  1638. type: string
  1639. required: true
  1640. produces:
  1641. - application/json
  1642. security:
  1643. - UserSecurity: []
  1644. responses:
  1645. '200':
  1646. description: |-
  1647. 200 response
  1648. schema:
  1649. type: array
  1650. items:
  1651. type: object
  1652. properties:
  1653. _id:
  1654. type: string
  1655. title:
  1656. type: string
  1657. post:
  1658. operationId: new_swimlane
  1659. summary: Add a swimlane to a board
  1660. tags:
  1661. - Swimlanes
  1662. consumes:
  1663. - multipart/form-data
  1664. - application/json
  1665. parameters:
  1666. - name: title
  1667. in: formData
  1668. description: |
  1669. the new title of the swimlane
  1670. type: string
  1671. required: true
  1672. - name: board
  1673. in: path
  1674. description: |
  1675. the ID of the board
  1676. type: string
  1677. required: true
  1678. produces:
  1679. - application/json
  1680. security:
  1681. - UserSecurity: []
  1682. responses:
  1683. '200':
  1684. description: |-
  1685. 200 response
  1686. schema:
  1687. type: object
  1688. properties:
  1689. _id:
  1690. type: string
  1691. /api/boards/{board}/swimlanes/{swimlane}:
  1692. get:
  1693. operationId: get_swimlane
  1694. summary: Get a swimlane
  1695. tags:
  1696. - Swimlanes
  1697. parameters:
  1698. - name: board
  1699. in: path
  1700. description: |
  1701. the ID of the board
  1702. type: string
  1703. required: true
  1704. - name: swimlane
  1705. in: path
  1706. description: |
  1707. the ID of the swimlane
  1708. type: string
  1709. required: true
  1710. produces:
  1711. - application/json
  1712. security:
  1713. - UserSecurity: []
  1714. responses:
  1715. '200':
  1716. description: |-
  1717. 200 response
  1718. schema:
  1719. $ref: "#/definitions/Swimlanes"
  1720. delete:
  1721. operationId: delete_board_swimlane
  1722. tags:
  1723. - Swimlanes
  1724. parameters:
  1725. - name: board
  1726. in: path
  1727. description: the board value
  1728. type: string
  1729. required: true
  1730. - name: swimlane
  1731. in: path
  1732. description: the swimlane value
  1733. type: string
  1734. required: true
  1735. produces:
  1736. - application/json
  1737. security:
  1738. - UserSecurity: []
  1739. responses:
  1740. '200':
  1741. description: |-
  1742. 200 response
  1743. /api/boards/{board}/swimlanes/{swimlane}/cards:
  1744. get:
  1745. operationId: get_board_swimlane_cards
  1746. tags:
  1747. - Cards
  1748. parameters:
  1749. - name: board
  1750. in: path
  1751. description: the board value
  1752. type: string
  1753. required: true
  1754. - name: swimlane
  1755. in: path
  1756. description: the swimlane value
  1757. type: string
  1758. required: true
  1759. produces:
  1760. - application/json
  1761. security:
  1762. - UserSecurity: []
  1763. responses:
  1764. '200':
  1765. description: |-
  1766. 200 response
  1767. /api/user:
  1768. get:
  1769. operationId: get_current_user
  1770. summary: returns the current user
  1771. tags:
  1772. - Users
  1773. produces:
  1774. - application/json
  1775. security:
  1776. - UserSecurity: []
  1777. responses:
  1778. '200':
  1779. description: |-
  1780. 200 response
  1781. schema:
  1782. $ref: "#/definitions/Users"
  1783. /api/users:
  1784. get:
  1785. operationId: get_all_users
  1786. summary: return all the users
  1787. description: |
  1788. Only the admin user (the first user) can call the REST API.
  1789. tags:
  1790. - Users
  1791. produces:
  1792. - application/json
  1793. security:
  1794. - UserSecurity: []
  1795. responses:
  1796. '200':
  1797. description: |-
  1798. 200 response
  1799. schema:
  1800. type: array
  1801. items:
  1802. type: object
  1803. properties:
  1804. _id:
  1805. type: string
  1806. username:
  1807. type: string
  1808. post:
  1809. operationId: new_user
  1810. summary: Create a new user
  1811. description: |
  1812. Only the admin user (the first user) can call the REST API.
  1813. tags:
  1814. - Users
  1815. consumes:
  1816. - multipart/form-data
  1817. - application/json
  1818. parameters:
  1819. - name: username
  1820. in: formData
  1821. description: |
  1822. the new username
  1823. type: string
  1824. required: true
  1825. - name: email
  1826. in: formData
  1827. description: |
  1828. the email of the new user
  1829. type: string
  1830. required: true
  1831. - name: password
  1832. in: formData
  1833. description: |
  1834. the password of the new user
  1835. type: string
  1836. required: true
  1837. produces:
  1838. - application/json
  1839. security:
  1840. - UserSecurity: []
  1841. responses:
  1842. '200':
  1843. description: |-
  1844. 200 response
  1845. schema:
  1846. type: object
  1847. properties:
  1848. _id:
  1849. type: string
  1850. /api/users/{user}:
  1851. get:
  1852. operationId: get_user
  1853. summary: get a given user
  1854. description: |
  1855. Only the admin user (the first user) can call the REST API.
  1856. tags:
  1857. - Users
  1858. parameters:
  1859. - name: user
  1860. in: path
  1861. description: |
  1862. the user ID
  1863. type: string
  1864. required: true
  1865. produces:
  1866. - application/json
  1867. security:
  1868. - UserSecurity: []
  1869. responses:
  1870. '200':
  1871. description: |-
  1872. 200 response
  1873. schema:
  1874. $ref: "#/definitions/Users"
  1875. put:
  1876. operationId: edit_user
  1877. summary: edit a given user
  1878. description: |
  1879. Only the admin user (the first user) can call the REST API.
  1880. Possible values for *action*:
  1881. - `takeOwnership`: The admin takes the ownership of ALL boards of the user (archived and not archived) where the user is admin on.
  1882. - `disableLogin`: Disable a user (the user is not allowed to login and his login tokens are purged)
  1883. - `enableLogin`: Enable a user
  1884. tags:
  1885. - Users
  1886. consumes:
  1887. - multipart/form-data
  1888. - application/json
  1889. parameters:
  1890. - name: action
  1891. in: formData
  1892. description: |
  1893. the action
  1894. type: string
  1895. required: true
  1896. - name: user
  1897. in: path
  1898. description: |
  1899. the user ID
  1900. type: string
  1901. required: true
  1902. produces:
  1903. - application/json
  1904. security:
  1905. - UserSecurity: []
  1906. responses:
  1907. '200':
  1908. description: |-
  1909. 200 response
  1910. schema:
  1911. type: object
  1912. properties:
  1913. _id:
  1914. type: string
  1915. title:
  1916. type: string
  1917. delete:
  1918. operationId: delete_user
  1919. summary: Delete a user
  1920. description: |
  1921. Only the admin user (the first user) can call the REST API.
  1922. tags:
  1923. - Users
  1924. parameters:
  1925. - name: user
  1926. in: path
  1927. description: |
  1928. the ID of the user to delete
  1929. type: string
  1930. required: true
  1931. produces:
  1932. - application/json
  1933. security:
  1934. - UserSecurity: []
  1935. responses:
  1936. '200':
  1937. description: |-
  1938. 200 response
  1939. schema:
  1940. type: object
  1941. properties:
  1942. _id:
  1943. type: string
  1944. /api/users/{user}/boards:
  1945. get:
  1946. operationId: get_boards_from_user
  1947. summary: Get all boards attached to a user
  1948. tags:
  1949. - Boards
  1950. parameters:
  1951. - name: user
  1952. in: path
  1953. description: |
  1954. the ID of the user to retrieve the data
  1955. type: string
  1956. required: true
  1957. produces:
  1958. - application/json
  1959. security:
  1960. - UserSecurity: []
  1961. responses:
  1962. '200':
  1963. description: |-
  1964. 200 response
  1965. schema:
  1966. type: array
  1967. items:
  1968. type: object
  1969. properties:
  1970. _id:
  1971. type: string
  1972. title:
  1973. type: string
  1974. definitions:
  1975. Boards:
  1976. type: object
  1977. description: This is a Board.
  1978. properties:
  1979. title:
  1980. description: |
  1981. The title of the board
  1982. type: string
  1983. slug:
  1984. description: |
  1985. The title slugified.
  1986. type: string
  1987. archived:
  1988. description: |
  1989. Is the board archived?
  1990. type: boolean
  1991. createdAt:
  1992. description: |
  1993. Creation time of the board
  1994. type: string
  1995. modifiedAt:
  1996. description: |
  1997. Last modification time of the board
  1998. type: string
  1999. x-nullable: true
  2000. stars:
  2001. description: |
  2002. How many stars the board has
  2003. type: number
  2004. labels:
  2005. description: |
  2006. List of labels attached to a board
  2007. type: array
  2008. items:
  2009. $ref: "#/definitions/BoardsLabels"
  2010. members:
  2011. description: |
  2012. List of members of a board
  2013. type: array
  2014. items:
  2015. $ref: "#/definitions/BoardsMembers"
  2016. permission:
  2017. description: |
  2018. visibility of the board
  2019. type: string
  2020. enum:
  2021. - public
  2022. - private
  2023. color:
  2024. description: |
  2025. The color of the board.
  2026. type: string
  2027. enum:
  2028. - belize
  2029. - nephritis
  2030. - pomegranate
  2031. - pumpkin
  2032. - wisteria
  2033. - moderatepink
  2034. - strongcyan
  2035. - limegreen
  2036. - midnight
  2037. - dark
  2038. - relax
  2039. - corteza
  2040. description:
  2041. description: |
  2042. The description of the board
  2043. type: string
  2044. x-nullable: true
  2045. subtasksDefaultBoardId:
  2046. description: |
  2047. The default board ID assigned to subtasks.
  2048. type: string
  2049. x-nullable: true
  2050. subtasksDefaultListId:
  2051. description: |
  2052. The default List ID assigned to subtasks.
  2053. type: string
  2054. x-nullable: true
  2055. allowsSubtasks:
  2056. description: |
  2057. Does the board allows subtasks?
  2058. type: boolean
  2059. presentParentTask:
  2060. description: |
  2061. Controls how to present the parent task:
  2062. - `prefix-with-full-path`: add a prefix with the full path
  2063. - `prefix-with-parent`: add a prefisx with the parent name
  2064. - `subtext-with-full-path`: add a subtext with the full path
  2065. - `subtext-with-parent`: add a subtext with the parent name
  2066. - `no-parent`: does not show the parent at all
  2067. type: string
  2068. enum:
  2069. - prefix-with-full-path
  2070. - prefix-with-parent
  2071. - subtext-with-full-path
  2072. - subtext-with-parent
  2073. - no-parent
  2074. x-nullable: true
  2075. startAt:
  2076. description: |
  2077. Starting date of the board.
  2078. type: string
  2079. x-nullable: true
  2080. dueAt:
  2081. description: |
  2082. Due date of the board.
  2083. type: string
  2084. x-nullable: true
  2085. endAt:
  2086. description: |
  2087. End date of the board.
  2088. type: string
  2089. x-nullable: true
  2090. spentTime:
  2091. description: |
  2092. Time spent in the board.
  2093. type: number
  2094. x-nullable: true
  2095. isOvertime:
  2096. description: |
  2097. Is the board overtimed?
  2098. type: boolean
  2099. x-nullable: true
  2100. type:
  2101. description: |
  2102. The type of board
  2103. type: string
  2104. required:
  2105. - title
  2106. - slug
  2107. - archived
  2108. - createdAt
  2109. - stars
  2110. - labels
  2111. - members
  2112. - permission
  2113. - color
  2114. - allowsSubtasks
  2115. - type
  2116. BoardsLabels:
  2117. type: object
  2118. properties:
  2119. _id:
  2120. description: |
  2121. Unique id of a label
  2122. type: string
  2123. name:
  2124. description: |
  2125. Name of a label
  2126. type: string
  2127. color:
  2128. description: |
  2129. color of a label.
  2130. Can be amongst `green`, `yellow`, `orange`, `red`, `purple`,
  2131. `blue`, `sky`, `lime`, `pink`, `black`,
  2132. `silver`, `peachpuff`, `crimson`, `plum`, `darkgreen`,
  2133. `slateblue`, `magenta`, `gold`, `navy`, `gray`,
  2134. `saddlebrown`, `paleturquoise`, `mistyrose`, `indigo`
  2135. type: string
  2136. enum:
  2137. - green
  2138. - yellow
  2139. - orange
  2140. - red
  2141. - purple
  2142. - blue
  2143. - sky
  2144. - lime
  2145. - pink
  2146. - black
  2147. - silver
  2148. - peachpuff
  2149. - crimson
  2150. - plum
  2151. - darkgreen
  2152. - slateblue
  2153. - magenta
  2154. - gold
  2155. - navy
  2156. - gray
  2157. - saddlebrown
  2158. - paleturquoise
  2159. - mistyrose
  2160. - indigo
  2161. required:
  2162. - _id
  2163. - color
  2164. BoardsMembers:
  2165. type: object
  2166. properties:
  2167. userId:
  2168. description: |
  2169. The uniq ID of the member
  2170. type: string
  2171. isAdmin:
  2172. description: |
  2173. Is the member an admin of the board?
  2174. type: boolean
  2175. isActive:
  2176. description: |
  2177. Is the member active?
  2178. type: boolean
  2179. isNoComments:
  2180. description: |
  2181. Is the member not allowed to make comments
  2182. type: boolean
  2183. isCommentOnly:
  2184. description: |
  2185. Is the member only allowed to comment on the board
  2186. type: boolean
  2187. required:
  2188. - userId
  2189. - isAdmin
  2190. - isActive
  2191. CardComments:
  2192. type: object
  2193. description: A comment on a card
  2194. properties:
  2195. boardId:
  2196. description: |
  2197. the board ID
  2198. type: string
  2199. cardId:
  2200. description: |
  2201. the card ID
  2202. type: string
  2203. text:
  2204. description: |
  2205. the text of the comment
  2206. type: string
  2207. createdAt:
  2208. description: |
  2209. when was the comment created
  2210. type: string
  2211. modifiedAt:
  2212. type: string
  2213. userId:
  2214. description: |
  2215. the author ID of the comment
  2216. type: string
  2217. required:
  2218. - boardId
  2219. - cardId
  2220. - text
  2221. - createdAt
  2222. - modifiedAt
  2223. - userId
  2224. Cards:
  2225. type: object
  2226. properties:
  2227. title:
  2228. description: |
  2229. the title of the card
  2230. type: string
  2231. x-nullable: true
  2232. archived:
  2233. description: |
  2234. is the card archived
  2235. type: boolean
  2236. parentId:
  2237. description: |
  2238. ID of the parent card
  2239. type: string
  2240. x-nullable: true
  2241. listId:
  2242. description: |
  2243. List ID where the card is
  2244. type: string
  2245. x-nullable: true
  2246. swimlaneId:
  2247. description: |
  2248. Swimlane ID where the card is
  2249. type: string
  2250. boardId:
  2251. description: |
  2252. Board ID of the card
  2253. type: string
  2254. x-nullable: true
  2255. coverId:
  2256. description: |
  2257. Cover ID of the card
  2258. type: string
  2259. x-nullable: true
  2260. color:
  2261. type: string
  2262. enum:
  2263. - white
  2264. - green
  2265. - yellow
  2266. - orange
  2267. - red
  2268. - purple
  2269. - blue
  2270. - sky
  2271. - lime
  2272. - pink
  2273. - black
  2274. - silver
  2275. - peachpuff
  2276. - crimson
  2277. - plum
  2278. - darkgreen
  2279. - slateblue
  2280. - magenta
  2281. - gold
  2282. - navy
  2283. - gray
  2284. - saddlebrown
  2285. - paleturquoise
  2286. - mistyrose
  2287. - indigo
  2288. x-nullable: true
  2289. createdAt:
  2290. description: |
  2291. creation date
  2292. type: string
  2293. modifiedAt:
  2294. type: string
  2295. customFields:
  2296. description: |
  2297. list of custom fields
  2298. type: array
  2299. items:
  2300. $ref: "#/definitions/CardsCustomfields"
  2301. x-nullable: true
  2302. dateLastActivity:
  2303. description: |
  2304. Date of last activity
  2305. type: string
  2306. description:
  2307. description: |
  2308. description of the card
  2309. type: string
  2310. x-nullable: true
  2311. requestedBy:
  2312. description: |
  2313. who requested the card (ID of the user)
  2314. type: string
  2315. x-nullable: true
  2316. assignedBy:
  2317. description: |
  2318. who assigned the card (ID of the user)
  2319. type: string
  2320. x-nullable: true
  2321. labelIds:
  2322. description: |
  2323. list of labels ID the card has
  2324. type: array
  2325. items:
  2326. type: string
  2327. x-nullable: true
  2328. x-nullable: true
  2329. members:
  2330. description: |
  2331. list of members (user IDs)
  2332. type: array
  2333. items:
  2334. type: string
  2335. x-nullable: true
  2336. x-nullable: true
  2337. receivedAt:
  2338. description: |
  2339. Date the card was received
  2340. type: string
  2341. x-nullable: true
  2342. startAt:
  2343. description: |
  2344. Date the card was started to be worked on
  2345. type: string
  2346. x-nullable: true
  2347. dueAt:
  2348. description: |
  2349. Date the card is due
  2350. type: string
  2351. x-nullable: true
  2352. endAt:
  2353. description: |
  2354. Date the card ended
  2355. type: string
  2356. x-nullable: true
  2357. spentTime:
  2358. description: |
  2359. How much time has been spent on this
  2360. type: number
  2361. x-nullable: true
  2362. isOvertime:
  2363. description: |
  2364. is the card over time?
  2365. type: boolean
  2366. x-nullable: true
  2367. userId:
  2368. description: |
  2369. user ID of the author of the card
  2370. type: string
  2371. sort:
  2372. description: |
  2373. Sort value
  2374. type: number
  2375. subtaskSort:
  2376. description: |
  2377. subtask sort value
  2378. type: number
  2379. x-nullable: true
  2380. type:
  2381. description: |
  2382. type of the card
  2383. type: string
  2384. linkedId:
  2385. description: |
  2386. ID of the linked card
  2387. type: string
  2388. x-nullable: true
  2389. required:
  2390. - archived
  2391. - swimlaneId
  2392. - createdAt
  2393. - modifiedAt
  2394. - dateLastActivity
  2395. - userId
  2396. - sort
  2397. - type
  2398. CardsCustomfields:
  2399. type: object
  2400. ChecklistItems:
  2401. type: object
  2402. description: An item in a checklist
  2403. properties:
  2404. title:
  2405. description: |
  2406. the text of the item
  2407. type: string
  2408. sort:
  2409. description: |
  2410. the sorting field of the item
  2411. type: number
  2412. isFinished:
  2413. description: |
  2414. Is the item checked?
  2415. type: boolean
  2416. checklistId:
  2417. description: |
  2418. the checklist ID the item is attached to
  2419. type: string
  2420. cardId:
  2421. description: |
  2422. the card ID the item is attached to
  2423. type: string
  2424. createdAt:
  2425. type: string
  2426. x-nullable: true
  2427. modifiedAt:
  2428. type: string
  2429. required:
  2430. - title
  2431. - sort
  2432. - isFinished
  2433. - checklistId
  2434. - cardId
  2435. - modifiedAt
  2436. Checklists:
  2437. type: object
  2438. description: A Checklist
  2439. properties:
  2440. cardId:
  2441. description: |
  2442. The ID of the card the checklist is in
  2443. type: string
  2444. title:
  2445. description: |
  2446. the title of the checklist
  2447. type: string
  2448. finishedAt:
  2449. description: |
  2450. When was the checklist finished
  2451. type: string
  2452. x-nullable: true
  2453. createdAt:
  2454. description: |
  2455. Creation date of the checklist
  2456. type: string
  2457. modifiedAt:
  2458. type: string
  2459. sort:
  2460. description: |
  2461. sorting value of the checklist
  2462. type: number
  2463. required:
  2464. - cardId
  2465. - title
  2466. - createdAt
  2467. - modifiedAt
  2468. - sort
  2469. CustomFields:
  2470. type: object
  2471. description: A custom field on a card in the board
  2472. properties:
  2473. boardIds:
  2474. description: |
  2475. the ID of the board
  2476. type: array
  2477. items:
  2478. type: string
  2479. name:
  2480. description: |
  2481. name of the custom field
  2482. type: string
  2483. type:
  2484. description: |
  2485. type of the custom field
  2486. type: string
  2487. enum:
  2488. - text
  2489. - number
  2490. - date
  2491. - dropdown
  2492. settings:
  2493. description: |
  2494. settings of the custom field
  2495. $ref: "#/definitions/CustomFieldsSettings"
  2496. showOnCard:
  2497. description: |
  2498. should we show on the cards this custom field
  2499. type: boolean
  2500. automaticallyOnCard:
  2501. description: |
  2502. should the custom fields automatically be added on cards?
  2503. type: boolean
  2504. showLabelOnMiniCard:
  2505. description: |
  2506. should the label of the custom field be shown on minicards?
  2507. type: boolean
  2508. createdAt:
  2509. type: string
  2510. x-nullable: true
  2511. modifiedAt:
  2512. type: string
  2513. required:
  2514. - boardIds
  2515. - name
  2516. - type
  2517. - settings
  2518. - showOnCard
  2519. - automaticallyOnCard
  2520. - showLabelOnMiniCard
  2521. - modifiedAt
  2522. CustomFieldsSettings:
  2523. type: object
  2524. properties:
  2525. dropdownItems:
  2526. description: |
  2527. list of drop down items objects
  2528. type: array
  2529. items:
  2530. $ref: "#/definitions/CustomFieldsSettingsDropdownitems"
  2531. CustomFieldsSettingsDropdownitems:
  2532. type: object
  2533. Integrations:
  2534. type: object
  2535. description: Integration with third-party applications
  2536. properties:
  2537. enabled:
  2538. description: |
  2539. is the integration enabled?
  2540. type: boolean
  2541. title:
  2542. description: |
  2543. name of the integration
  2544. type: string
  2545. x-nullable: true
  2546. type:
  2547. description: |
  2548. type of the integratation (Default to 'outgoing-webhooks')
  2549. type: string
  2550. activities:
  2551. description: |
  2552. activities the integration gets triggered (list)
  2553. type: array
  2554. items:
  2555. type: string
  2556. url:
  2557. type: string
  2558. token:
  2559. description: |
  2560. token of the integration
  2561. type: string
  2562. x-nullable: true
  2563. boardId:
  2564. description: |
  2565. Board ID of the integration
  2566. type: string
  2567. createdAt:
  2568. description: |
  2569. Creation date of the integration
  2570. type: string
  2571. modifiedAt:
  2572. type: string
  2573. userId:
  2574. description: |
  2575. user ID who created the interation
  2576. type: string
  2577. required:
  2578. - enabled
  2579. - type
  2580. - activities
  2581. - url
  2582. - boardId
  2583. - createdAt
  2584. - modifiedAt
  2585. - userId
  2586. Lists:
  2587. type: object
  2588. description: A list (column) in the Wekan board.
  2589. properties:
  2590. title:
  2591. description: |
  2592. the title of the list
  2593. type: string
  2594. archived:
  2595. description: |
  2596. is the list archived
  2597. type: boolean
  2598. boardId:
  2599. description: |
  2600. the board associated to this list
  2601. type: string
  2602. swimlaneId:
  2603. description: |
  2604. the swimlane associated to this list. Used for templates
  2605. type: string
  2606. createdAt:
  2607. description: |
  2608. creation date
  2609. type: string
  2610. sort:
  2611. description: |
  2612. is the list sorted
  2613. type: number
  2614. x-nullable: true
  2615. updatedAt:
  2616. description: |
  2617. last update of the list
  2618. type: string
  2619. x-nullable: true
  2620. modifiedAt:
  2621. type: string
  2622. wipLimit:
  2623. description: |
  2624. WIP object, see below
  2625. $ref: "#/definitions/ListsWiplimit"
  2626. x-nullable: true
  2627. color:
  2628. description: |
  2629. the color of the list
  2630. type: string
  2631. enum:
  2632. - white
  2633. - green
  2634. - yellow
  2635. - orange
  2636. - red
  2637. - purple
  2638. - blue
  2639. - sky
  2640. - lime
  2641. - pink
  2642. - black
  2643. - peachpuff
  2644. - crimson
  2645. - plum
  2646. - darkgreen
  2647. - slateblue
  2648. - magenta
  2649. - gold
  2650. - navy
  2651. - gray
  2652. - saddlebrown
  2653. - paleturquoise
  2654. - mistyrose
  2655. - indigo
  2656. x-nullable: true
  2657. type:
  2658. description: |
  2659. The type of list
  2660. type: string
  2661. required:
  2662. - title
  2663. - archived
  2664. - boardId
  2665. - swimlaneId
  2666. - createdAt
  2667. - modifiedAt
  2668. - type
  2669. ListsWiplimit:
  2670. type: object
  2671. properties:
  2672. value:
  2673. description: |
  2674. value of the WIP
  2675. type: number
  2676. enabled:
  2677. description: |
  2678. is the WIP enabled
  2679. type: boolean
  2680. soft:
  2681. description: |
  2682. is the WIP a soft or hard requirement
  2683. type: boolean
  2684. required:
  2685. - value
  2686. - enabled
  2687. - soft
  2688. Swimlanes:
  2689. type: object
  2690. description: A swimlane is an line in the kaban board.
  2691. properties:
  2692. title:
  2693. description: |
  2694. the title of the swimlane
  2695. type: string
  2696. archived:
  2697. description: |
  2698. is the swimlane archived?
  2699. type: boolean
  2700. boardId:
  2701. description: |
  2702. the ID of the board the swimlane is attached to
  2703. type: string
  2704. createdAt:
  2705. description: |
  2706. creation date of the swimlane
  2707. type: string
  2708. sort:
  2709. description: |
  2710. the sort value of the swimlane
  2711. type: number
  2712. x-nullable: true
  2713. color:
  2714. description: |
  2715. the color of the swimlane
  2716. type: string
  2717. enum:
  2718. - white
  2719. - green
  2720. - yellow
  2721. - orange
  2722. - red
  2723. - purple
  2724. - blue
  2725. - sky
  2726. - lime
  2727. - pink
  2728. - black
  2729. - peachpuff
  2730. - crimson
  2731. - plum
  2732. - darkgreen
  2733. - slateblue
  2734. - magenta
  2735. - gold
  2736. - navy
  2737. - gray
  2738. - saddlebrown
  2739. - paleturquoise
  2740. - mistyrose
  2741. - indigo
  2742. x-nullable: true
  2743. updatedAt:
  2744. description: |
  2745. when was the swimlane last edited
  2746. type: string
  2747. x-nullable: true
  2748. modifiedAt:
  2749. type: string
  2750. type:
  2751. description: |
  2752. The type of swimlane
  2753. type: string
  2754. required:
  2755. - title
  2756. - archived
  2757. - boardId
  2758. - createdAt
  2759. - modifiedAt
  2760. - type
  2761. Users:
  2762. type: object
  2763. description: A User in wekan
  2764. properties:
  2765. username:
  2766. description: |
  2767. the username of the user
  2768. type: string
  2769. x-nullable: true
  2770. emails:
  2771. description: |
  2772. the list of emails attached to a user
  2773. type: array
  2774. items:
  2775. $ref: "#/definitions/UsersEmails"
  2776. x-nullable: true
  2777. createdAt:
  2778. description: |
  2779. creation date of the user
  2780. type: string
  2781. modifiedAt:
  2782. type: string
  2783. profile:
  2784. description: |
  2785. profile settings
  2786. $ref: "#/definitions/UsersProfile"
  2787. x-nullable: true
  2788. services:
  2789. description: |
  2790. services field of the user
  2791. type: object
  2792. x-nullable: true
  2793. heartbeat:
  2794. description: |
  2795. last time the user has been seen
  2796. type: string
  2797. x-nullable: true
  2798. isAdmin:
  2799. description: |
  2800. is the user an admin of the board?
  2801. type: boolean
  2802. x-nullable: true
  2803. createdThroughApi:
  2804. description: |
  2805. was the user created through the API?
  2806. type: boolean
  2807. x-nullable: true
  2808. loginDisabled:
  2809. description: |
  2810. loginDisabled field of the user
  2811. type: boolean
  2812. x-nullable: true
  2813. authenticationMethod:
  2814. description: |
  2815. authentication method of the user
  2816. type: string
  2817. required:
  2818. - createdAt
  2819. - modifiedAt
  2820. - authenticationMethod
  2821. UsersEmails:
  2822. type: object
  2823. properties:
  2824. address:
  2825. description: |
  2826. The email address
  2827. type: string
  2828. verified:
  2829. description: |
  2830. Has the email been verified
  2831. type: boolean
  2832. required:
  2833. - address
  2834. - verified
  2835. UsersProfile:
  2836. type: object
  2837. properties:
  2838. avatarUrl:
  2839. description: |
  2840. URL of the avatar of the user
  2841. type: string
  2842. emailBuffer:
  2843. description: |
  2844. list of email buffers of the user
  2845. type: array
  2846. items:
  2847. type: string
  2848. x-nullable: true
  2849. fullname:
  2850. description: |
  2851. full name of the user
  2852. type: string
  2853. hiddenSystemMessages:
  2854. description: |
  2855. does the user want to hide system messages?
  2856. type: boolean
  2857. hiddenMinicardLabelText:
  2858. description: |
  2859. does the user want to hide minicard label texts?
  2860. type: boolean
  2861. initials:
  2862. description: |
  2863. initials of the user
  2864. type: string
  2865. invitedBoards:
  2866. description: |
  2867. board IDs the user has been invited to
  2868. type: array
  2869. items:
  2870. type: string
  2871. x-nullable: true
  2872. language:
  2873. description: |
  2874. language of the user
  2875. type: string
  2876. notifications:
  2877. description: |
  2878. enabled notifications for the user
  2879. type: array
  2880. items:
  2881. type: string
  2882. x-nullable: true
  2883. showCardsCountAt:
  2884. description: |
  2885. showCardCountAt field of the user
  2886. type: number
  2887. starredBoards:
  2888. description: |
  2889. list of starred board IDs
  2890. type: array
  2891. items:
  2892. type: string
  2893. x-nullable: true
  2894. icode:
  2895. description: |
  2896. icode
  2897. type: string
  2898. boardView:
  2899. description: |
  2900. boardView field of the user
  2901. type: string
  2902. enum:
  2903. - board-view-lists
  2904. - board-view-swimlanes
  2905. - board-view-cal
  2906. templatesBoardId:
  2907. description: |
  2908. Reference to the templates board
  2909. type: string
  2910. cardTemplatesSwimlaneId:
  2911. description: |
  2912. Reference to the card templates swimlane Id
  2913. type: string
  2914. listTemplatesSwimlaneId:
  2915. description: |
  2916. Reference to the list templates swimlane Id
  2917. type: string
  2918. boardTemplatesSwimlaneId:
  2919. description: |
  2920. Reference to the board templates swimlane Id
  2921. type: string
  2922. required:
  2923. - templatesBoardId
  2924. - cardTemplatesSwimlaneId
  2925. - listTemplatesSwimlaneId
  2926. - boardTemplatesSwimlaneId