wekan.yml 99 KB

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