wekan.yml 93 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813
  1. swagger: '2.0'
  2. info:
  3. title: Wekan REST API
  4. version: v5.14
  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: labelIds
  1865. in: formData
  1866. description: |
  1867. the new list of label IDs attached to the card
  1868. type: string
  1869. required: false
  1870. - name: requestedBy
  1871. in: formData
  1872. description: |
  1873. the new requestedBy field of the card
  1874. type: string
  1875. required: false
  1876. - name: assignedBy
  1877. in: formData
  1878. description: |
  1879. the new assignedBy field of the card
  1880. type: string
  1881. required: false
  1882. - name: receivedAt
  1883. in: formData
  1884. description: |
  1885. the new receivedAt field of the card
  1886. type: string
  1887. required: false
  1888. - name: startAt
  1889. in: formData
  1890. description: |
  1891. the new startAt field of the card
  1892. type: string
  1893. required: false
  1894. - name: dueAt
  1895. in: formData
  1896. description: |
  1897. the new dueAt field of the card
  1898. type: string
  1899. required: false
  1900. - name: endAt
  1901. in: formData
  1902. description: |
  1903. the new endAt field of the card
  1904. type: string
  1905. required: false
  1906. - name: spentTime
  1907. in: formData
  1908. description: |
  1909. the new spentTime field of the card
  1910. type: string
  1911. required: false
  1912. - name: isOverTime
  1913. in: formData
  1914. description: |
  1915. the new isOverTime field of the card
  1916. type: boolean
  1917. required: false
  1918. - name: customFields
  1919. in: formData
  1920. description: |
  1921. the new customFields value of the card
  1922. type: string
  1923. required: false
  1924. - name: members
  1925. in: formData
  1926. description: |
  1927. the new list of member IDs attached to the card
  1928. type: string
  1929. required: false
  1930. - name: assignees
  1931. in: formData
  1932. description: |
  1933. the array of maximum one ID of assignee attached to the card
  1934. type: string
  1935. required: false
  1936. - name: swimlaneId
  1937. in: formData
  1938. description: |
  1939. the new swimlane ID of the card
  1940. type: string
  1941. required: false
  1942. - name: listId
  1943. in: formData
  1944. description: |
  1945. the new list ID of the card (move operation)
  1946. type: string
  1947. required: false
  1948. - name: authorId
  1949. in: formData
  1950. description: |
  1951. change the owner of the card
  1952. type: string
  1953. required: false
  1954. - name: board
  1955. in: path
  1956. description: |
  1957. the board ID of the card
  1958. type: string
  1959. required: true
  1960. - name: list
  1961. in: path
  1962. description: |
  1963. the list ID of the card
  1964. type: string
  1965. required: true
  1966. - name: card
  1967. in: path
  1968. description: |
  1969. the ID of the card
  1970. type: string
  1971. required: true
  1972. produces:
  1973. - application/json
  1974. security:
  1975. - UserSecurity: []
  1976. responses:
  1977. '200':
  1978. description: |-
  1979. 200 response
  1980. schema:
  1981. type: object
  1982. properties:
  1983. _id:
  1984. type: string
  1985. delete:
  1986. operationId: delete_card
  1987. summary: Delete a card from a board
  1988. description: |
  1989. This operation **deletes** a card, and therefore the card
  1990. is not put in the recycle bin.
  1991. tags:
  1992. - Cards
  1993. parameters:
  1994. - name: board
  1995. in: path
  1996. description: |
  1997. the board ID of the card
  1998. type: string
  1999. required: true
  2000. - name: list
  2001. in: path
  2002. description: |
  2003. the list ID of the card
  2004. type: string
  2005. required: true
  2006. - name: card
  2007. in: path
  2008. description: |
  2009. the ID of the card
  2010. type: string
  2011. required: true
  2012. produces:
  2013. - application/json
  2014. security:
  2015. - UserSecurity: []
  2016. responses:
  2017. '200':
  2018. description: |-
  2019. 200 response
  2020. schema:
  2021. type: object
  2022. properties:
  2023. _id:
  2024. type: string
  2025. /api/boards/{board}/members/{member}:
  2026. post:
  2027. operationId: set_board_member_permission
  2028. summary: Change the permission of a member of a board
  2029. tags:
  2030. - Boards
  2031. - Users
  2032. consumes:
  2033. - multipart/form-data
  2034. - application/json
  2035. parameters:
  2036. - name: isAdmin
  2037. in: formData
  2038. description: |
  2039. admin capability
  2040. type: boolean
  2041. required: true
  2042. - name: isNoComments
  2043. in: formData
  2044. description: |
  2045. NoComments capability
  2046. type: boolean
  2047. required: true
  2048. - name: isCommentOnly
  2049. in: formData
  2050. description: |
  2051. CommentsOnly capability
  2052. type: boolean
  2053. required: true
  2054. - name: isWorker
  2055. in: formData
  2056. description: |
  2057. Worker capability
  2058. type: boolean
  2059. required: true
  2060. - name: board
  2061. in: path
  2062. description: |
  2063. the ID of the board that we are changing
  2064. type: string
  2065. required: true
  2066. - name: member
  2067. in: path
  2068. description: |
  2069. the ID of the user to change permissions
  2070. type: string
  2071. required: true
  2072. produces:
  2073. - application/json
  2074. security:
  2075. - UserSecurity: []
  2076. responses:
  2077. '200':
  2078. description: |-
  2079. 200 response
  2080. /api/boards/{board}/members/{user}/add:
  2081. post:
  2082. operationId: add_board_member
  2083. summary: Add New Board Member with Role
  2084. description: |
  2085. Only the admin user (the first user) can call the REST API.
  2086. **Note**: see [Boards.set_board_member_permission](#set_board_member_permission)
  2087. to later change the permissions.
  2088. tags:
  2089. - Users
  2090. - Boards
  2091. consumes:
  2092. - multipart/form-data
  2093. - application/json
  2094. parameters:
  2095. - name: action
  2096. in: formData
  2097. description: the action value
  2098. type: string
  2099. required: true
  2100. - name: isAdmin
  2101. in: formData
  2102. description: |
  2103. is the user an admin of the board
  2104. type: boolean
  2105. required: true
  2106. - name: isNoComments
  2107. in: formData
  2108. description: |
  2109. disable comments
  2110. type: boolean
  2111. required: true
  2112. - name: isCommentOnly
  2113. in: formData
  2114. description: |
  2115. only enable comments
  2116. type: boolean
  2117. required: true
  2118. - name: board
  2119. in: path
  2120. description: |
  2121. the board ID
  2122. type: string
  2123. required: true
  2124. - name: user
  2125. in: path
  2126. description: |
  2127. the user ID
  2128. type: string
  2129. required: true
  2130. produces:
  2131. - application/json
  2132. security:
  2133. - UserSecurity: []
  2134. responses:
  2135. '200':
  2136. description: |-
  2137. 200 response
  2138. schema:
  2139. type: object
  2140. properties:
  2141. _id:
  2142. type: string
  2143. title:
  2144. type: string
  2145. /api/boards/{board}/members/{user}/remove:
  2146. post:
  2147. operationId: remove_board_member
  2148. summary: Remove Member from Board
  2149. description: |
  2150. Only the admin user (the first user) can call the REST API.
  2151. tags:
  2152. - Users
  2153. - Boards
  2154. consumes:
  2155. - multipart/form-data
  2156. - application/json
  2157. parameters:
  2158. - name: action
  2159. in: formData
  2160. description: |
  2161. the action (needs to be `remove`)
  2162. type: string
  2163. required: true
  2164. - name: board
  2165. in: path
  2166. description: |
  2167. the board ID
  2168. type: string
  2169. required: true
  2170. - name: user
  2171. in: path
  2172. description: |
  2173. the user ID
  2174. type: string
  2175. required: true
  2176. produces:
  2177. - application/json
  2178. security:
  2179. - UserSecurity: []
  2180. responses:
  2181. '200':
  2182. description: |-
  2183. 200 response
  2184. schema:
  2185. type: object
  2186. properties:
  2187. _id:
  2188. type: string
  2189. title:
  2190. type: string
  2191. /api/boards/{board}/swimlanes:
  2192. get:
  2193. operationId: get_all_swimlanes
  2194. summary: Get the list of swimlanes attached to a board
  2195. tags:
  2196. - Swimlanes
  2197. parameters:
  2198. - name: board
  2199. in: path
  2200. description: |
  2201. the ID of the board
  2202. type: string
  2203. required: true
  2204. produces:
  2205. - application/json
  2206. security:
  2207. - UserSecurity: []
  2208. responses:
  2209. '200':
  2210. description: |-
  2211. 200 response
  2212. schema:
  2213. type: array
  2214. items:
  2215. type: object
  2216. properties:
  2217. _id:
  2218. type: string
  2219. title:
  2220. type: string
  2221. post:
  2222. operationId: new_swimlane
  2223. summary: Add a swimlane to a board
  2224. tags:
  2225. - Swimlanes
  2226. consumes:
  2227. - multipart/form-data
  2228. - application/json
  2229. parameters:
  2230. - name: title
  2231. in: formData
  2232. description: |
  2233. the new title of the swimlane
  2234. type: string
  2235. required: true
  2236. - name: board
  2237. in: path
  2238. description: |
  2239. the ID of the board
  2240. type: string
  2241. required: true
  2242. produces:
  2243. - application/json
  2244. security:
  2245. - UserSecurity: []
  2246. responses:
  2247. '200':
  2248. description: |-
  2249. 200 response
  2250. schema:
  2251. type: object
  2252. properties:
  2253. _id:
  2254. type: string
  2255. /api/boards/{board}/swimlanes/{swimlane}:
  2256. get:
  2257. operationId: get_swimlane
  2258. summary: Get a swimlane
  2259. tags:
  2260. - Swimlanes
  2261. parameters:
  2262. - name: board
  2263. in: path
  2264. description: |
  2265. the ID of the board
  2266. type: string
  2267. required: true
  2268. - name: swimlane
  2269. in: path
  2270. description: |
  2271. the ID of the swimlane
  2272. type: string
  2273. required: true
  2274. produces:
  2275. - application/json
  2276. security:
  2277. - UserSecurity: []
  2278. responses:
  2279. '200':
  2280. description: |-
  2281. 200 response
  2282. schema:
  2283. $ref: "#/definitions/Swimlanes"
  2284. delete:
  2285. operationId: delete_swimlane
  2286. summary: Delete a swimlane
  2287. description: |
  2288. The swimlane will be deleted, not moved to the recycle bin
  2289. tags:
  2290. - Swimlanes
  2291. parameters:
  2292. - name: board
  2293. in: path
  2294. description: |
  2295. the ID of the board
  2296. type: string
  2297. required: true
  2298. - name: swimlane
  2299. in: path
  2300. description: |
  2301. the ID of the swimlane
  2302. type: string
  2303. required: true
  2304. produces:
  2305. - application/json
  2306. security:
  2307. - UserSecurity: []
  2308. responses:
  2309. '200':
  2310. description: |-
  2311. 200 response
  2312. schema:
  2313. type: object
  2314. properties:
  2315. _id:
  2316. type: string
  2317. /api/boards/{board}/swimlanes/{swimlane}/cards:
  2318. get:
  2319. operationId: get_swimlane_cards
  2320. summary: get all cards attached to a swimlane
  2321. tags:
  2322. - Cards
  2323. parameters:
  2324. - name: board
  2325. in: path
  2326. description: |
  2327. the board ID
  2328. type: string
  2329. required: true
  2330. - name: swimlane
  2331. in: path
  2332. description: |
  2333. the swimlane ID
  2334. type: string
  2335. required: true
  2336. produces:
  2337. - application/json
  2338. security:
  2339. - UserSecurity: []
  2340. responses:
  2341. '200':
  2342. description: |-
  2343. 200 response
  2344. schema:
  2345. type: array
  2346. items:
  2347. type: object
  2348. properties:
  2349. _id:
  2350. type: string
  2351. title:
  2352. type: string
  2353. description:
  2354. type: string
  2355. listId:
  2356. type: string
  2357. /api/boards_count:
  2358. get:
  2359. operationId: get_boards_count
  2360. summary: Get public and private boards count
  2361. tags:
  2362. - Boards
  2363. produces:
  2364. - application/json
  2365. security:
  2366. - UserSecurity: []
  2367. responses:
  2368. '200':
  2369. description: |-
  2370. 200 response
  2371. schema:
  2372. type: object
  2373. properties:
  2374. private:
  2375. type: integer
  2376. public:
  2377. type: integer
  2378. /api/createtoken/{user}:
  2379. post:
  2380. operationId: create_user_token
  2381. summary: Create a user token
  2382. description: |
  2383. Only the admin user (the first user) can call the REST API.
  2384. tags:
  2385. - Users
  2386. consumes:
  2387. - multipart/form-data
  2388. - application/json
  2389. parameters:
  2390. - name: user
  2391. in: path
  2392. description: |
  2393. the ID of the user to create token for.
  2394. type: string
  2395. required: true
  2396. produces:
  2397. - application/json
  2398. security:
  2399. - UserSecurity: []
  2400. responses:
  2401. '200':
  2402. description: |-
  2403. 200 response
  2404. schema:
  2405. type: object
  2406. properties:
  2407. _id:
  2408. type: string
  2409. /api/user:
  2410. get:
  2411. operationId: get_current_user
  2412. summary: returns the current user
  2413. tags:
  2414. - Users
  2415. produces:
  2416. - application/json
  2417. security:
  2418. - UserSecurity: []
  2419. responses:
  2420. '200':
  2421. description: |-
  2422. 200 response
  2423. schema:
  2424. $ref: "#/definitions/Users"
  2425. /api/users:
  2426. get:
  2427. operationId: get_all_users
  2428. summary: return all the users
  2429. description: |
  2430. Only the admin user (the first user) can call the REST API.
  2431. tags:
  2432. - Users
  2433. produces:
  2434. - application/json
  2435. security:
  2436. - UserSecurity: []
  2437. responses:
  2438. '200':
  2439. description: |-
  2440. 200 response
  2441. schema:
  2442. type: array
  2443. items:
  2444. type: object
  2445. properties:
  2446. _id:
  2447. type: string
  2448. username:
  2449. type: string
  2450. post:
  2451. operationId: new_user
  2452. summary: Create a new user
  2453. description: |
  2454. Only the admin user (the first user) can call the REST API.
  2455. tags:
  2456. - Users
  2457. consumes:
  2458. - multipart/form-data
  2459. - application/json
  2460. parameters:
  2461. - name: username
  2462. in: formData
  2463. description: |
  2464. the new username
  2465. type: string
  2466. required: true
  2467. - name: email
  2468. in: formData
  2469. description: |
  2470. the email of the new user
  2471. type: string
  2472. required: true
  2473. - name: password
  2474. in: formData
  2475. description: |
  2476. the password of the new user
  2477. type: string
  2478. required: true
  2479. produces:
  2480. - application/json
  2481. security:
  2482. - UserSecurity: []
  2483. responses:
  2484. '200':
  2485. description: |-
  2486. 200 response
  2487. schema:
  2488. type: object
  2489. properties:
  2490. _id:
  2491. type: string
  2492. /api/users/{user}:
  2493. get:
  2494. operationId: get_user
  2495. summary: get a given user
  2496. description: |
  2497. Only the admin user (the first user) can call the REST API.
  2498. tags:
  2499. - Users
  2500. parameters:
  2501. - name: user
  2502. in: path
  2503. description: |
  2504. the user ID or username
  2505. type: string
  2506. required: true
  2507. produces:
  2508. - application/json
  2509. security:
  2510. - UserSecurity: []
  2511. responses:
  2512. '200':
  2513. description: |-
  2514. 200 response
  2515. schema:
  2516. $ref: "#/definitions/Users"
  2517. put:
  2518. operationId: edit_user
  2519. summary: edit a given user
  2520. description: |
  2521. Only the admin user (the first user) can call the REST API.
  2522. Possible values for *action*:
  2523. - `takeOwnership`: The admin takes the ownership of ALL boards of the user (archived and not archived) where the user is admin on.
  2524. - `disableLogin`: Disable a user (the user is not allowed to login and his login tokens are purged)
  2525. - `enableLogin`: Enable a user
  2526. tags:
  2527. - Users
  2528. consumes:
  2529. - multipart/form-data
  2530. - application/json
  2531. parameters:
  2532. - name: action
  2533. in: formData
  2534. description: |
  2535. the action
  2536. type: string
  2537. required: true
  2538. - name: user
  2539. in: path
  2540. description: |
  2541. the user ID
  2542. type: string
  2543. required: true
  2544. produces:
  2545. - application/json
  2546. security:
  2547. - UserSecurity: []
  2548. responses:
  2549. '200':
  2550. description: |-
  2551. 200 response
  2552. schema:
  2553. type: object
  2554. properties:
  2555. _id:
  2556. type: string
  2557. title:
  2558. type: string
  2559. delete:
  2560. operationId: delete_user
  2561. summary: Delete a user
  2562. description: |
  2563. Only the admin user (the first user) can call the REST API.
  2564. tags:
  2565. - Users
  2566. parameters:
  2567. - name: user
  2568. in: path
  2569. description: |
  2570. the ID of the user to delete
  2571. type: string
  2572. required: true
  2573. produces:
  2574. - application/json
  2575. security:
  2576. - UserSecurity: []
  2577. responses:
  2578. '200':
  2579. description: |-
  2580. 200 response
  2581. schema:
  2582. type: object
  2583. properties:
  2584. _id:
  2585. type: string
  2586. /api/users/{user}/boards:
  2587. get:
  2588. operationId: get_boards_from_user
  2589. summary: Get all boards attached to a user
  2590. tags:
  2591. - Boards
  2592. parameters:
  2593. - name: user
  2594. in: path
  2595. description: |
  2596. the ID of the user to retrieve the data
  2597. type: string
  2598. required: true
  2599. produces:
  2600. - application/json
  2601. security:
  2602. - UserSecurity: []
  2603. responses:
  2604. '200':
  2605. description: |-
  2606. 200 response
  2607. schema:
  2608. type: array
  2609. items:
  2610. type: object
  2611. properties:
  2612. _id:
  2613. type: string
  2614. title:
  2615. type: string
  2616. definitions:
  2617. Boards:
  2618. type: object
  2619. description: This is a Board.
  2620. properties:
  2621. title:
  2622. description: |
  2623. The title of the board
  2624. type: string
  2625. slug:
  2626. description: |
  2627. The title slugified.
  2628. type: string
  2629. archived:
  2630. description: |
  2631. Is the board archived?
  2632. type: boolean
  2633. archivedAt:
  2634. description: |
  2635. Latest archiving time of the board
  2636. type: string
  2637. x-nullable: true
  2638. createdAt:
  2639. description: |
  2640. Creation time of the board
  2641. type: string
  2642. modifiedAt:
  2643. description: |
  2644. Last modification time of the board
  2645. type: string
  2646. x-nullable: true
  2647. stars:
  2648. description: |
  2649. How many stars the board has
  2650. type: number
  2651. labels:
  2652. description: |
  2653. List of labels attached to a board
  2654. type: array
  2655. items:
  2656. $ref: "#/definitions/BoardsLabels"
  2657. members:
  2658. description: |
  2659. List of members of a board
  2660. type: array
  2661. items:
  2662. $ref: "#/definitions/BoardsMembers"
  2663. permission:
  2664. description: |
  2665. visibility of the board
  2666. type: string
  2667. enum:
  2668. - public
  2669. - private
  2670. color:
  2671. description: |
  2672. The color of the board.
  2673. type: string
  2674. enum:
  2675. - belize
  2676. - nephritis
  2677. - pomegranate
  2678. - pumpkin
  2679. - wisteria
  2680. - moderatepink
  2681. - strongcyan
  2682. - limegreen
  2683. - midnight
  2684. - dark
  2685. - relax
  2686. - corteza
  2687. - clearblue
  2688. - natural
  2689. - modern
  2690. - moderndark
  2691. description:
  2692. description: |
  2693. The description of the board
  2694. type: string
  2695. x-nullable: true
  2696. subtasksDefaultBoardId:
  2697. description: |
  2698. The default board ID assigned to subtasks.
  2699. type: string
  2700. x-nullable: true
  2701. subtasksDefaultListId:
  2702. description: |
  2703. The default List ID assigned to subtasks.
  2704. type: string
  2705. x-nullable: true
  2706. dateSettingsDefaultBoardId:
  2707. type: string
  2708. x-nullable: true
  2709. dateSettingsDefaultListId:
  2710. type: string
  2711. x-nullable: true
  2712. allowsSubtasks:
  2713. description: |
  2714. Does the board allows subtasks?
  2715. type: boolean
  2716. allowsAttachments:
  2717. description: |
  2718. Does the board allows attachments?
  2719. type: boolean
  2720. allowsChecklists:
  2721. description: |
  2722. Does the board allows checklists?
  2723. type: boolean
  2724. allowsComments:
  2725. description: |
  2726. Does the board allows comments?
  2727. type: boolean
  2728. allowsDescriptionTitle:
  2729. description: |
  2730. Does the board allows description title?
  2731. type: boolean
  2732. allowsDescriptionText:
  2733. description: |
  2734. Does the board allows description text?
  2735. type: boolean
  2736. allowsActivities:
  2737. description: |
  2738. Does the board allows comments?
  2739. type: boolean
  2740. allowsLabels:
  2741. description: |
  2742. Does the board allows labels?
  2743. type: boolean
  2744. allowsAssignee:
  2745. description: |
  2746. Does the board allows assignee?
  2747. type: boolean
  2748. allowsMembers:
  2749. description: |
  2750. Does the board allows members?
  2751. type: boolean
  2752. allowsRequestedBy:
  2753. description: |
  2754. Does the board allows requested by?
  2755. type: boolean
  2756. allowsAssignedBy:
  2757. description: |
  2758. Does the board allows requested by?
  2759. type: boolean
  2760. allowsReceivedDate:
  2761. description: |
  2762. Does the board allows received date?
  2763. type: boolean
  2764. allowsStartDate:
  2765. description: |
  2766. Does the board allows start date?
  2767. type: boolean
  2768. allowsEndDate:
  2769. description: |
  2770. Does the board allows end date?
  2771. type: boolean
  2772. allowsDueDate:
  2773. description: |
  2774. Does the board allows due date?
  2775. type: boolean
  2776. presentParentTask:
  2777. description: |
  2778. Controls how to present the parent task:
  2779. - `prefix-with-full-path`: add a prefix with the full path
  2780. - `prefix-with-parent`: add a prefisx with the parent name
  2781. - `subtext-with-full-path`: add a subtext with the full path
  2782. - `subtext-with-parent`: add a subtext with the parent name
  2783. - `no-parent`: does not show the parent at all
  2784. type: string
  2785. enum:
  2786. - prefix-with-full-path
  2787. - prefix-with-parent
  2788. - subtext-with-full-path
  2789. - subtext-with-parent
  2790. - no-parent
  2791. x-nullable: true
  2792. startAt:
  2793. description: |
  2794. Starting date of the board.
  2795. type: string
  2796. x-nullable: true
  2797. dueAt:
  2798. description: |
  2799. Due date of the board.
  2800. type: string
  2801. x-nullable: true
  2802. endAt:
  2803. description: |
  2804. End date of the board.
  2805. type: string
  2806. x-nullable: true
  2807. spentTime:
  2808. description: |
  2809. Time spent in the board.
  2810. type: number
  2811. x-nullable: true
  2812. isOvertime:
  2813. description: |
  2814. Is the board overtimed?
  2815. type: boolean
  2816. x-nullable: true
  2817. type:
  2818. description: |
  2819. The type of board
  2820. type: string
  2821. sort:
  2822. description: |
  2823. Sort value
  2824. type: number
  2825. required:
  2826. - title
  2827. - slug
  2828. - archived
  2829. - createdAt
  2830. - stars
  2831. - labels
  2832. - members
  2833. - permission
  2834. - color
  2835. - allowsSubtasks
  2836. - allowsAttachments
  2837. - allowsChecklists
  2838. - allowsComments
  2839. - allowsDescriptionTitle
  2840. - allowsDescriptionText
  2841. - allowsActivities
  2842. - allowsLabels
  2843. - allowsAssignee
  2844. - allowsMembers
  2845. - allowsRequestedBy
  2846. - allowsAssignedBy
  2847. - allowsReceivedDate
  2848. - allowsStartDate
  2849. - allowsEndDate
  2850. - allowsDueDate
  2851. - type
  2852. - sort
  2853. BoardsLabels:
  2854. type: object
  2855. properties:
  2856. _id:
  2857. description: |
  2858. Unique id of a label
  2859. type: string
  2860. name:
  2861. description: |
  2862. Name of a label
  2863. type: string
  2864. color:
  2865. description: |
  2866. color of a label.
  2867. Can be amongst `green`, `yellow`, `orange`, `red`, `purple`,
  2868. `blue`, `sky`, `lime`, `pink`, `black`,
  2869. `silver`, `peachpuff`, `crimson`, `plum`, `darkgreen`,
  2870. `slateblue`, `magenta`, `gold`, `navy`, `gray`,
  2871. `saddlebrown`, `paleturquoise`, `mistyrose`, `indigo`
  2872. type: string
  2873. enum:
  2874. - green
  2875. - yellow
  2876. - orange
  2877. - red
  2878. - purple
  2879. - blue
  2880. - sky
  2881. - lime
  2882. - pink
  2883. - black
  2884. - silver
  2885. - peachpuff
  2886. - crimson
  2887. - plum
  2888. - darkgreen
  2889. - slateblue
  2890. - magenta
  2891. - gold
  2892. - navy
  2893. - gray
  2894. - saddlebrown
  2895. - paleturquoise
  2896. - mistyrose
  2897. - indigo
  2898. required:
  2899. - _id
  2900. - color
  2901. BoardsMembers:
  2902. type: object
  2903. properties:
  2904. userId:
  2905. description: |
  2906. The uniq ID of the member
  2907. type: string
  2908. isAdmin:
  2909. description: |
  2910. Is the member an admin of the board?
  2911. type: boolean
  2912. isActive:
  2913. description: |
  2914. Is the member active?
  2915. type: boolean
  2916. isNoComments:
  2917. description: |
  2918. Is the member not allowed to make comments
  2919. type: boolean
  2920. isCommentOnly:
  2921. description: |
  2922. Is the member only allowed to comment on the board
  2923. type: boolean
  2924. isWorker:
  2925. description: |
  2926. Is the member only allowed to move card, assign himself to card and comment
  2927. type: boolean
  2928. required:
  2929. - userId
  2930. - isAdmin
  2931. - isActive
  2932. CardComments:
  2933. type: object
  2934. description: A comment on a card
  2935. properties:
  2936. boardId:
  2937. description: |
  2938. the board ID
  2939. type: string
  2940. cardId:
  2941. description: |
  2942. the card ID
  2943. type: string
  2944. text:
  2945. description: |
  2946. the text of the comment
  2947. type: string
  2948. createdAt:
  2949. description: |
  2950. when was the comment created
  2951. type: string
  2952. modifiedAt:
  2953. type: string
  2954. userId:
  2955. description: |
  2956. the author ID of the comment
  2957. type: string
  2958. required:
  2959. - boardId
  2960. - cardId
  2961. - text
  2962. - createdAt
  2963. - modifiedAt
  2964. - userId
  2965. Cards:
  2966. type: object
  2967. properties:
  2968. title:
  2969. description: |
  2970. the title of the card
  2971. type: string
  2972. x-nullable: true
  2973. archived:
  2974. description: |
  2975. is the card archived
  2976. type: boolean
  2977. archivedAt:
  2978. description: |
  2979. latest archiving date
  2980. type: string
  2981. x-nullable: true
  2982. parentId:
  2983. description: |
  2984. ID of the parent card
  2985. type: string
  2986. x-nullable: true
  2987. listId:
  2988. description: |
  2989. List ID where the card is
  2990. type: string
  2991. x-nullable: true
  2992. swimlaneId:
  2993. description: |
  2994. Swimlane ID where the card is
  2995. type: string
  2996. boardId:
  2997. description: |
  2998. Board ID of the card
  2999. type: string
  3000. x-nullable: true
  3001. coverId:
  3002. description: |
  3003. Cover ID of the card
  3004. type: string
  3005. x-nullable: true
  3006. color:
  3007. type: string
  3008. enum:
  3009. - white
  3010. - green
  3011. - yellow
  3012. - orange
  3013. - red
  3014. - purple
  3015. - blue
  3016. - sky
  3017. - lime
  3018. - pink
  3019. - black
  3020. - silver
  3021. - peachpuff
  3022. - crimson
  3023. - plum
  3024. - darkgreen
  3025. - slateblue
  3026. - magenta
  3027. - gold
  3028. - navy
  3029. - gray
  3030. - saddlebrown
  3031. - paleturquoise
  3032. - mistyrose
  3033. - indigo
  3034. x-nullable: true
  3035. createdAt:
  3036. description: |
  3037. creation date
  3038. type: string
  3039. modifiedAt:
  3040. type: string
  3041. customFields:
  3042. description: |
  3043. list of custom fields
  3044. type: array
  3045. items:
  3046. $ref: "#/definitions/CardsCustomfields"
  3047. x-nullable: true
  3048. dateLastActivity:
  3049. description: |
  3050. Date of last activity
  3051. type: string
  3052. description:
  3053. description: |
  3054. description of the card
  3055. type: string
  3056. x-nullable: true
  3057. requestedBy:
  3058. description: |
  3059. who requested the card (ID of the user)
  3060. type: string
  3061. x-nullable: true
  3062. assignedBy:
  3063. description: |
  3064. who assigned the card (ID of the user)
  3065. type: string
  3066. x-nullable: true
  3067. labelIds:
  3068. description: |
  3069. list of labels ID the card has
  3070. type: array
  3071. items:
  3072. type: string
  3073. x-nullable: true
  3074. x-nullable: true
  3075. members:
  3076. description: |
  3077. list of members (user IDs)
  3078. type: array
  3079. items:
  3080. type: string
  3081. x-nullable: true
  3082. x-nullable: true
  3083. assignees:
  3084. description: |
  3085. who is assignee of the card (user ID),
  3086. maximum one ID of assignee in array.
  3087. type: array
  3088. items:
  3089. type: string
  3090. x-nullable: true
  3091. x-nullable: true
  3092. receivedAt:
  3093. description: |
  3094. Date the card was received
  3095. type: string
  3096. x-nullable: true
  3097. startAt:
  3098. description: |
  3099. Date the card was started to be worked on
  3100. type: string
  3101. x-nullable: true
  3102. dueAt:
  3103. description: |
  3104. Date the card is due
  3105. type: string
  3106. x-nullable: true
  3107. endAt:
  3108. description: |
  3109. Date the card ended
  3110. type: string
  3111. x-nullable: true
  3112. spentTime:
  3113. description: |
  3114. How much time has been spent on this
  3115. type: number
  3116. x-nullable: true
  3117. isOvertime:
  3118. description: |
  3119. is the card over time?
  3120. type: boolean
  3121. x-nullable: true
  3122. userId:
  3123. description: |
  3124. user ID of the author of the card
  3125. type: string
  3126. sort:
  3127. description: |
  3128. Sort value
  3129. type: number
  3130. subtaskSort:
  3131. description: |
  3132. subtask sort value
  3133. type: number
  3134. x-nullable: true
  3135. type:
  3136. description: |
  3137. type of the card
  3138. type: string
  3139. linkedId:
  3140. description: |
  3141. ID of the linked card
  3142. type: string
  3143. x-nullable: true
  3144. vote:
  3145. description: |
  3146. vote object, see below
  3147. $ref: "#/definitions/CardsVote"
  3148. x-nullable: true
  3149. required:
  3150. - archived
  3151. - swimlaneId
  3152. - createdAt
  3153. - modifiedAt
  3154. - dateLastActivity
  3155. - userId
  3156. - sort
  3157. - type
  3158. CardsVote:
  3159. type: object
  3160. properties:
  3161. question:
  3162. type: string
  3163. positive:
  3164. description: |
  3165. list of members (user IDs)
  3166. type: array
  3167. items:
  3168. type: string
  3169. x-nullable: true
  3170. negative:
  3171. description: |
  3172. list of members (user IDs)
  3173. type: array
  3174. items:
  3175. type: string
  3176. x-nullable: true
  3177. end:
  3178. type: string
  3179. public:
  3180. type: boolean
  3181. allowNonBoardMembers:
  3182. type: boolean
  3183. required:
  3184. - question
  3185. - public
  3186. - allowNonBoardMembers
  3187. CardsCustomfields:
  3188. type: object
  3189. ChecklistItems:
  3190. type: object
  3191. description: An item in a checklist
  3192. properties:
  3193. title:
  3194. description: |
  3195. the text of the item
  3196. type: string
  3197. sort:
  3198. description: |
  3199. the sorting field of the item
  3200. type: number
  3201. isFinished:
  3202. description: |
  3203. Is the item checked?
  3204. type: boolean
  3205. checklistId:
  3206. description: |
  3207. the checklist ID the item is attached to
  3208. type: string
  3209. cardId:
  3210. description: |
  3211. the card ID the item is attached to
  3212. type: string
  3213. createdAt:
  3214. type: string
  3215. x-nullable: true
  3216. modifiedAt:
  3217. type: string
  3218. required:
  3219. - title
  3220. - sort
  3221. - isFinished
  3222. - checklistId
  3223. - cardId
  3224. - modifiedAt
  3225. Checklists:
  3226. type: object
  3227. description: A Checklist
  3228. properties:
  3229. cardId:
  3230. description: |
  3231. The ID of the card the checklist is in
  3232. type: string
  3233. title:
  3234. description: |
  3235. the title of the checklist
  3236. type: string
  3237. finishedAt:
  3238. description: |
  3239. When was the checklist finished
  3240. type: string
  3241. x-nullable: true
  3242. createdAt:
  3243. description: |
  3244. Creation date of the checklist
  3245. type: string
  3246. modifiedAt:
  3247. type: string
  3248. sort:
  3249. description: |
  3250. sorting value of the checklist
  3251. type: number
  3252. required:
  3253. - cardId
  3254. - title
  3255. - createdAt
  3256. - modifiedAt
  3257. - sort
  3258. CustomFields:
  3259. type: object
  3260. description: A custom field on a card in the board
  3261. properties:
  3262. boardIds:
  3263. description: |
  3264. the ID of the board
  3265. type: array
  3266. items:
  3267. type: string
  3268. name:
  3269. description: |
  3270. name of the custom field
  3271. type: string
  3272. type:
  3273. description: |
  3274. type of the custom field
  3275. type: string
  3276. enum:
  3277. - text
  3278. - number
  3279. - date
  3280. - dropdown
  3281. - checkbox
  3282. - currency
  3283. settings:
  3284. description: |
  3285. settings of the custom field
  3286. $ref: "#/definitions/CustomFieldsSettings"
  3287. showOnCard:
  3288. description: |
  3289. should we show on the cards this custom field
  3290. type: boolean
  3291. automaticallyOnCard:
  3292. description: |
  3293. should the custom fields automatically be added on cards?
  3294. type: boolean
  3295. alwaysOnCard:
  3296. description: |
  3297. should the custom field be automatically added to all cards?
  3298. type: boolean
  3299. showLabelOnMiniCard:
  3300. description: |
  3301. should the label of the custom field be shown on minicards?
  3302. type: boolean
  3303. createdAt:
  3304. type: string
  3305. x-nullable: true
  3306. modifiedAt:
  3307. type: string
  3308. required:
  3309. - boardIds
  3310. - name
  3311. - type
  3312. - settings
  3313. - showOnCard
  3314. - automaticallyOnCard
  3315. - alwaysOnCard
  3316. - showLabelOnMiniCard
  3317. - modifiedAt
  3318. CustomFieldsSettings:
  3319. type: object
  3320. properties:
  3321. currencyCode:
  3322. type: string
  3323. dropdownItems:
  3324. description: |
  3325. list of drop down items objects
  3326. type: array
  3327. items:
  3328. $ref: "#/definitions/CustomFieldsSettingsDropdownitems"
  3329. CustomFieldsSettingsDropdownitems:
  3330. type: object
  3331. Integrations:
  3332. type: object
  3333. description: Integration with third-party applications
  3334. properties:
  3335. enabled:
  3336. description: |
  3337. is the integration enabled?
  3338. type: boolean
  3339. title:
  3340. description: |
  3341. name of the integration
  3342. type: string
  3343. x-nullable: true
  3344. type:
  3345. description: |
  3346. type of the integratation (Default to 'outgoing-webhooks')
  3347. type: string
  3348. activities:
  3349. description: |
  3350. activities the integration gets triggered (list)
  3351. type: array
  3352. items:
  3353. type: string
  3354. url:
  3355. type: string
  3356. token:
  3357. description: |
  3358. token of the integration
  3359. type: string
  3360. x-nullable: true
  3361. boardId:
  3362. description: |
  3363. Board ID of the integration
  3364. type: string
  3365. createdAt:
  3366. description: |
  3367. Creation date of the integration
  3368. type: string
  3369. modifiedAt:
  3370. type: string
  3371. userId:
  3372. description: |
  3373. user ID who created the interation
  3374. type: string
  3375. required:
  3376. - enabled
  3377. - type
  3378. - activities
  3379. - url
  3380. - boardId
  3381. - createdAt
  3382. - modifiedAt
  3383. - userId
  3384. Lists:
  3385. type: object
  3386. description: A list (column) in the Wekan board.
  3387. properties:
  3388. title:
  3389. description: |
  3390. the title of the list
  3391. type: string
  3392. starred:
  3393. description: |
  3394. if a list is stared
  3395. then we put it on the top
  3396. type: boolean
  3397. x-nullable: true
  3398. archived:
  3399. description: |
  3400. is the list archived
  3401. type: boolean
  3402. archivedAt:
  3403. description: |
  3404. latest archiving date
  3405. type: string
  3406. x-nullable: true
  3407. boardId:
  3408. description: |
  3409. the board associated to this list
  3410. type: string
  3411. swimlaneId:
  3412. description: |
  3413. the swimlane associated to this list. Used for templates
  3414. type: string
  3415. createdAt:
  3416. description: |
  3417. creation date
  3418. type: string
  3419. sort:
  3420. description: |
  3421. is the list sorted
  3422. type: number
  3423. x-nullable: true
  3424. updatedAt:
  3425. description: |
  3426. last update of the list
  3427. type: string
  3428. x-nullable: true
  3429. modifiedAt:
  3430. type: string
  3431. wipLimit:
  3432. description: |
  3433. WIP object, see below
  3434. $ref: "#/definitions/ListsWiplimit"
  3435. x-nullable: true
  3436. color:
  3437. description: |
  3438. the color of the list
  3439. type: string
  3440. enum:
  3441. - white
  3442. - green
  3443. - yellow
  3444. - orange
  3445. - red
  3446. - purple
  3447. - blue
  3448. - sky
  3449. - lime
  3450. - pink
  3451. - black
  3452. - peachpuff
  3453. - crimson
  3454. - plum
  3455. - darkgreen
  3456. - slateblue
  3457. - magenta
  3458. - gold
  3459. - navy
  3460. - gray
  3461. - saddlebrown
  3462. - paleturquoise
  3463. - mistyrose
  3464. - indigo
  3465. x-nullable: true
  3466. type:
  3467. description: |
  3468. The type of list
  3469. type: string
  3470. required:
  3471. - title
  3472. - archived
  3473. - boardId
  3474. - swimlaneId
  3475. - createdAt
  3476. - modifiedAt
  3477. - type
  3478. ListsWiplimit:
  3479. type: object
  3480. properties:
  3481. value:
  3482. description: |
  3483. value of the WIP
  3484. type: number
  3485. enabled:
  3486. description: |
  3487. is the WIP enabled
  3488. type: boolean
  3489. soft:
  3490. description: |
  3491. is the WIP a soft or hard requirement
  3492. type: boolean
  3493. required:
  3494. - value
  3495. - enabled
  3496. - soft
  3497. Swimlanes:
  3498. type: object
  3499. description: A swimlane is an line in the kaban board.
  3500. properties:
  3501. title:
  3502. description: |
  3503. the title of the swimlane
  3504. type: string
  3505. archived:
  3506. description: |
  3507. is the swimlane archived?
  3508. type: boolean
  3509. archivedAt:
  3510. description: |
  3511. latest archiving date of the swimlane
  3512. type: string
  3513. x-nullable: true
  3514. boardId:
  3515. description: |
  3516. the ID of the board the swimlane is attached to
  3517. type: string
  3518. createdAt:
  3519. description: |
  3520. creation date of the swimlane
  3521. type: string
  3522. sort:
  3523. description: |
  3524. the sort value of the swimlane
  3525. type: number
  3526. x-nullable: true
  3527. color:
  3528. description: |
  3529. the color of the swimlane
  3530. type: string
  3531. enum:
  3532. - white
  3533. - green
  3534. - yellow
  3535. - orange
  3536. - red
  3537. - purple
  3538. - blue
  3539. - sky
  3540. - lime
  3541. - pink
  3542. - black
  3543. - peachpuff
  3544. - crimson
  3545. - plum
  3546. - darkgreen
  3547. - slateblue
  3548. - magenta
  3549. - gold
  3550. - navy
  3551. - gray
  3552. - saddlebrown
  3553. - paleturquoise
  3554. - mistyrose
  3555. - indigo
  3556. x-nullable: true
  3557. updatedAt:
  3558. description: |
  3559. when was the swimlane last edited
  3560. type: string
  3561. x-nullable: true
  3562. modifiedAt:
  3563. type: string
  3564. type:
  3565. description: |
  3566. The type of swimlane
  3567. type: string
  3568. required:
  3569. - title
  3570. - archived
  3571. - boardId
  3572. - createdAt
  3573. - modifiedAt
  3574. - type
  3575. Users:
  3576. type: object
  3577. description: A User in wekan
  3578. properties:
  3579. username:
  3580. description: |
  3581. the username of the user
  3582. type: string
  3583. x-nullable: true
  3584. emails:
  3585. description: |
  3586. the list of emails attached to a user
  3587. type: array
  3588. items:
  3589. $ref: "#/definitions/UsersEmails"
  3590. x-nullable: true
  3591. createdAt:
  3592. description: |
  3593. creation date of the user
  3594. type: string
  3595. modifiedAt:
  3596. type: string
  3597. profile:
  3598. description: |
  3599. profile settings
  3600. $ref: "#/definitions/UsersProfile"
  3601. x-nullable: true
  3602. services:
  3603. description: |
  3604. services field of the user
  3605. type: object
  3606. x-nullable: true
  3607. heartbeat:
  3608. description: |
  3609. last time the user has been seen
  3610. type: string
  3611. x-nullable: true
  3612. isAdmin:
  3613. description: |
  3614. is the user an admin of the board?
  3615. type: boolean
  3616. x-nullable: true
  3617. createdThroughApi:
  3618. description: |
  3619. was the user created through the API?
  3620. type: boolean
  3621. x-nullable: true
  3622. loginDisabled:
  3623. description: |
  3624. loginDisabled field of the user
  3625. type: boolean
  3626. x-nullable: true
  3627. authenticationMethod:
  3628. description: |
  3629. authentication method of the user
  3630. type: string
  3631. sessionData:
  3632. description: |
  3633. profile settings
  3634. $ref: "#/definitions/UsersSessiondata"
  3635. x-nullable: true
  3636. importUsernames:
  3637. description: |
  3638. username for imported
  3639. type: array
  3640. items:
  3641. type: string
  3642. x-nullable: true
  3643. x-nullable: true
  3644. required:
  3645. - createdAt
  3646. - modifiedAt
  3647. - authenticationMethod
  3648. UsersEmails:
  3649. type: object
  3650. properties:
  3651. address:
  3652. description: |
  3653. The email address
  3654. type: string
  3655. verified:
  3656. description: |
  3657. Has the email been verified
  3658. type: boolean
  3659. required:
  3660. - address
  3661. - verified
  3662. UsersProfile:
  3663. type: object
  3664. properties:
  3665. avatarUrl:
  3666. description: |
  3667. URL of the avatar of the user
  3668. type: string
  3669. emailBuffer:
  3670. description: |
  3671. list of email buffers of the user
  3672. type: array
  3673. items:
  3674. type: string
  3675. x-nullable: true
  3676. fullname:
  3677. description: |
  3678. full name of the user
  3679. type: string
  3680. showDesktopDragHandles:
  3681. description: |
  3682. does the user want to hide system messages?
  3683. type: boolean
  3684. hideCheckedItems:
  3685. description: |
  3686. does the user want to hide checked checklist items?
  3687. type: boolean
  3688. hiddenSystemMessages:
  3689. description: |
  3690. does the user want to hide system messages?
  3691. type: boolean
  3692. hiddenMinicardLabelText:
  3693. description: |
  3694. does the user want to hide minicard label texts?
  3695. type: boolean
  3696. initials:
  3697. description: |
  3698. initials of the user
  3699. type: string
  3700. invitedBoards:
  3701. description: |
  3702. board IDs the user has been invited to
  3703. type: array
  3704. items:
  3705. type: string
  3706. x-nullable: true
  3707. language:
  3708. description: |
  3709. language of the user
  3710. type: string
  3711. notifications:
  3712. description: |
  3713. enabled notifications for the user
  3714. type: array
  3715. items:
  3716. $ref: "#/definitions/UsersProfileNotifications"
  3717. activity:
  3718. description: |
  3719. The id of the activity this notification references
  3720. type: string
  3721. read:
  3722. description: |
  3723. the date on which this notification was read
  3724. type: string
  3725. showCardsCountAt:
  3726. description: |
  3727. showCardCountAt field of the user
  3728. type: number
  3729. startDayOfWeek:
  3730. description: |
  3731. startDayOfWeek field of the user
  3732. type: number
  3733. starredBoards:
  3734. description: |
  3735. list of starred board IDs
  3736. type: array
  3737. items:
  3738. type: string
  3739. x-nullable: true
  3740. icode:
  3741. description: |
  3742. icode
  3743. type: string
  3744. boardView:
  3745. description: |
  3746. boardView field of the user
  3747. type: string
  3748. enum:
  3749. - board-view-swimlanes
  3750. - board-view-lists
  3751. - board-view-cal
  3752. listSortBy:
  3753. description: |
  3754. default sort list for user
  3755. type: string
  3756. enum:
  3757. - -modifiedat
  3758. - modifiedat
  3759. - -title
  3760. - title
  3761. - -sort
  3762. - sort
  3763. templatesBoardId:
  3764. description: |
  3765. Reference to the templates board
  3766. type: string
  3767. cardTemplatesSwimlaneId:
  3768. description: |
  3769. Reference to the card templates swimlane Id
  3770. type: string
  3771. listTemplatesSwimlaneId:
  3772. description: |
  3773. Reference to the list templates swimlane Id
  3774. type: string
  3775. boardTemplatesSwimlaneId:
  3776. description: |
  3777. Reference to the board templates swimlane Id
  3778. type: string
  3779. required:
  3780. - activity
  3781. - templatesBoardId
  3782. - cardTemplatesSwimlaneId
  3783. - listTemplatesSwimlaneId
  3784. - boardTemplatesSwimlaneId
  3785. UsersSessiondata:
  3786. type: object
  3787. properties:
  3788. totalHits:
  3789. description: |
  3790. Total hits from last search
  3791. type: number
  3792. lastHit:
  3793. description: |
  3794. last hit that was returned
  3795. type: number