wekan.yml 72 KB

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