wekan.yml 99 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056
  1. swagger: '2.0'
  2. info:
  3. title: Wekan REST API
  4. version: v5.41
  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. allowsActivities:
  2758. description: |
  2759. Does the board allows comments?
  2760. type: boolean
  2761. allowsLabels:
  2762. description: |
  2763. Does the board allows labels?
  2764. type: boolean
  2765. allowsCreator:
  2766. description: |
  2767. Does the board allow creator?
  2768. type: boolean
  2769. allowsAssignee:
  2770. description: |
  2771. Does the board allows assignee?
  2772. type: boolean
  2773. allowsMembers:
  2774. description: |
  2775. Does the board allows members?
  2776. type: boolean
  2777. allowsRequestedBy:
  2778. description: |
  2779. Does the board allows requested by?
  2780. type: boolean
  2781. allowsCardSortingByNumber:
  2782. description: |
  2783. Does the board allows card sorting by number?
  2784. type: boolean
  2785. allowsAssignedBy:
  2786. description: |
  2787. Does the board allows requested by?
  2788. type: boolean
  2789. allowsReceivedDate:
  2790. description: |
  2791. Does the board allows received date?
  2792. type: boolean
  2793. allowsStartDate:
  2794. description: |
  2795. Does the board allows start date?
  2796. type: boolean
  2797. allowsEndDate:
  2798. description: |
  2799. Does the board allows end date?
  2800. type: boolean
  2801. allowsDueDate:
  2802. description: |
  2803. Does the board allows due date?
  2804. type: boolean
  2805. presentParentTask:
  2806. description: |
  2807. Controls how to present the parent task:
  2808. - `prefix-with-full-path`: add a prefix with the full path
  2809. - `prefix-with-parent`: add a prefisx with the parent name
  2810. - `subtext-with-full-path`: add a subtext with the full path
  2811. - `subtext-with-parent`: add a subtext with the parent name
  2812. - `no-parent`: does not show the parent at all
  2813. type: string
  2814. enum:
  2815. - prefix-with-full-path
  2816. - prefix-with-parent
  2817. - subtext-with-full-path
  2818. - subtext-with-parent
  2819. - no-parent
  2820. x-nullable: true
  2821. startAt:
  2822. description: |
  2823. Starting date of the board.
  2824. type: string
  2825. x-nullable: true
  2826. dueAt:
  2827. description: |
  2828. Due date of the board.
  2829. type: string
  2830. x-nullable: true
  2831. endAt:
  2832. description: |
  2833. End date of the board.
  2834. type: string
  2835. x-nullable: true
  2836. spentTime:
  2837. description: |
  2838. Time spent in the board.
  2839. type: number
  2840. x-nullable: true
  2841. isOvertime:
  2842. description: |
  2843. Is the board overtimed?
  2844. type: boolean
  2845. x-nullable: true
  2846. type:
  2847. description: |
  2848. The type of board
  2849. possible values: board, template-board, template-container
  2850. type: string
  2851. enum:
  2852. - board
  2853. - template-board
  2854. - template-container
  2855. sort:
  2856. description: |
  2857. Sort value
  2858. type: number
  2859. required:
  2860. - title
  2861. - slug
  2862. - archived
  2863. - createdAt
  2864. - stars
  2865. - members
  2866. - permission
  2867. - color
  2868. - allowsSubtasks
  2869. - allowsAttachments
  2870. - allowsChecklists
  2871. - allowsComments
  2872. - allowsDescriptionTitle
  2873. - allowsDescriptionText
  2874. - allowsActivities
  2875. - allowsLabels
  2876. - allowsCreator
  2877. - allowsAssignee
  2878. - allowsMembers
  2879. - allowsRequestedBy
  2880. - allowsCardSortingByNumber
  2881. - allowsAssignedBy
  2882. - allowsReceivedDate
  2883. - allowsStartDate
  2884. - allowsEndDate
  2885. - allowsDueDate
  2886. - type
  2887. - sort
  2888. BoardsLabels:
  2889. type: object
  2890. properties:
  2891. _id:
  2892. description: |
  2893. Unique id of a label
  2894. type: string
  2895. name:
  2896. description: |
  2897. Name of a label
  2898. type: string
  2899. color:
  2900. description: |
  2901. color of a label.
  2902. Can be amongst `green`, `yellow`, `orange`, `red`, `purple`,
  2903. `blue`, `sky`, `lime`, `pink`, `black`,
  2904. `silver`, `peachpuff`, `crimson`, `plum`, `darkgreen`,
  2905. `slateblue`, `magenta`, `gold`, `navy`, `gray`,
  2906. `saddlebrown`, `paleturquoise`, `mistyrose`, `indigo`
  2907. type: string
  2908. enum:
  2909. - white
  2910. - green
  2911. - yellow
  2912. - orange
  2913. - red
  2914. - purple
  2915. - blue
  2916. - sky
  2917. - lime
  2918. - pink
  2919. - black
  2920. - silver
  2921. - peachpuff
  2922. - crimson
  2923. - plum
  2924. - darkgreen
  2925. - slateblue
  2926. - magenta
  2927. - gold
  2928. - navy
  2929. - gray
  2930. - saddlebrown
  2931. - paleturquoise
  2932. - mistyrose
  2933. - indigo
  2934. required:
  2935. - _id
  2936. - color
  2937. BoardsMembers:
  2938. type: object
  2939. properties:
  2940. userId:
  2941. description: |
  2942. The uniq ID of the member
  2943. type: string
  2944. isAdmin:
  2945. description: |
  2946. Is the member an admin of the board?
  2947. type: boolean
  2948. isActive:
  2949. description: |
  2950. Is the member active?
  2951. type: boolean
  2952. isNoComments:
  2953. description: |
  2954. Is the member not allowed to make comments
  2955. type: boolean
  2956. isCommentOnly:
  2957. description: |
  2958. Is the member only allowed to comment on the board
  2959. type: boolean
  2960. isWorker:
  2961. description: |
  2962. Is the member only allowed to move card, assign himself to card and comment
  2963. type: boolean
  2964. required:
  2965. - userId
  2966. - isAdmin
  2967. - isActive
  2968. BoardsOrgs:
  2969. type: object
  2970. properties:
  2971. orgId:
  2972. description: |
  2973. The uniq ID of the organization
  2974. type: string
  2975. orgDisplayName:
  2976. description: |
  2977. The display name of the organization
  2978. type: string
  2979. isActive:
  2980. description: |
  2981. Is the organization active?
  2982. type: boolean
  2983. required:
  2984. - orgId
  2985. - orgDisplayName
  2986. - isActive
  2987. BoardsTeams:
  2988. type: object
  2989. properties:
  2990. teamId:
  2991. description: |
  2992. The uniq ID of the team
  2993. type: string
  2994. teamDisplayName:
  2995. description: |
  2996. The display name of the team
  2997. type: string
  2998. isActive:
  2999. description: |
  3000. Is the team active?
  3001. type: boolean
  3002. required:
  3003. - teamId
  3004. - teamDisplayName
  3005. - isActive
  3006. CardComments:
  3007. type: object
  3008. description: A comment on a card
  3009. properties:
  3010. boardId:
  3011. description: |
  3012. the board ID
  3013. type: string
  3014. cardId:
  3015. description: |
  3016. the card ID
  3017. type: string
  3018. text:
  3019. description: |
  3020. the text of the comment
  3021. type: string
  3022. createdAt:
  3023. description: |
  3024. when was the comment created
  3025. type: string
  3026. modifiedAt:
  3027. type: string
  3028. userId:
  3029. description: |
  3030. the author ID of the comment
  3031. type: string
  3032. required:
  3033. - boardId
  3034. - cardId
  3035. - text
  3036. - createdAt
  3037. - modifiedAt
  3038. - userId
  3039. Cards:
  3040. type: object
  3041. properties:
  3042. title:
  3043. description: |
  3044. the title of the card
  3045. type: string
  3046. x-nullable: true
  3047. archived:
  3048. description: |
  3049. is the card archived
  3050. type: boolean
  3051. archivedAt:
  3052. description: |
  3053. latest archiving date
  3054. type: string
  3055. x-nullable: true
  3056. parentId:
  3057. description: |
  3058. ID of the parent card
  3059. type: string
  3060. x-nullable: true
  3061. listId:
  3062. description: |
  3063. List ID where the card is
  3064. type: string
  3065. x-nullable: true
  3066. swimlaneId:
  3067. description: |
  3068. Swimlane ID where the card is
  3069. type: string
  3070. boardId:
  3071. description: |
  3072. Board ID of the card
  3073. type: string
  3074. x-nullable: true
  3075. coverId:
  3076. description: |
  3077. Cover ID of the card
  3078. type: string
  3079. x-nullable: true
  3080. color:
  3081. type: string
  3082. enum:
  3083. - white
  3084. - green
  3085. - yellow
  3086. - orange
  3087. - red
  3088. - purple
  3089. - blue
  3090. - sky
  3091. - lime
  3092. - pink
  3093. - black
  3094. - silver
  3095. - peachpuff
  3096. - crimson
  3097. - plum
  3098. - darkgreen
  3099. - slateblue
  3100. - magenta
  3101. - gold
  3102. - navy
  3103. - gray
  3104. - saddlebrown
  3105. - paleturquoise
  3106. - mistyrose
  3107. - indigo
  3108. x-nullable: true
  3109. createdAt:
  3110. description: |
  3111. creation date
  3112. type: string
  3113. modifiedAt:
  3114. type: string
  3115. customFields:
  3116. description: |
  3117. list of custom fields
  3118. type: array
  3119. items:
  3120. $ref: "#/definitions/CardsCustomfields"
  3121. x-nullable: true
  3122. dateLastActivity:
  3123. description: |
  3124. Date of last activity
  3125. type: string
  3126. description:
  3127. description: |
  3128. description of the card
  3129. type: string
  3130. x-nullable: true
  3131. requestedBy:
  3132. description: |
  3133. who requested the card (ID of the user)
  3134. type: string
  3135. x-nullable: true
  3136. assignedBy:
  3137. description: |
  3138. who assigned the card (ID of the user)
  3139. type: string
  3140. x-nullable: true
  3141. labelIds:
  3142. description: |
  3143. list of labels ID the card has
  3144. type: array
  3145. items:
  3146. type: string
  3147. x-nullable: true
  3148. x-nullable: true
  3149. members:
  3150. description: |
  3151. list of members (user IDs)
  3152. type: array
  3153. items:
  3154. type: string
  3155. x-nullable: true
  3156. x-nullable: true
  3157. assignees:
  3158. description: |
  3159. who is assignee of the card (user ID),
  3160. maximum one ID of assignee in array.
  3161. type: array
  3162. items:
  3163. type: string
  3164. x-nullable: true
  3165. x-nullable: true
  3166. receivedAt:
  3167. description: |
  3168. Date the card was received
  3169. type: string
  3170. x-nullable: true
  3171. startAt:
  3172. description: |
  3173. Date the card was started to be worked on
  3174. type: string
  3175. x-nullable: true
  3176. dueAt:
  3177. description: |
  3178. Date the card is due
  3179. type: string
  3180. x-nullable: true
  3181. endAt:
  3182. description: |
  3183. Date the card ended
  3184. type: string
  3185. x-nullable: true
  3186. spentTime:
  3187. description: |
  3188. How much time has been spent on this
  3189. type: number
  3190. x-nullable: true
  3191. isOvertime:
  3192. description: |
  3193. is the card over time?
  3194. type: boolean
  3195. x-nullable: true
  3196. userId:
  3197. description: |
  3198. user ID of the author of the card
  3199. type: string
  3200. sort:
  3201. description: |
  3202. Sort value
  3203. type: number
  3204. x-nullable: true
  3205. subtaskSort:
  3206. description: |
  3207. subtask sort value
  3208. type: number
  3209. x-nullable: true
  3210. type:
  3211. description: |
  3212. type of the card
  3213. type: string
  3214. linkedId:
  3215. description: |
  3216. ID of the linked card
  3217. type: string
  3218. x-nullable: true
  3219. vote:
  3220. description: |
  3221. vote object, see below
  3222. $ref: "#/definitions/CardsVote"
  3223. x-nullable: true
  3224. poker:
  3225. description: |
  3226. poker object, see below
  3227. $ref: "#/definitions/CardsPoker"
  3228. x-nullable: true
  3229. targetId_gantt:
  3230. description: |
  3231. ID of card which is the child link in gantt view
  3232. type: array
  3233. items:
  3234. type: string
  3235. x-nullable: true
  3236. x-nullable: true
  3237. linkType_gantt:
  3238. description: |
  3239. ID of card which is the parent link in gantt view
  3240. type: array
  3241. items:
  3242. type: number
  3243. x-nullable: true
  3244. x-nullable: true
  3245. linkId_gantt:
  3246. description: |
  3247. ID of card which is the parent link in gantt view
  3248. type: array
  3249. items:
  3250. type: string
  3251. x-nullable: true
  3252. x-nullable: true
  3253. required:
  3254. - archived
  3255. - swimlaneId
  3256. - createdAt
  3257. - modifiedAt
  3258. - dateLastActivity
  3259. - userId
  3260. - type
  3261. CardsVote:
  3262. type: object
  3263. properties:
  3264. question:
  3265. type: string
  3266. positive:
  3267. description: |
  3268. list of members (user IDs)
  3269. type: array
  3270. items:
  3271. type: string
  3272. x-nullable: true
  3273. negative:
  3274. description: |
  3275. list of members (user IDs)
  3276. type: array
  3277. items:
  3278. type: string
  3279. x-nullable: true
  3280. end:
  3281. type: string
  3282. public:
  3283. type: boolean
  3284. allowNonBoardMembers:
  3285. type: boolean
  3286. required:
  3287. - question
  3288. - public
  3289. - allowNonBoardMembers
  3290. CardsPoker:
  3291. type: object
  3292. properties:
  3293. question:
  3294. type: boolean
  3295. one:
  3296. description: |
  3297. poker card one
  3298. type: array
  3299. items:
  3300. type: string
  3301. x-nullable: true
  3302. two:
  3303. description: |
  3304. poker card two
  3305. type: array
  3306. items:
  3307. type: string
  3308. x-nullable: true
  3309. three:
  3310. description: |
  3311. poker card three
  3312. type: array
  3313. items:
  3314. type: string
  3315. x-nullable: true
  3316. five:
  3317. description: |
  3318. poker card five
  3319. type: array
  3320. items:
  3321. type: string
  3322. x-nullable: true
  3323. eight:
  3324. description: |
  3325. poker card eight
  3326. type: array
  3327. items:
  3328. type: string
  3329. x-nullable: true
  3330. thirteen:
  3331. description: |
  3332. poker card thirteen
  3333. type: array
  3334. items:
  3335. type: string
  3336. x-nullable: true
  3337. twenty:
  3338. description: |
  3339. poker card twenty
  3340. type: array
  3341. items:
  3342. type: string
  3343. x-nullable: true
  3344. forty:
  3345. description: |
  3346. poker card forty
  3347. type: array
  3348. items:
  3349. type: string
  3350. x-nullable: true
  3351. oneHundred:
  3352. description: |
  3353. poker card oneHundred
  3354. type: array
  3355. items:
  3356. type: string
  3357. x-nullable: true
  3358. unsure:
  3359. description: |
  3360. poker card unsure
  3361. type: array
  3362. items:
  3363. type: string
  3364. x-nullable: true
  3365. end:
  3366. type: string
  3367. allowNonBoardMembers:
  3368. type: boolean
  3369. estimation:
  3370. description: |
  3371. poker estimation value
  3372. type: number
  3373. required:
  3374. - question
  3375. - allowNonBoardMembers
  3376. CardsCustomfields:
  3377. type: object
  3378. ChecklistItems:
  3379. type: object
  3380. description: An item in a checklist
  3381. properties:
  3382. title:
  3383. description: |
  3384. the text of the item
  3385. type: string
  3386. sort:
  3387. description: |
  3388. the sorting field of the item
  3389. type: number
  3390. isFinished:
  3391. description: |
  3392. Is the item checked?
  3393. type: boolean
  3394. checklistId:
  3395. description: |
  3396. the checklist ID the item is attached to
  3397. type: string
  3398. cardId:
  3399. description: |
  3400. the card ID the item is attached to
  3401. type: string
  3402. createdAt:
  3403. type: string
  3404. x-nullable: true
  3405. modifiedAt:
  3406. type: string
  3407. required:
  3408. - title
  3409. - sort
  3410. - isFinished
  3411. - checklistId
  3412. - cardId
  3413. - modifiedAt
  3414. Checklists:
  3415. type: object
  3416. description: A Checklist
  3417. properties:
  3418. cardId:
  3419. description: |
  3420. The ID of the card the checklist is in
  3421. type: string
  3422. title:
  3423. description: |
  3424. the title of the checklist
  3425. type: string
  3426. finishedAt:
  3427. description: |
  3428. When was the checklist finished
  3429. type: string
  3430. x-nullable: true
  3431. createdAt:
  3432. description: |
  3433. Creation date of the checklist
  3434. type: string
  3435. modifiedAt:
  3436. type: string
  3437. sort:
  3438. description: |
  3439. sorting value of the checklist
  3440. type: number
  3441. required:
  3442. - cardId
  3443. - title
  3444. - createdAt
  3445. - modifiedAt
  3446. - sort
  3447. CustomFields:
  3448. type: object
  3449. description: A custom field on a card in the board
  3450. properties:
  3451. boardIds:
  3452. description: |
  3453. the ID of the board
  3454. type: array
  3455. items:
  3456. type: string
  3457. name:
  3458. description: |
  3459. name of the custom field
  3460. type: string
  3461. type:
  3462. description: |
  3463. type of the custom field
  3464. type: string
  3465. enum:
  3466. - text
  3467. - number
  3468. - date
  3469. - dropdown
  3470. - checkbox
  3471. - currency
  3472. - stringtemplate
  3473. settings:
  3474. description: |
  3475. settings of the custom field
  3476. $ref: "#/definitions/CustomFieldsSettings"
  3477. showOnCard:
  3478. description: |
  3479. should we show on the cards this custom field
  3480. type: boolean
  3481. automaticallyOnCard:
  3482. description: |
  3483. should the custom fields automatically be added on cards?
  3484. type: boolean
  3485. alwaysOnCard:
  3486. description: |
  3487. should the custom field be automatically added to all cards?
  3488. type: boolean
  3489. showLabelOnMiniCard:
  3490. description: |
  3491. should the label of the custom field be shown on minicards?
  3492. type: boolean
  3493. createdAt:
  3494. type: string
  3495. x-nullable: true
  3496. modifiedAt:
  3497. type: string
  3498. required:
  3499. - boardIds
  3500. - name
  3501. - type
  3502. - settings
  3503. - showOnCard
  3504. - automaticallyOnCard
  3505. - alwaysOnCard
  3506. - showLabelOnMiniCard
  3507. - modifiedAt
  3508. CustomFieldsSettings:
  3509. type: object
  3510. properties:
  3511. currencyCode:
  3512. type: string
  3513. dropdownItems:
  3514. description: |
  3515. list of drop down items objects
  3516. type: array
  3517. items:
  3518. $ref: "#/definitions/CustomFieldsSettingsDropdownitems"
  3519. stringtemplateFormat:
  3520. type: string
  3521. stringtemplateSeparator:
  3522. type: string
  3523. CustomFieldsSettingsDropdownitems:
  3524. type: object
  3525. Integrations:
  3526. type: object
  3527. description: Integration with third-party applications
  3528. properties:
  3529. enabled:
  3530. description: |
  3531. is the integration enabled?
  3532. type: boolean
  3533. title:
  3534. description: |
  3535. name of the integration
  3536. type: string
  3537. x-nullable: true
  3538. type:
  3539. description: |
  3540. type of the integratation (Default to 'outgoing-webhooks')
  3541. type: string
  3542. activities:
  3543. description: |
  3544. activities the integration gets triggered (list)
  3545. type: array
  3546. items:
  3547. type: string
  3548. url:
  3549. type: string
  3550. token:
  3551. description: |
  3552. token of the integration
  3553. type: string
  3554. x-nullable: true
  3555. boardId:
  3556. description: |
  3557. Board ID of the integration
  3558. type: string
  3559. createdAt:
  3560. description: |
  3561. Creation date of the integration
  3562. type: string
  3563. modifiedAt:
  3564. type: string
  3565. userId:
  3566. description: |
  3567. user ID who created the interation
  3568. type: string
  3569. required:
  3570. - enabled
  3571. - type
  3572. - activities
  3573. - url
  3574. - boardId
  3575. - createdAt
  3576. - modifiedAt
  3577. - userId
  3578. Lists:
  3579. type: object
  3580. description: A list (column) in the Wekan board.
  3581. properties:
  3582. title:
  3583. description: |
  3584. the title of the list
  3585. type: string
  3586. starred:
  3587. description: |
  3588. if a list is stared
  3589. then we put it on the top
  3590. type: boolean
  3591. x-nullable: true
  3592. archived:
  3593. description: |
  3594. is the list archived
  3595. type: boolean
  3596. archivedAt:
  3597. description: |
  3598. latest archiving date
  3599. type: string
  3600. x-nullable: true
  3601. boardId:
  3602. description: |
  3603. the board associated to this list
  3604. type: string
  3605. swimlaneId:
  3606. description: |
  3607. the swimlane associated to this list. Used for templates
  3608. type: string
  3609. createdAt:
  3610. description: |
  3611. creation date
  3612. type: string
  3613. sort:
  3614. description: |
  3615. is the list sorted
  3616. type: number
  3617. x-nullable: true
  3618. updatedAt:
  3619. description: |
  3620. last update of the list
  3621. type: string
  3622. x-nullable: true
  3623. modifiedAt:
  3624. type: string
  3625. wipLimit:
  3626. description: |
  3627. WIP object, see below
  3628. $ref: "#/definitions/ListsWiplimit"
  3629. x-nullable: true
  3630. color:
  3631. description: |
  3632. the color of the list
  3633. type: string
  3634. enum:
  3635. - white
  3636. - green
  3637. - yellow
  3638. - orange
  3639. - red
  3640. - purple
  3641. - blue
  3642. - sky
  3643. - lime
  3644. - pink
  3645. - black
  3646. - silver
  3647. - peachpuff
  3648. - crimson
  3649. - plum
  3650. - darkgreen
  3651. - slateblue
  3652. - magenta
  3653. - gold
  3654. - navy
  3655. - gray
  3656. - saddlebrown
  3657. - paleturquoise
  3658. - mistyrose
  3659. - indigo
  3660. x-nullable: true
  3661. type:
  3662. description: |
  3663. The type of list
  3664. type: string
  3665. required:
  3666. - title
  3667. - archived
  3668. - boardId
  3669. - swimlaneId
  3670. - createdAt
  3671. - modifiedAt
  3672. - type
  3673. ListsWiplimit:
  3674. type: object
  3675. properties:
  3676. value:
  3677. description: |
  3678. value of the WIP
  3679. type: number
  3680. enabled:
  3681. description: |
  3682. is the WIP enabled
  3683. type: boolean
  3684. soft:
  3685. description: |
  3686. is the WIP a soft or hard requirement
  3687. type: boolean
  3688. required:
  3689. - value
  3690. - enabled
  3691. - soft
  3692. Swimlanes:
  3693. type: object
  3694. description: A swimlane is an line in the kaban board.
  3695. properties:
  3696. title:
  3697. description: |
  3698. the title of the swimlane
  3699. type: string
  3700. archived:
  3701. description: |
  3702. is the swimlane archived?
  3703. type: boolean
  3704. archivedAt:
  3705. description: |
  3706. latest archiving date of the swimlane
  3707. type: string
  3708. x-nullable: true
  3709. boardId:
  3710. description: |
  3711. the ID of the board the swimlane is attached to
  3712. type: string
  3713. createdAt:
  3714. description: |
  3715. creation date of the swimlane
  3716. type: string
  3717. sort:
  3718. description: |
  3719. the sort value of the swimlane
  3720. type: number
  3721. x-nullable: true
  3722. color:
  3723. description: |
  3724. the color of the swimlane
  3725. type: string
  3726. enum:
  3727. - white
  3728. - green
  3729. - yellow
  3730. - orange
  3731. - red
  3732. - purple
  3733. - blue
  3734. - sky
  3735. - lime
  3736. - pink
  3737. - black
  3738. - silver
  3739. - peachpuff
  3740. - crimson
  3741. - plum
  3742. - darkgreen
  3743. - slateblue
  3744. - magenta
  3745. - gold
  3746. - navy
  3747. - gray
  3748. - saddlebrown
  3749. - paleturquoise
  3750. - mistyrose
  3751. - indigo
  3752. x-nullable: true
  3753. updatedAt:
  3754. description: |
  3755. when was the swimlane last edited
  3756. type: string
  3757. x-nullable: true
  3758. modifiedAt:
  3759. type: string
  3760. type:
  3761. description: |
  3762. The type of swimlane
  3763. type: string
  3764. required:
  3765. - title
  3766. - archived
  3767. - boardId
  3768. - createdAt
  3769. - modifiedAt
  3770. - type
  3771. Users:
  3772. type: object
  3773. description: A User in wekan
  3774. properties:
  3775. username:
  3776. description: |
  3777. the username of the user
  3778. type: string
  3779. x-nullable: true
  3780. orgs:
  3781. description: |
  3782. the list of organizations that a user belongs to
  3783. type: array
  3784. items:
  3785. $ref: "#/definitions/UsersOrgs"
  3786. x-nullable: true
  3787. teams:
  3788. description: |
  3789. the list of teams that a user belongs to
  3790. type: array
  3791. items:
  3792. $ref: "#/definitions/UsersTeams"
  3793. x-nullable: true
  3794. emails:
  3795. description: |
  3796. the list of emails attached to a user
  3797. type: array
  3798. items:
  3799. $ref: "#/definitions/UsersEmails"
  3800. x-nullable: true
  3801. createdAt:
  3802. description: |
  3803. creation date of the user
  3804. type: string
  3805. modifiedAt:
  3806. type: string
  3807. profile:
  3808. description: |
  3809. profile settings
  3810. $ref: "#/definitions/UsersProfile"
  3811. x-nullable: true
  3812. services:
  3813. description: |
  3814. services field of the user
  3815. type: object
  3816. x-nullable: true
  3817. heartbeat:
  3818. description: |
  3819. last time the user has been seen
  3820. type: string
  3821. x-nullable: true
  3822. isAdmin:
  3823. description: |
  3824. is the user an admin of the board?
  3825. type: boolean
  3826. x-nullable: true
  3827. createdThroughApi:
  3828. description: |
  3829. was the user created through the API?
  3830. type: boolean
  3831. x-nullable: true
  3832. loginDisabled:
  3833. description: |
  3834. loginDisabled field of the user
  3835. type: boolean
  3836. x-nullable: true
  3837. authenticationMethod:
  3838. description: |
  3839. authentication method of the user
  3840. type: string
  3841. sessionData:
  3842. description: |
  3843. profile settings
  3844. $ref: "#/definitions/UsersSessiondata"
  3845. x-nullable: true
  3846. importUsernames:
  3847. description: |
  3848. username for imported
  3849. type: array
  3850. items:
  3851. type: string
  3852. x-nullable: true
  3853. x-nullable: true
  3854. required:
  3855. - createdAt
  3856. - modifiedAt
  3857. - authenticationMethod
  3858. UsersProfile:
  3859. type: object
  3860. properties:
  3861. avatarUrl:
  3862. description: |
  3863. URL of the avatar of the user
  3864. type: string
  3865. emailBuffer:
  3866. description: |
  3867. list of email buffers of the user
  3868. type: array
  3869. items:
  3870. type: string
  3871. x-nullable: true
  3872. fullname:
  3873. description: |
  3874. full name of the user
  3875. type: string
  3876. showDesktopDragHandles:
  3877. description: |
  3878. does the user want to show desktop drag handles?
  3879. type: boolean
  3880. hideCheckedItems:
  3881. description: |
  3882. does the user want to hide checked checklist items?
  3883. type: boolean
  3884. cardMaximized:
  3885. description: |
  3886. has user clicked maximize card?
  3887. type: boolean
  3888. hiddenSystemMessages:
  3889. description: |
  3890. does the user want to hide system messages?
  3891. type: boolean
  3892. hiddenMinicardLabelText:
  3893. description: |
  3894. does the user want to hide minicard label texts?
  3895. type: boolean
  3896. initials:
  3897. description: |
  3898. initials of the user
  3899. type: string
  3900. invitedBoards:
  3901. description: |
  3902. board IDs the user has been invited to
  3903. type: array
  3904. items:
  3905. type: string
  3906. x-nullable: true
  3907. language:
  3908. description: |
  3909. language of the user
  3910. type: string
  3911. notifications:
  3912. description: |
  3913. enabled notifications for the user
  3914. type: array
  3915. items:
  3916. $ref: "#/definitions/UsersProfileNotifications"
  3917. showCardsCountAt:
  3918. description: |
  3919. showCardCountAt field of the user
  3920. type: number
  3921. startDayOfWeek:
  3922. description: |
  3923. startDayOfWeek field of the user
  3924. type: number
  3925. starredBoards:
  3926. description: |
  3927. list of starred board IDs
  3928. type: array
  3929. items:
  3930. type: string
  3931. x-nullable: true
  3932. icode:
  3933. description: |
  3934. icode
  3935. type: string
  3936. boardView:
  3937. description: |
  3938. boardView field of the user
  3939. type: string
  3940. enum:
  3941. - board-view-swimlanes
  3942. - board-view-lists
  3943. - board-view-cal
  3944. listSortBy:
  3945. description: |
  3946. default sort list for user
  3947. type: string
  3948. enum:
  3949. - -modifiedat
  3950. - modifiedat
  3951. - -title
  3952. - title
  3953. - -sort
  3954. - sort
  3955. templatesBoardId:
  3956. description: |
  3957. Reference to the templates board
  3958. type: string
  3959. cardTemplatesSwimlaneId:
  3960. description: |
  3961. Reference to the card templates swimlane Id
  3962. type: string
  3963. listTemplatesSwimlaneId:
  3964. description: |
  3965. Reference to the list templates swimlane Id
  3966. type: string
  3967. boardTemplatesSwimlaneId:
  3968. description: |
  3969. Reference to the board templates swimlane Id
  3970. type: string
  3971. required:
  3972. - templatesBoardId
  3973. - cardTemplatesSwimlaneId
  3974. - listTemplatesSwimlaneId
  3975. - boardTemplatesSwimlaneId
  3976. UsersSessiondata:
  3977. type: object
  3978. properties:
  3979. totalHits:
  3980. description: |
  3981. Total hits from last searchquery['members.userId'] = Meteor.userId();
  3982. last hit that was returned
  3983. type: number
  3984. UsersOrgs:
  3985. type: object
  3986. properties:
  3987. orgId:
  3988. description: |
  3989. The uniq ID of the organization
  3990. type: string
  3991. orgDisplayName:
  3992. description: |
  3993. The display name of the organization
  3994. type: string
  3995. required:
  3996. - orgId
  3997. - orgDisplayName
  3998. UsersTeams:
  3999. type: object
  4000. properties:
  4001. teamId:
  4002. description: |
  4003. The uniq ID of the team
  4004. type: string
  4005. teamDisplayName:
  4006. description: |
  4007. The display name of the team
  4008. type: string
  4009. required:
  4010. - teamId
  4011. - teamDisplayName
  4012. UsersEmails:
  4013. type: object
  4014. properties:
  4015. address:
  4016. description: |
  4017. The email address
  4018. type: string
  4019. verified:
  4020. description: |
  4021. Has the email been verified
  4022. type: boolean
  4023. required:
  4024. - address
  4025. - verified
  4026. UsersProfileNotifications:
  4027. type: object
  4028. properties:
  4029. activity:
  4030. description: |
  4031. The id of the activity this notification references
  4032. type: string
  4033. read:
  4034. description: |
  4035. the date on which this notification was read
  4036. type: string
  4037. required:
  4038. - activity