2
0

wekan.yml 94 KB

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