wekan.yml 104 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265
  1. swagger: '2.0'
  2. info:
  3. title: Wekan REST API
  4. version: v6.32
  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}/cards_count:
  878. get:
  879. operationId: get_board_cards_count
  880. summary: Get a cards count to a board
  881. tags:
  882. - Cards
  883. parameters:
  884. - name: board
  885. in: path
  886. description: |
  887. the board ID
  888. type: string
  889. required: true
  890. produces:
  891. - application/json
  892. security:
  893. - UserSecurity: []
  894. responses:
  895. '200':
  896. description: |-
  897. 200 response
  898. schema:
  899. type: object
  900. properties:
  901. board_cards_count:
  902. type: integer
  903. /api/boards/{board}/custom-fields:
  904. get:
  905. operationId: get_all_custom_fields
  906. summary: Get the list of Custom Fields attached to a board
  907. tags:
  908. - CustomFields
  909. parameters:
  910. - name: board
  911. in: path
  912. description: the board value
  913. type: string
  914. required: true
  915. produces:
  916. - application/json
  917. security:
  918. - UserSecurity: []
  919. responses:
  920. '200':
  921. description: |-
  922. 200 response
  923. schema:
  924. type: array
  925. items:
  926. type: object
  927. properties:
  928. _id:
  929. type: string
  930. name:
  931. type: string
  932. type:
  933. type: string
  934. post:
  935. operationId: new_custom_field
  936. summary: Create a Custom Field
  937. tags:
  938. - CustomFields
  939. consumes:
  940. - multipart/form-data
  941. - application/json
  942. parameters:
  943. - name: name
  944. in: formData
  945. description: |
  946. the name of the custom field
  947. type: string
  948. required: true
  949. - name: type
  950. in: formData
  951. description: |
  952. the type of the custom field
  953. type: string
  954. required: true
  955. - name: settings
  956. in: formData
  957. description: |
  958. the settings object of the custom field
  959. type: string
  960. required: true
  961. - name: showOnCard
  962. in: formData
  963. description: |
  964. should we show the custom field on cards?
  965. type: boolean
  966. required: true
  967. - name: automaticallyOnCard
  968. in: formData
  969. description: |
  970. should the custom fields automatically be added on cards?
  971. type: boolean
  972. required: true
  973. - name: showLabelOnMiniCard
  974. in: formData
  975. description: |
  976. should the label of the custom field be shown on minicards?
  977. type: boolean
  978. required: true
  979. - name: showSumAtTopOfList
  980. in: formData
  981. description: |
  982. should the sum of the custom fields be shown at top of list?
  983. type: boolean
  984. required: true
  985. - name: authorId
  986. in: formData
  987. description: the authorId value
  988. type: string
  989. required: true
  990. - name: board
  991. in: path
  992. description: the board value
  993. type: string
  994. required: true
  995. produces:
  996. - application/json
  997. security:
  998. - UserSecurity: []
  999. responses:
  1000. '200':
  1001. description: |-
  1002. 200 response
  1003. schema:
  1004. type: object
  1005. properties:
  1006. _id:
  1007. type: string
  1008. /api/boards/{board}/custom-fields/{customField}:
  1009. get:
  1010. operationId: get_custom_field
  1011. summary: Get a Custom Fields attached to a board
  1012. tags:
  1013. - CustomFields
  1014. parameters:
  1015. - name: board
  1016. in: path
  1017. description: the board value
  1018. type: string
  1019. required: true
  1020. - name: customField
  1021. in: path
  1022. description: |
  1023. the ID of the custom field
  1024. type: string
  1025. required: true
  1026. produces:
  1027. - application/json
  1028. security:
  1029. - UserSecurity: []
  1030. responses:
  1031. '200':
  1032. description: |-
  1033. 200 response
  1034. schema:
  1035. type: array
  1036. items:
  1037. type: object
  1038. properties:
  1039. _id:
  1040. type: string
  1041. boardIds:
  1042. type: string
  1043. put:
  1044. operationId: edit_custom_field
  1045. summary: Update a Custom Field
  1046. tags:
  1047. - CustomFields
  1048. consumes:
  1049. - multipart/form-data
  1050. - application/json
  1051. parameters:
  1052. - name: name
  1053. in: formData
  1054. description: |
  1055. the name of the custom field
  1056. type: string
  1057. required: true
  1058. - name: type
  1059. in: formData
  1060. description: |
  1061. the type of the custom field
  1062. type: string
  1063. required: true
  1064. - name: settings
  1065. in: formData
  1066. description: |
  1067. the settings object of the custom field
  1068. type: string
  1069. required: true
  1070. - name: showOnCard
  1071. in: formData
  1072. description: |
  1073. should we show the custom field on cards
  1074. type: boolean
  1075. required: true
  1076. - name: automaticallyOnCard
  1077. in: formData
  1078. description: |
  1079. should the custom fields automatically be added on cards
  1080. type: boolean
  1081. required: true
  1082. - name: alwaysOnCard
  1083. in: formData
  1084. description: the alwaysOnCard value
  1085. type: string
  1086. required: true
  1087. - name: showLabelOnMiniCard
  1088. in: formData
  1089. description: |
  1090. should the label of the custom field be shown on minicards
  1091. type: boolean
  1092. required: true
  1093. - name: showSumAtTopOfList
  1094. in: formData
  1095. description: |
  1096. should the sum of the custom fields be shown at top of list
  1097. type: boolean
  1098. required: true
  1099. - name: board
  1100. in: path
  1101. description: the board value
  1102. type: string
  1103. required: true
  1104. - name: customField
  1105. in: path
  1106. description: the customField value
  1107. type: string
  1108. required: true
  1109. produces:
  1110. - application/json
  1111. security:
  1112. - UserSecurity: []
  1113. responses:
  1114. '200':
  1115. description: |-
  1116. 200 response
  1117. schema:
  1118. type: object
  1119. properties:
  1120. _id:
  1121. type: string
  1122. delete:
  1123. operationId: delete_custom_field
  1124. summary: Delete a Custom Fields attached to a board
  1125. description: |
  1126. The Custom Field can't be retrieved after this operation
  1127. tags:
  1128. - CustomFields
  1129. parameters:
  1130. - name: board
  1131. in: path
  1132. description: the board value
  1133. type: string
  1134. required: true
  1135. - name: customField
  1136. in: path
  1137. description: |
  1138. the ID of the custom field
  1139. type: string
  1140. required: true
  1141. produces:
  1142. - application/json
  1143. security:
  1144. - UserSecurity: []
  1145. responses:
  1146. '200':
  1147. description: |-
  1148. 200 response
  1149. schema:
  1150. type: object
  1151. properties:
  1152. _id:
  1153. type: string
  1154. /api/boards/{board}/custom-fields/{customField}/dropdown-items:
  1155. post:
  1156. operationId: add_custom_field_dropdown_items
  1157. summary: Update a Custom Field's dropdown items
  1158. tags:
  1159. - CustomFields
  1160. consumes:
  1161. - multipart/form-data
  1162. - application/json
  1163. parameters:
  1164. - name: items
  1165. in: formData
  1166. description: |
  1167. names of the custom field
  1168. type: string
  1169. required: false
  1170. - name: board
  1171. in: path
  1172. description: the board value
  1173. type: string
  1174. required: true
  1175. - name: customField
  1176. in: path
  1177. description: the customField value
  1178. type: string
  1179. required: true
  1180. produces:
  1181. - application/json
  1182. security:
  1183. - UserSecurity: []
  1184. responses:
  1185. '200':
  1186. description: |-
  1187. 200 response
  1188. schema:
  1189. type: object
  1190. properties:
  1191. _id:
  1192. type: string
  1193. /api/boards/{board}/custom-fields/{customField}/dropdown-items/{dropdownItem}:
  1194. put:
  1195. operationId: edit_custom_field_dropdown_item
  1196. summary: Update a Custom Field's dropdown item
  1197. tags:
  1198. - CustomFields
  1199. consumes:
  1200. - multipart/form-data
  1201. - application/json
  1202. parameters:
  1203. - name: name
  1204. in: formData
  1205. description: |
  1206. names of the custom field
  1207. type: string
  1208. required: true
  1209. - name: board
  1210. in: path
  1211. description: the board value
  1212. type: string
  1213. required: true
  1214. - name: customField
  1215. in: path
  1216. description: the customField value
  1217. type: string
  1218. required: true
  1219. - name: dropdownItem
  1220. in: path
  1221. description: the dropdownItem value
  1222. type: string
  1223. required: true
  1224. produces:
  1225. - application/json
  1226. security:
  1227. - UserSecurity: []
  1228. responses:
  1229. '200':
  1230. description: |-
  1231. 200 response
  1232. schema:
  1233. type: object
  1234. properties:
  1235. _id:
  1236. type: string
  1237. delete:
  1238. operationId: delete_custom_field_dropdown_item
  1239. summary: Update a Custom Field's dropdown items
  1240. tags:
  1241. - CustomFields
  1242. parameters:
  1243. - name: board
  1244. in: path
  1245. description: the board value
  1246. type: string
  1247. required: true
  1248. - name: customField
  1249. in: path
  1250. description: the customField value
  1251. type: string
  1252. required: true
  1253. - name: dropdownItem
  1254. in: path
  1255. description: the dropdownItem value
  1256. type: string
  1257. required: true
  1258. produces:
  1259. - application/json
  1260. security:
  1261. - UserSecurity: []
  1262. responses:
  1263. '200':
  1264. description: |-
  1265. 200 response
  1266. schema:
  1267. type: object
  1268. properties:
  1269. _id:
  1270. type: string
  1271. /api/boards/{board}/export:
  1272. get:
  1273. operationId: exportJson
  1274. summary: This route is used to export the board to a json file format.
  1275. description: |
  1276. If user is already logged-in, pass loginToken as param
  1277. "authToken": '/api/boards/:boardId/export?authToken=:token'
  1278. See https://blog.kayla.com.au/server-side-route-authentication-in-meteor/
  1279. for detailed explanations
  1280. tags:
  1281. - Boards
  1282. parameters:
  1283. - name: board
  1284. in: path
  1285. description: |
  1286. the ID of the board we are exporting
  1287. type: string
  1288. required: true
  1289. produces:
  1290. - application/json
  1291. security:
  1292. - UserSecurity: []
  1293. responses:
  1294. '200':
  1295. description: |-
  1296. 200 response
  1297. /api/boards/{board}/integrations:
  1298. get:
  1299. operationId: get_all_integrations
  1300. summary: Get all integrations in board
  1301. tags:
  1302. - Integrations
  1303. parameters:
  1304. - name: board
  1305. in: path
  1306. description: |
  1307. the board ID
  1308. type: string
  1309. required: true
  1310. produces:
  1311. - application/json
  1312. security:
  1313. - UserSecurity: []
  1314. responses:
  1315. '200':
  1316. description: |-
  1317. 200 response
  1318. schema:
  1319. type: array
  1320. items:
  1321. $ref: "#/definitions/Integrations"
  1322. post:
  1323. operationId: new_integration
  1324. summary: Create a new integration
  1325. tags:
  1326. - Integrations
  1327. consumes:
  1328. - multipart/form-data
  1329. - application/json
  1330. parameters:
  1331. - name: url
  1332. in: formData
  1333. description: |
  1334. the URL of the integration
  1335. type: string
  1336. required: true
  1337. - name: board
  1338. in: path
  1339. description: |
  1340. the board ID
  1341. type: string
  1342. required: true
  1343. produces:
  1344. - application/json
  1345. security:
  1346. - UserSecurity: []
  1347. responses:
  1348. '200':
  1349. description: |-
  1350. 200 response
  1351. schema:
  1352. type: object
  1353. properties:
  1354. _id:
  1355. type: string
  1356. /api/boards/{board}/integrations/{int}:
  1357. get:
  1358. operationId: get_integration
  1359. summary: Get a single integration in board
  1360. tags:
  1361. - Integrations
  1362. parameters:
  1363. - name: board
  1364. in: path
  1365. description: |
  1366. the board ID
  1367. type: string
  1368. required: true
  1369. - name: int
  1370. in: path
  1371. description: |
  1372. the integration ID
  1373. type: string
  1374. required: true
  1375. produces:
  1376. - application/json
  1377. security:
  1378. - UserSecurity: []
  1379. responses:
  1380. '200':
  1381. description: |-
  1382. 200 response
  1383. schema:
  1384. $ref: "#/definitions/Integrations"
  1385. put:
  1386. operationId: edit_integration
  1387. summary: Edit integration data
  1388. tags:
  1389. - Integrations
  1390. consumes:
  1391. - multipart/form-data
  1392. - application/json
  1393. parameters:
  1394. - name: enabled
  1395. in: formData
  1396. description: |
  1397. is the integration enabled?
  1398. type: string
  1399. required: false
  1400. - name: title
  1401. in: formData
  1402. description: |
  1403. new name of the integration
  1404. type: string
  1405. required: false
  1406. - name: url
  1407. in: formData
  1408. description: |
  1409. new URL of the integration
  1410. type: string
  1411. required: false
  1412. - name: token
  1413. in: formData
  1414. description: |
  1415. new token of the integration
  1416. type: string
  1417. required: false
  1418. - name: activities
  1419. in: formData
  1420. description: |
  1421. new list of activities of the integration
  1422. type: string
  1423. required: false
  1424. - name: board
  1425. in: path
  1426. description: |
  1427. the board ID
  1428. type: string
  1429. required: true
  1430. - name: int
  1431. in: path
  1432. description: |
  1433. the integration ID
  1434. type: string
  1435. required: true
  1436. produces:
  1437. - application/json
  1438. security:
  1439. - UserSecurity: []
  1440. responses:
  1441. '200':
  1442. description: |-
  1443. 200 response
  1444. schema:
  1445. type: object
  1446. properties:
  1447. _id:
  1448. type: string
  1449. delete:
  1450. operationId: delete_integration
  1451. summary: Delete integration
  1452. tags:
  1453. - Integrations
  1454. parameters:
  1455. - name: board
  1456. in: path
  1457. description: |
  1458. the board ID
  1459. type: string
  1460. required: true
  1461. - name: int
  1462. in: path
  1463. description: |
  1464. the integration ID
  1465. type: string
  1466. required: true
  1467. produces:
  1468. - application/json
  1469. security:
  1470. - UserSecurity: []
  1471. responses:
  1472. '200':
  1473. description: |-
  1474. 200 response
  1475. schema:
  1476. type: object
  1477. properties:
  1478. _id:
  1479. type: string
  1480. /api/boards/{board}/integrations/{int}/activities:
  1481. delete:
  1482. operationId: delete_integration_activities
  1483. summary: Delete subscribed activities
  1484. tags:
  1485. - Integrations
  1486. parameters:
  1487. - name: board
  1488. in: path
  1489. description: |
  1490. the board ID
  1491. type: string
  1492. required: true
  1493. - name: int
  1494. in: path
  1495. description: |
  1496. the integration ID
  1497. type: string
  1498. required: true
  1499. produces:
  1500. - application/json
  1501. security:
  1502. - UserSecurity: []
  1503. responses:
  1504. '200':
  1505. description: |-
  1506. 200 response
  1507. schema:
  1508. $ref: "#/definitions/Integrations"
  1509. post:
  1510. operationId: new_integration_activities
  1511. summary: Add subscribed activities
  1512. tags:
  1513. - Integrations
  1514. consumes:
  1515. - multipart/form-data
  1516. - application/json
  1517. parameters:
  1518. - name: activities
  1519. in: formData
  1520. description: the activities value
  1521. type: string
  1522. required: true
  1523. - name: board
  1524. in: path
  1525. description: |
  1526. the board ID
  1527. type: string
  1528. required: true
  1529. - name: int
  1530. in: path
  1531. description: |
  1532. the integration ID
  1533. type: string
  1534. required: true
  1535. produces:
  1536. - application/json
  1537. security:
  1538. - UserSecurity: []
  1539. responses:
  1540. '200':
  1541. description: |-
  1542. 200 response
  1543. schema:
  1544. $ref: "#/definitions/Integrations"
  1545. /api/boards/{board}/labels:
  1546. put:
  1547. operationId: add_board_label
  1548. summary: Add a label to a board
  1549. description: |
  1550. If the board doesn't have the name/color label, this function
  1551. adds the label to the board.
  1552. tags:
  1553. - Boards
  1554. consumes:
  1555. - multipart/form-data
  1556. - application/json
  1557. parameters:
  1558. - name: label
  1559. in: formData
  1560. description: the label value
  1561. type: string
  1562. required: true
  1563. - name: board
  1564. in: path
  1565. description: |
  1566. the board
  1567. type: string
  1568. required: true
  1569. produces:
  1570. - application/json
  1571. security:
  1572. - UserSecurity: []
  1573. responses:
  1574. '200':
  1575. description: |-
  1576. 200 response
  1577. schema:
  1578. type: string
  1579. /api/boards/{board}/lists:
  1580. get:
  1581. operationId: get_all_lists
  1582. summary: Get the list of Lists attached to a board
  1583. tags:
  1584. - Lists
  1585. parameters:
  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: array
  1602. items:
  1603. type: object
  1604. properties:
  1605. _id:
  1606. type: string
  1607. title:
  1608. type: string
  1609. post:
  1610. operationId: new_list
  1611. summary: Add a List to a board
  1612. tags:
  1613. - Lists
  1614. consumes:
  1615. - multipart/form-data
  1616. - application/json
  1617. parameters:
  1618. - name: title
  1619. in: formData
  1620. description: |
  1621. the title of the List
  1622. type: string
  1623. required: true
  1624. - name: board
  1625. in: path
  1626. description: |
  1627. the board ID
  1628. type: string
  1629. required: true
  1630. produces:
  1631. - application/json
  1632. security:
  1633. - UserSecurity: []
  1634. responses:
  1635. '200':
  1636. description: |-
  1637. 200 response
  1638. schema:
  1639. type: object
  1640. properties:
  1641. _id:
  1642. type: string
  1643. /api/boards/{board}/lists/{list}:
  1644. get:
  1645. operationId: get_list
  1646. summary: Get a List attached to a board
  1647. tags:
  1648. - Lists
  1649. parameters:
  1650. - name: board
  1651. in: path
  1652. description: |
  1653. the board ID
  1654. type: string
  1655. required: true
  1656. - name: list
  1657. in: path
  1658. description: |
  1659. the List ID
  1660. type: string
  1661. required: true
  1662. produces:
  1663. - application/json
  1664. security:
  1665. - UserSecurity: []
  1666. responses:
  1667. '200':
  1668. description: |-
  1669. 200 response
  1670. schema:
  1671. $ref: "#/definitions/Lists"
  1672. delete:
  1673. operationId: delete_list
  1674. summary: Delete a List
  1675. description: |
  1676. This **deletes** a list from a board.
  1677. The list is not put in the recycle bin.
  1678. tags:
  1679. - Lists
  1680. parameters:
  1681. - name: board
  1682. in: path
  1683. description: |
  1684. the board ID
  1685. type: string
  1686. required: true
  1687. - name: list
  1688. in: path
  1689. description: |
  1690. the ID of the list to remove
  1691. type: string
  1692. required: true
  1693. produces:
  1694. - application/json
  1695. security:
  1696. - UserSecurity: []
  1697. responses:
  1698. '200':
  1699. description: |-
  1700. 200 response
  1701. schema:
  1702. type: object
  1703. properties:
  1704. _id:
  1705. type: string
  1706. /api/boards/{board}/lists/{list}/cards:
  1707. get:
  1708. operationId: get_all_cards
  1709. summary: Get all Cards attached to a List
  1710. tags:
  1711. - Cards
  1712. parameters:
  1713. - name: board
  1714. in: path
  1715. description: |
  1716. the board ID
  1717. type: string
  1718. required: true
  1719. - name: list
  1720. in: path
  1721. description: |
  1722. the list ID
  1723. type: string
  1724. required: true
  1725. produces:
  1726. - application/json
  1727. security:
  1728. - UserSecurity: []
  1729. responses:
  1730. '200':
  1731. description: |-
  1732. 200 response
  1733. schema:
  1734. type: array
  1735. items:
  1736. type: object
  1737. properties:
  1738. _id:
  1739. type: string
  1740. title:
  1741. type: string
  1742. description:
  1743. type: string
  1744. post:
  1745. operationId: new_card
  1746. summary: Create a new Card
  1747. tags:
  1748. - Cards
  1749. consumes:
  1750. - multipart/form-data
  1751. - application/json
  1752. parameters:
  1753. - name: authorId
  1754. in: formData
  1755. description: the authorId value
  1756. type: string
  1757. required: true
  1758. - name: members
  1759. in: formData
  1760. description: |
  1761. the member IDs list of the new card
  1762. type: string
  1763. required: false
  1764. - name: assignees
  1765. in: formData
  1766. description: |
  1767. the array of maximum one ID of assignee of the new card
  1768. type: string
  1769. required: false
  1770. - name: title
  1771. in: formData
  1772. description: |
  1773. the title of the new card
  1774. type: string
  1775. required: true
  1776. - name: description
  1777. in: formData
  1778. description: |
  1779. the description of the new card
  1780. type: string
  1781. required: true
  1782. - name: swimlaneId
  1783. in: formData
  1784. description: |
  1785. the swimlane ID of the new card
  1786. type: string
  1787. required: true
  1788. - name: board
  1789. in: path
  1790. description: |
  1791. the board ID of the new card
  1792. type: string
  1793. required: true
  1794. - name: list
  1795. in: path
  1796. description: |
  1797. the list ID of the new card
  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. type: object
  1810. properties:
  1811. _id:
  1812. type: string
  1813. /api/boards/{board}/lists/{list}/cards/{card}:
  1814. get:
  1815. operationId: get_card
  1816. summary: Get a Card
  1817. tags:
  1818. - Cards
  1819. parameters:
  1820. - name: board
  1821. in: path
  1822. description: |
  1823. the board ID
  1824. type: string
  1825. required: true
  1826. - name: list
  1827. in: path
  1828. description: |
  1829. the list ID of the card
  1830. type: string
  1831. required: true
  1832. - name: card
  1833. in: path
  1834. description: |
  1835. the card ID
  1836. type: string
  1837. required: true
  1838. produces:
  1839. - application/json
  1840. security:
  1841. - UserSecurity: []
  1842. responses:
  1843. '200':
  1844. description: |-
  1845. 200 response
  1846. schema:
  1847. $ref: "#/definitions/Cards"
  1848. put:
  1849. operationId: edit_card
  1850. summary: Edit Fields in a Card
  1851. description: |
  1852. Edit a card
  1853. The color has to be chosen between `white`, `green`, `yellow`, `orange`,
  1854. `red`, `purple`, `blue`, `sky`, `lime`, `pink`, `black`, `silver`,
  1855. `peachpuff`, `crimson`, `plum`, `darkgreen`, `slateblue`, `magenta`,
  1856. `gold`, `navy`, `gray`, `saddlebrown`, `paleturquoise`, `mistyrose`,
  1857. `indigo`:
  1858. <img src="/card-colors.png" width="40%" alt="Wekan card colors" />
  1859. Note: setting the color to white has the same effect than removing it.
  1860. tags:
  1861. - Cards
  1862. consumes:
  1863. - multipart/form-data
  1864. - application/json
  1865. parameters:
  1866. - name: title
  1867. in: formData
  1868. description: |
  1869. the new title of the card
  1870. type: string
  1871. required: false
  1872. - name: sort
  1873. in: formData
  1874. description: |
  1875. the new sort value of the card
  1876. type: string
  1877. required: false
  1878. - name: parentId
  1879. in: formData
  1880. description: |
  1881. change the parent of the card
  1882. type: string
  1883. required: false
  1884. - name: description
  1885. in: formData
  1886. description: |
  1887. the new description of the card
  1888. type: string
  1889. required: false
  1890. - name: color
  1891. in: formData
  1892. description: |
  1893. the new color of the card
  1894. type: string
  1895. required: false
  1896. - name: vote
  1897. in: formData
  1898. description: |
  1899. the vote object
  1900. type: object
  1901. required: false
  1902. - name: poker
  1903. in: formData
  1904. description: |
  1905. the poker object
  1906. type: object
  1907. required: false
  1908. - name: labelIds
  1909. in: formData
  1910. description: |
  1911. the new list of label IDs attached to the card
  1912. type: string
  1913. required: false
  1914. - name: requestedBy
  1915. in: formData
  1916. description: |
  1917. the new requestedBy field of the card
  1918. type: string
  1919. required: false
  1920. - name: assignedBy
  1921. in: formData
  1922. description: |
  1923. the new assignedBy field of the card
  1924. type: string
  1925. required: false
  1926. - name: receivedAt
  1927. in: formData
  1928. description: |
  1929. the new receivedAt field of the card
  1930. type: string
  1931. required: false
  1932. - name: startAt
  1933. in: formData
  1934. description: |
  1935. the new startAt field of the card
  1936. type: string
  1937. required: false
  1938. - name: dueAt
  1939. in: formData
  1940. description: |
  1941. the new dueAt field of the card
  1942. type: string
  1943. required: false
  1944. - name: endAt
  1945. in: formData
  1946. description: |
  1947. the new endAt field of the card
  1948. type: string
  1949. required: false
  1950. - name: spentTime
  1951. in: formData
  1952. description: |
  1953. the new spentTime field of the card
  1954. type: string
  1955. required: false
  1956. - name: isOverTime
  1957. in: formData
  1958. description: |
  1959. the new isOverTime field of the card
  1960. type: boolean
  1961. required: false
  1962. - name: customFields
  1963. in: formData
  1964. description: |
  1965. the new customFields value of the card
  1966. type: string
  1967. required: false
  1968. - name: members
  1969. in: formData
  1970. description: |
  1971. the new list of member IDs attached to the card
  1972. type: string
  1973. required: false
  1974. - name: assignees
  1975. in: formData
  1976. description: |
  1977. the array of maximum one ID of assignee attached to the card
  1978. type: string
  1979. required: false
  1980. - name: swimlaneId
  1981. in: formData
  1982. description: |
  1983. the new swimlane ID of the card
  1984. type: string
  1985. required: false
  1986. - name: listId
  1987. in: formData
  1988. description: |
  1989. the new list ID of the card (move operation)
  1990. type: string
  1991. required: false
  1992. - name: authorId
  1993. in: formData
  1994. description: |
  1995. change the owner of the card
  1996. type: string
  1997. required: false
  1998. - name: board
  1999. in: path
  2000. description: |
  2001. the board ID of the card
  2002. type: string
  2003. required: true
  2004. - name: list
  2005. in: path
  2006. description: |
  2007. the list ID of the card
  2008. type: string
  2009. required: true
  2010. - name: card
  2011. in: path
  2012. description: |
  2013. the ID of the card
  2014. type: string
  2015. required: true
  2016. produces:
  2017. - application/json
  2018. security:
  2019. - UserSecurity: []
  2020. responses:
  2021. '200':
  2022. description: |-
  2023. 200 response
  2024. schema:
  2025. type: object
  2026. properties:
  2027. _id:
  2028. type: string
  2029. delete:
  2030. operationId: delete_card
  2031. summary: Delete a card from a board
  2032. description: |
  2033. This operation **deletes** a card, and therefore the card
  2034. is not put in the recycle bin.
  2035. tags:
  2036. - Cards
  2037. parameters:
  2038. - name: board
  2039. in: path
  2040. description: |
  2041. the board ID of the card
  2042. type: string
  2043. required: true
  2044. - name: list
  2045. in: path
  2046. description: |
  2047. the list ID of the card
  2048. type: string
  2049. required: true
  2050. - name: card
  2051. in: path
  2052. description: |
  2053. the ID of the card
  2054. type: string
  2055. required: true
  2056. produces:
  2057. - application/json
  2058. security:
  2059. - UserSecurity: []
  2060. responses:
  2061. '200':
  2062. description: |-
  2063. 200 response
  2064. schema:
  2065. type: object
  2066. properties:
  2067. _id:
  2068. type: string
  2069. /api/boards/{board}/lists/{list}/cards_count:
  2070. get:
  2071. operationId: get_list_cards_count
  2072. summary: Get a cards count to a list
  2073. tags:
  2074. - Cards
  2075. parameters:
  2076. - name: board
  2077. in: path
  2078. description: |
  2079. the board ID
  2080. type: string
  2081. required: true
  2082. - name: list
  2083. in: path
  2084. description: |
  2085. the List ID
  2086. type: string
  2087. required: true
  2088. produces:
  2089. - application/json
  2090. security:
  2091. - UserSecurity: []
  2092. responses:
  2093. '200':
  2094. description: |-
  2095. 200 response
  2096. schema:
  2097. type: object
  2098. properties:
  2099. list_cards_count:
  2100. type: integer
  2101. /api/boards/{board}/members/{member}:
  2102. post:
  2103. operationId: set_board_member_permission
  2104. summary: Change the permission of a member of a board
  2105. tags:
  2106. - Boards
  2107. - Users
  2108. consumes:
  2109. - multipart/form-data
  2110. - application/json
  2111. parameters:
  2112. - name: isAdmin
  2113. in: formData
  2114. description: |
  2115. admin capability
  2116. type: boolean
  2117. required: true
  2118. - name: isNoComments
  2119. in: formData
  2120. description: |
  2121. NoComments capability
  2122. type: boolean
  2123. required: true
  2124. - name: isCommentOnly
  2125. in: formData
  2126. description: |
  2127. CommentsOnly capability
  2128. type: boolean
  2129. required: true
  2130. - name: isWorker
  2131. in: formData
  2132. description: |
  2133. Worker capability
  2134. type: boolean
  2135. required: true
  2136. - name: board
  2137. in: path
  2138. description: |
  2139. the ID of the board that we are changing
  2140. type: string
  2141. required: true
  2142. - name: member
  2143. in: path
  2144. description: |
  2145. the ID of the user to change permissions
  2146. type: string
  2147. required: true
  2148. produces:
  2149. - application/json
  2150. security:
  2151. - UserSecurity: []
  2152. responses:
  2153. '200':
  2154. description: |-
  2155. 200 response
  2156. /api/boards/{board}/members/{user}/add:
  2157. post:
  2158. operationId: add_board_member
  2159. summary: Add New Board Member with Role
  2160. description: |
  2161. Only the admin user (the first user) can call the REST API.
  2162. **Note**: see [Boards.set_board_member_permission](#set_board_member_permission)
  2163. to later change the permissions.
  2164. tags:
  2165. - Users
  2166. - Boards
  2167. consumes:
  2168. - multipart/form-data
  2169. - application/json
  2170. parameters:
  2171. - name: action
  2172. in: formData
  2173. description: the action value
  2174. type: string
  2175. required: true
  2176. - name: isAdmin
  2177. in: formData
  2178. description: |
  2179. is the user an admin of the board
  2180. type: boolean
  2181. required: true
  2182. - name: isNoComments
  2183. in: formData
  2184. description: |
  2185. disable comments
  2186. type: boolean
  2187. required: true
  2188. - name: isCommentOnly
  2189. in: formData
  2190. description: |
  2191. only enable comments
  2192. type: boolean
  2193. required: true
  2194. - name: board
  2195. in: path
  2196. description: |
  2197. the board ID
  2198. type: string
  2199. required: true
  2200. - name: user
  2201. in: path
  2202. description: |
  2203. the user ID
  2204. type: string
  2205. required: true
  2206. produces:
  2207. - application/json
  2208. security:
  2209. - UserSecurity: []
  2210. responses:
  2211. '200':
  2212. description: |-
  2213. 200 response
  2214. schema:
  2215. type: object
  2216. properties:
  2217. _id:
  2218. type: string
  2219. title:
  2220. type: string
  2221. /api/boards/{board}/members/{user}/remove:
  2222. post:
  2223. operationId: remove_board_member
  2224. summary: Remove Member from Board
  2225. description: |
  2226. Only the admin user (the first user) can call the REST API.
  2227. tags:
  2228. - Users
  2229. - Boards
  2230. consumes:
  2231. - multipart/form-data
  2232. - application/json
  2233. parameters:
  2234. - name: action
  2235. in: formData
  2236. description: |
  2237. the action (needs to be `remove`)
  2238. type: string
  2239. required: true
  2240. - name: board
  2241. in: path
  2242. description: |
  2243. the board ID
  2244. type: string
  2245. required: true
  2246. - name: user
  2247. in: path
  2248. description: |
  2249. the user ID
  2250. type: string
  2251. required: true
  2252. produces:
  2253. - application/json
  2254. security:
  2255. - UserSecurity: []
  2256. responses:
  2257. '200':
  2258. description: |-
  2259. 200 response
  2260. schema:
  2261. type: object
  2262. properties:
  2263. _id:
  2264. type: string
  2265. title:
  2266. type: string
  2267. /api/boards/{board}/swimlanes:
  2268. get:
  2269. operationId: get_all_swimlanes
  2270. summary: Get the list of swimlanes attached to a board
  2271. tags:
  2272. - Swimlanes
  2273. parameters:
  2274. - name: board
  2275. in: path
  2276. description: |
  2277. the ID of the board
  2278. type: string
  2279. required: true
  2280. produces:
  2281. - application/json
  2282. security:
  2283. - UserSecurity: []
  2284. responses:
  2285. '200':
  2286. description: |-
  2287. 200 response
  2288. schema:
  2289. type: array
  2290. items:
  2291. type: object
  2292. properties:
  2293. _id:
  2294. type: string
  2295. title:
  2296. type: string
  2297. post:
  2298. operationId: new_swimlane
  2299. summary: Add a swimlane to a board
  2300. tags:
  2301. - Swimlanes
  2302. consumes:
  2303. - multipart/form-data
  2304. - application/json
  2305. parameters:
  2306. - name: title
  2307. in: formData
  2308. description: |
  2309. the new title of the swimlane
  2310. type: string
  2311. required: true
  2312. - name: board
  2313. in: path
  2314. description: |
  2315. the ID of the board
  2316. type: string
  2317. required: true
  2318. produces:
  2319. - application/json
  2320. security:
  2321. - UserSecurity: []
  2322. responses:
  2323. '200':
  2324. description: |-
  2325. 200 response
  2326. schema:
  2327. type: object
  2328. properties:
  2329. _id:
  2330. type: string
  2331. /api/boards/{board}/swimlanes/{swimlane}:
  2332. get:
  2333. operationId: get_swimlane
  2334. summary: Get a swimlane
  2335. tags:
  2336. - Swimlanes
  2337. parameters:
  2338. - name: board
  2339. in: path
  2340. description: |
  2341. the ID of the board
  2342. type: string
  2343. required: true
  2344. - name: swimlane
  2345. in: path
  2346. description: |
  2347. the ID of the swimlane
  2348. type: string
  2349. required: true
  2350. produces:
  2351. - application/json
  2352. security:
  2353. - UserSecurity: []
  2354. responses:
  2355. '200':
  2356. description: |-
  2357. 200 response
  2358. schema:
  2359. $ref: "#/definitions/Swimlanes"
  2360. delete:
  2361. operationId: delete_swimlane
  2362. summary: Delete a swimlane
  2363. description: |
  2364. The swimlane will be deleted, not moved to the recycle bin
  2365. tags:
  2366. - Swimlanes
  2367. parameters:
  2368. - name: board
  2369. in: path
  2370. description: |
  2371. the ID of the board
  2372. type: string
  2373. required: true
  2374. - name: swimlane
  2375. in: path
  2376. description: |
  2377. the ID of the swimlane
  2378. type: string
  2379. required: true
  2380. produces:
  2381. - application/json
  2382. security:
  2383. - UserSecurity: []
  2384. responses:
  2385. '200':
  2386. description: |-
  2387. 200 response
  2388. schema:
  2389. type: object
  2390. properties:
  2391. _id:
  2392. type: string
  2393. /api/boards/{board}/swimlanes/{swimlane}/cards:
  2394. get:
  2395. operationId: get_swimlane_cards
  2396. summary: get all cards attached to a swimlane
  2397. tags:
  2398. - Cards
  2399. parameters:
  2400. - name: board
  2401. in: path
  2402. description: |
  2403. the board ID
  2404. type: string
  2405. required: true
  2406. - name: swimlane
  2407. in: path
  2408. description: |
  2409. the swimlane ID
  2410. type: string
  2411. required: true
  2412. produces:
  2413. - application/json
  2414. security:
  2415. - UserSecurity: []
  2416. responses:
  2417. '200':
  2418. description: |-
  2419. 200 response
  2420. schema:
  2421. type: array
  2422. items:
  2423. type: object
  2424. properties:
  2425. _id:
  2426. type: string
  2427. title:
  2428. type: string
  2429. description:
  2430. type: string
  2431. listId:
  2432. type: string
  2433. /api/boards_count:
  2434. get:
  2435. operationId: get_boards_count
  2436. summary: Get public and private boards count
  2437. tags:
  2438. - Boards
  2439. produces:
  2440. - application/json
  2441. security:
  2442. - UserSecurity: []
  2443. responses:
  2444. '200':
  2445. description: |-
  2446. 200 response
  2447. schema:
  2448. type: object
  2449. properties:
  2450. private:
  2451. type: integer
  2452. public:
  2453. type: integer
  2454. /api/createtoken/{user}:
  2455. post:
  2456. operationId: create_user_token
  2457. summary: Create a user token
  2458. description: |
  2459. Only the admin user (the first user) can call the REST API.
  2460. tags:
  2461. - Users
  2462. consumes:
  2463. - multipart/form-data
  2464. - application/json
  2465. parameters:
  2466. - name: user
  2467. in: path
  2468. description: |
  2469. the ID of the user to create token for.
  2470. type: string
  2471. required: true
  2472. produces:
  2473. - application/json
  2474. security:
  2475. - UserSecurity: []
  2476. responses:
  2477. '200':
  2478. description: |-
  2479. 200 response
  2480. schema:
  2481. type: object
  2482. properties:
  2483. _id:
  2484. type: string
  2485. /api/user:
  2486. get:
  2487. operationId: get_current_user
  2488. summary: returns the current user
  2489. tags:
  2490. - Users
  2491. produces:
  2492. - application/json
  2493. security:
  2494. - UserSecurity: []
  2495. responses:
  2496. '200':
  2497. description: |-
  2498. 200 response
  2499. schema:
  2500. $ref: "#/definitions/Users"
  2501. /api/users:
  2502. get:
  2503. operationId: get_all_users
  2504. summary: return all the users
  2505. description: |
  2506. Only the admin user (the first user) can call the REST API.
  2507. tags:
  2508. - Users
  2509. produces:
  2510. - application/json
  2511. security:
  2512. - UserSecurity: []
  2513. responses:
  2514. '200':
  2515. description: |-
  2516. 200 response
  2517. schema:
  2518. type: array
  2519. items:
  2520. type: object
  2521. properties:
  2522. _id:
  2523. type: string
  2524. username:
  2525. type: string
  2526. post:
  2527. operationId: new_user
  2528. summary: Create a new user
  2529. description: |
  2530. Only the admin user (the first user) can call the REST API.
  2531. tags:
  2532. - Users
  2533. consumes:
  2534. - multipart/form-data
  2535. - application/json
  2536. parameters:
  2537. - name: username
  2538. in: formData
  2539. description: |
  2540. the new username
  2541. type: string
  2542. required: true
  2543. - name: email
  2544. in: formData
  2545. description: |
  2546. the email of the new user
  2547. type: string
  2548. required: true
  2549. - name: password
  2550. in: formData
  2551. description: |
  2552. the password of the new user
  2553. type: string
  2554. required: true
  2555. produces:
  2556. - application/json
  2557. security:
  2558. - UserSecurity: []
  2559. responses:
  2560. '200':
  2561. description: |-
  2562. 200 response
  2563. schema:
  2564. type: object
  2565. properties:
  2566. _id:
  2567. type: string
  2568. /api/users/{user}:
  2569. get:
  2570. operationId: get_user
  2571. summary: get a given user
  2572. description: |
  2573. Only the admin user (the first user) can call the REST API.
  2574. tags:
  2575. - Users
  2576. parameters:
  2577. - name: user
  2578. in: path
  2579. description: |
  2580. the user ID or username
  2581. type: string
  2582. required: true
  2583. produces:
  2584. - application/json
  2585. security:
  2586. - UserSecurity: []
  2587. responses:
  2588. '200':
  2589. description: |-
  2590. 200 response
  2591. schema:
  2592. $ref: "#/definitions/Users"
  2593. put:
  2594. operationId: edit_user
  2595. summary: edit a given user
  2596. description: |
  2597. Only the admin user (the first user) can call the REST API.
  2598. Possible values for *action*:
  2599. - `takeOwnership`: The admin takes the ownership of ALL boards of the user (archived and not archived) where the user is admin on.
  2600. - `disableLogin`: Disable a user (the user is not allowed to login and his login tokens are purged)
  2601. - `enableLogin`: Enable a user
  2602. tags:
  2603. - Users
  2604. consumes:
  2605. - multipart/form-data
  2606. - application/json
  2607. parameters:
  2608. - name: action
  2609. in: formData
  2610. description: |
  2611. the action
  2612. type: string
  2613. required: true
  2614. - name: user
  2615. in: path
  2616. description: |
  2617. the user ID
  2618. type: string
  2619. required: true
  2620. produces:
  2621. - application/json
  2622. security:
  2623. - UserSecurity: []
  2624. responses:
  2625. '200':
  2626. description: |-
  2627. 200 response
  2628. schema:
  2629. type: object
  2630. properties:
  2631. _id:
  2632. type: string
  2633. title:
  2634. type: string
  2635. delete:
  2636. operationId: delete_user
  2637. summary: Delete a user
  2638. description: |
  2639. Only the admin user (the first user) can call the REST API.
  2640. tags:
  2641. - Users
  2642. parameters:
  2643. - name: user
  2644. in: path
  2645. description: |
  2646. the ID of the user to delete
  2647. type: string
  2648. required: true
  2649. produces:
  2650. - application/json
  2651. security:
  2652. - UserSecurity: []
  2653. responses:
  2654. '200':
  2655. description: |-
  2656. 200 response
  2657. schema:
  2658. type: object
  2659. properties:
  2660. _id:
  2661. type: string
  2662. /api/users/{user}/boards:
  2663. get:
  2664. operationId: get_boards_from_user
  2665. summary: Get all boards attached to a user
  2666. tags:
  2667. - Boards
  2668. parameters:
  2669. - name: user
  2670. in: path
  2671. description: |
  2672. the ID of the user to retrieve the data
  2673. type: string
  2674. required: true
  2675. produces:
  2676. - application/json
  2677. security:
  2678. - UserSecurity: []
  2679. responses:
  2680. '200':
  2681. description: |-
  2682. 200 response
  2683. schema:
  2684. type: array
  2685. items:
  2686. type: object
  2687. properties:
  2688. _id:
  2689. type: string
  2690. title:
  2691. type: string
  2692. definitions:
  2693. Boards:
  2694. type: object
  2695. description: This is a Board.
  2696. properties:
  2697. title:
  2698. description: |
  2699. The title of the board
  2700. type: string
  2701. slug:
  2702. description: |
  2703. The title slugified.
  2704. type: string
  2705. archived:
  2706. description: |
  2707. Is the board archived?
  2708. type: boolean
  2709. archivedAt:
  2710. description: |
  2711. Latest archiving time of the board
  2712. type: string
  2713. x-nullable: true
  2714. createdAt:
  2715. description: |
  2716. Creation time of the board
  2717. type: string
  2718. modifiedAt:
  2719. description: |
  2720. Last modification time of the board
  2721. type: string
  2722. x-nullable: true
  2723. stars:
  2724. description: |
  2725. How many stars the board has
  2726. type: number
  2727. labels:
  2728. description: |
  2729. List of labels attached to a board
  2730. type: array
  2731. items:
  2732. $ref: "#/definitions/BoardsLabels"
  2733. x-nullable: true
  2734. members:
  2735. description: |
  2736. List of members of a board
  2737. type: array
  2738. items:
  2739. $ref: "#/definitions/BoardsMembers"
  2740. permission:
  2741. description: |
  2742. visibility of the board
  2743. type: string
  2744. enum:
  2745. - public
  2746. - private
  2747. orgs:
  2748. description: |
  2749. the list of organizations that a board belongs to
  2750. type: array
  2751. items:
  2752. $ref: "#/definitions/BoardsOrgs"
  2753. x-nullable: true
  2754. teams:
  2755. description: |
  2756. the list of teams that a board belongs to
  2757. type: array
  2758. items:
  2759. $ref: "#/definitions/BoardsTeams"
  2760. x-nullable: true
  2761. color:
  2762. description: |
  2763. The color of the board.
  2764. type: string
  2765. enum:
  2766. - belize
  2767. - nephritis
  2768. - pomegranate
  2769. - pumpkin
  2770. - wisteria
  2771. - moderatepink
  2772. - strongcyan
  2773. - limegreen
  2774. - midnight
  2775. - dark
  2776. - relax
  2777. - corteza
  2778. - clearblue
  2779. - natural
  2780. - modern
  2781. - moderndark
  2782. - exodark
  2783. allowsCardCounterList:
  2784. description: |
  2785. Show card counter per list
  2786. type: boolean
  2787. allowsBoardMemberList:
  2788. description: |
  2789. Show board member list
  2790. type: boolean
  2791. description:
  2792. description: |
  2793. The description of the board
  2794. type: string
  2795. x-nullable: true
  2796. subtasksDefaultBoardId:
  2797. description: |
  2798. The default board ID assigned to subtasks.
  2799. type: string
  2800. x-nullable: true
  2801. subtasksDefaultListId:
  2802. description: |
  2803. The default List ID assigned to subtasks.
  2804. type: string
  2805. x-nullable: true
  2806. dateSettingsDefaultBoardId:
  2807. type: string
  2808. x-nullable: true
  2809. dateSettingsDefaultListId:
  2810. type: string
  2811. x-nullable: true
  2812. allowsSubtasks:
  2813. description: |
  2814. Does the board allows subtasks?
  2815. type: boolean
  2816. allowsAttachments:
  2817. description: |
  2818. Does the board allows attachments?
  2819. type: boolean
  2820. allowsChecklists:
  2821. description: |
  2822. Does the board allows checklists?
  2823. type: boolean
  2824. allowsComments:
  2825. description: |
  2826. Does the board allows comments?
  2827. type: boolean
  2828. allowsDescriptionTitle:
  2829. description: |
  2830. Does the board allows description title?
  2831. type: boolean
  2832. allowsDescriptionText:
  2833. description: |
  2834. Does the board allows description text?
  2835. type: boolean
  2836. allowsDescriptionTextOnMinicard:
  2837. description: |
  2838. Does the board allows description text on minicard?
  2839. type: boolean
  2840. allowsCardNumber:
  2841. description: |
  2842. Does the board allows card numbers?
  2843. type: boolean
  2844. allowsActivities:
  2845. description: |
  2846. Does the board allows comments?
  2847. type: boolean
  2848. allowsLabels:
  2849. description: |
  2850. Does the board allows labels?
  2851. type: boolean
  2852. allowsCreator:
  2853. description: |
  2854. Does the board allow creator?
  2855. type: boolean
  2856. allowsAssignee:
  2857. description: |
  2858. Does the board allows assignee?
  2859. type: boolean
  2860. allowsMembers:
  2861. description: |
  2862. Does the board allows members?
  2863. type: boolean
  2864. allowsRequestedBy:
  2865. description: |
  2866. Does the board allows requested by?
  2867. type: boolean
  2868. allowsCardSortingByNumber:
  2869. description: |
  2870. Does the board allows card sorting by number?
  2871. type: boolean
  2872. allowsShowLists:
  2873. description: |
  2874. Does the board allows show lists on the card?
  2875. type: boolean
  2876. allowsAssignedBy:
  2877. description: |
  2878. Does the board allows requested by?
  2879. type: boolean
  2880. allowsReceivedDate:
  2881. description: |
  2882. Does the board allows received date?
  2883. type: boolean
  2884. allowsStartDate:
  2885. description: |
  2886. Does the board allows start date?
  2887. type: boolean
  2888. allowsEndDate:
  2889. description: |
  2890. Does the board allows end date?
  2891. type: boolean
  2892. allowsDueDate:
  2893. description: |
  2894. Does the board allows due date?
  2895. type: boolean
  2896. presentParentTask:
  2897. description: |
  2898. Controls how to present the parent task:
  2899. - `prefix-with-full-path`: add a prefix with the full path
  2900. - `prefix-with-parent`: add a prefisx with the parent name
  2901. - `subtext-with-full-path`: add a subtext with the full path
  2902. - `subtext-with-parent`: add a subtext with the parent name
  2903. - `no-parent`: does not show the parent at all
  2904. type: string
  2905. enum:
  2906. - prefix-with-full-path
  2907. - prefix-with-parent
  2908. - subtext-with-full-path
  2909. - subtext-with-parent
  2910. - no-parent
  2911. x-nullable: true
  2912. receivedAt:
  2913. description: |
  2914. Date the card was received
  2915. type: string
  2916. x-nullable: true
  2917. startAt:
  2918. description: |
  2919. Starting date of the board.
  2920. type: string
  2921. x-nullable: true
  2922. dueAt:
  2923. description: |
  2924. Due date of the board.
  2925. type: string
  2926. x-nullable: true
  2927. endAt:
  2928. description: |
  2929. End date of the board.
  2930. type: string
  2931. x-nullable: true
  2932. spentTime:
  2933. description: |
  2934. Time spent in the board.
  2935. type: number
  2936. x-nullable: true
  2937. isOvertime:
  2938. description: |
  2939. Is the board overtimed?
  2940. type: boolean
  2941. x-nullable: true
  2942. type:
  2943. description: |
  2944. The type of board
  2945. possible values: board, template-board, template-container
  2946. type: string
  2947. enum:
  2948. - board
  2949. - template-board
  2950. - template-container
  2951. sort:
  2952. description: |
  2953. Sort value
  2954. type: number
  2955. required:
  2956. - title
  2957. - slug
  2958. - archived
  2959. - createdAt
  2960. - stars
  2961. - members
  2962. - permission
  2963. - color
  2964. - allowsCardCounterList
  2965. - allowsBoardMemberList
  2966. - allowsSubtasks
  2967. - allowsAttachments
  2968. - allowsChecklists
  2969. - allowsComments
  2970. - allowsDescriptionTitle
  2971. - allowsDescriptionText
  2972. - allowsDescriptionTextOnMinicard
  2973. - allowsCardNumber
  2974. - allowsActivities
  2975. - allowsLabels
  2976. - allowsCreator
  2977. - allowsAssignee
  2978. - allowsMembers
  2979. - allowsRequestedBy
  2980. - allowsCardSortingByNumber
  2981. - allowsShowLists
  2982. - allowsAssignedBy
  2983. - allowsReceivedDate
  2984. - allowsStartDate
  2985. - allowsEndDate
  2986. - allowsDueDate
  2987. - type
  2988. - sort
  2989. BoardsLabels:
  2990. type: object
  2991. properties:
  2992. _id:
  2993. description: |
  2994. Unique id of a label
  2995. type: string
  2996. name:
  2997. description: |
  2998. Name of a label
  2999. type: string
  3000. color:
  3001. description: |
  3002. color of a label.
  3003. Can be amongst `green`, `yellow`, `orange`, `red`, `purple`,
  3004. `blue`, `sky`, `lime`, `pink`, `black`,
  3005. `silver`, `peachpuff`, `crimson`, `plum`, `darkgreen`,
  3006. `slateblue`, `magenta`, `gold`, `navy`, `gray`,
  3007. `saddlebrown`, `paleturquoise`, `mistyrose`, `indigo`
  3008. type: string
  3009. enum:
  3010. - white
  3011. - green
  3012. - yellow
  3013. - orange
  3014. - red
  3015. - purple
  3016. - blue
  3017. - sky
  3018. - lime
  3019. - pink
  3020. - black
  3021. - silver
  3022. - peachpuff
  3023. - crimson
  3024. - plum
  3025. - darkgreen
  3026. - slateblue
  3027. - magenta
  3028. - gold
  3029. - navy
  3030. - gray
  3031. - saddlebrown
  3032. - paleturquoise
  3033. - mistyrose
  3034. - indigo
  3035. required:
  3036. - _id
  3037. - color
  3038. BoardsMembers:
  3039. type: object
  3040. properties:
  3041. userId:
  3042. description: |
  3043. The uniq ID of the member
  3044. type: string
  3045. isAdmin:
  3046. description: |
  3047. Is the member an admin of the board?
  3048. type: boolean
  3049. isActive:
  3050. description: |
  3051. Is the member active?
  3052. type: boolean
  3053. isNoComments:
  3054. description: |
  3055. Is the member not allowed to make comments
  3056. type: boolean
  3057. isCommentOnly:
  3058. description: |
  3059. Is the member only allowed to comment on the board
  3060. type: boolean
  3061. isWorker:
  3062. description: |
  3063. Is the member only allowed to move card, assign himself to card and comment
  3064. type: boolean
  3065. required:
  3066. - userId
  3067. - isAdmin
  3068. - isActive
  3069. BoardsOrgs:
  3070. type: object
  3071. properties:
  3072. orgId:
  3073. description: |
  3074. The uniq ID of the organization
  3075. type: string
  3076. orgDisplayName:
  3077. description: |
  3078. The display name of the organization
  3079. type: string
  3080. isActive:
  3081. description: |
  3082. Is the organization active?
  3083. type: boolean
  3084. required:
  3085. - orgId
  3086. - orgDisplayName
  3087. - isActive
  3088. BoardsTeams:
  3089. type: object
  3090. properties:
  3091. teamId:
  3092. description: |
  3093. The uniq ID of the team
  3094. type: string
  3095. teamDisplayName:
  3096. description: |
  3097. The display name of the team
  3098. type: string
  3099. isActive:
  3100. description: |
  3101. Is the team active?
  3102. type: boolean
  3103. required:
  3104. - teamId
  3105. - teamDisplayName
  3106. - isActive
  3107. CardComments:
  3108. type: object
  3109. description: A comment on a card
  3110. properties:
  3111. boardId:
  3112. description: |
  3113. the board ID
  3114. type: string
  3115. cardId:
  3116. description: |
  3117. the card ID
  3118. type: string
  3119. text:
  3120. description: |
  3121. the text of the comment
  3122. type: string
  3123. createdAt:
  3124. description: |
  3125. when was the comment created
  3126. type: string
  3127. modifiedAt:
  3128. type: string
  3129. userId:
  3130. description: |
  3131. the author ID of the comment
  3132. type: string
  3133. required:
  3134. - boardId
  3135. - cardId
  3136. - text
  3137. - createdAt
  3138. - modifiedAt
  3139. - userId
  3140. Cards:
  3141. type: object
  3142. properties:
  3143. title:
  3144. description: |
  3145. the title of the card
  3146. type: string
  3147. x-nullable: true
  3148. archived:
  3149. description: |
  3150. is the card archived
  3151. type: boolean
  3152. archivedAt:
  3153. description: |
  3154. latest archiving date
  3155. type: string
  3156. x-nullable: true
  3157. parentId:
  3158. description: |
  3159. ID of the parent card
  3160. type: string
  3161. x-nullable: true
  3162. listId:
  3163. description: |
  3164. List ID where the card is
  3165. type: string
  3166. x-nullable: true
  3167. swimlaneId:
  3168. description: |
  3169. Swimlane ID where the card is
  3170. type: string
  3171. boardId:
  3172. description: |
  3173. Board ID of the card
  3174. type: string
  3175. x-nullable: true
  3176. coverId:
  3177. description: |
  3178. Cover ID of the card
  3179. type: string
  3180. x-nullable: true
  3181. color:
  3182. type: string
  3183. enum:
  3184. - white
  3185. - green
  3186. - yellow
  3187. - orange
  3188. - red
  3189. - purple
  3190. - blue
  3191. - sky
  3192. - lime
  3193. - pink
  3194. - black
  3195. - silver
  3196. - peachpuff
  3197. - crimson
  3198. - plum
  3199. - darkgreen
  3200. - slateblue
  3201. - magenta
  3202. - gold
  3203. - navy
  3204. - gray
  3205. - saddlebrown
  3206. - paleturquoise
  3207. - mistyrose
  3208. - indigo
  3209. x-nullable: true
  3210. createdAt:
  3211. description: |
  3212. creation date
  3213. type: string
  3214. modifiedAt:
  3215. type: string
  3216. customFields:
  3217. description: |
  3218. list of custom fields
  3219. type: array
  3220. items:
  3221. $ref: "#/definitions/CardsCustomfields"
  3222. x-nullable: true
  3223. dateLastActivity:
  3224. description: |
  3225. Date of last activity
  3226. type: string
  3227. description:
  3228. description: |
  3229. description of the card
  3230. type: string
  3231. x-nullable: true
  3232. requestedBy:
  3233. description: |
  3234. who requested the card (ID of the user)
  3235. type: string
  3236. x-nullable: true
  3237. assignedBy:
  3238. description: |
  3239. who assigned the card (ID of the user)
  3240. type: string
  3241. x-nullable: true
  3242. labelIds:
  3243. description: |
  3244. list of labels ID the card has
  3245. type: array
  3246. items:
  3247. type: string
  3248. x-nullable: true
  3249. x-nullable: true
  3250. members:
  3251. description: |
  3252. list of members (user IDs)
  3253. type: array
  3254. items:
  3255. type: string
  3256. x-nullable: true
  3257. x-nullable: true
  3258. assignees:
  3259. description: |
  3260. who is assignee of the card (user ID),
  3261. maximum one ID of assignee in array.
  3262. type: array
  3263. items:
  3264. type: string
  3265. x-nullable: true
  3266. x-nullable: true
  3267. receivedAt:
  3268. description: |
  3269. Date the card was received
  3270. type: string
  3271. x-nullable: true
  3272. startAt:
  3273. description: |
  3274. Date the card was started to be worked on
  3275. type: string
  3276. x-nullable: true
  3277. dueAt:
  3278. description: |
  3279. Date the card is due
  3280. type: string
  3281. x-nullable: true
  3282. endAt:
  3283. description: |
  3284. Date the card ended
  3285. type: string
  3286. x-nullable: true
  3287. spentTime:
  3288. description: |
  3289. How much time has been spent on this
  3290. type: number
  3291. x-nullable: true
  3292. isOvertime:
  3293. description: |
  3294. is the card over time?
  3295. type: boolean
  3296. x-nullable: true
  3297. userId:
  3298. description: |
  3299. user ID of the author of the card
  3300. type: string
  3301. sort:
  3302. description: |
  3303. Sort value
  3304. type: number
  3305. x-nullable: true
  3306. subtaskSort:
  3307. description: |
  3308. subtask sort value
  3309. type: number
  3310. x-nullable: true
  3311. type:
  3312. description: |
  3313. type of the card
  3314. type: string
  3315. linkedId:
  3316. description: |
  3317. ID of the linked card
  3318. type: string
  3319. x-nullable: true
  3320. vote:
  3321. description: |
  3322. vote object, see below
  3323. $ref: "#/definitions/CardsVote"
  3324. x-nullable: true
  3325. poker:
  3326. description: |
  3327. poker object, see below
  3328. $ref: "#/definitions/CardsPoker"
  3329. x-nullable: true
  3330. targetId_gantt:
  3331. description: |
  3332. ID of card which is the child link in gantt view
  3333. type: array
  3334. items:
  3335. type: string
  3336. x-nullable: true
  3337. x-nullable: true
  3338. linkType_gantt:
  3339. description: |
  3340. ID of card which is the parent link in gantt view
  3341. type: array
  3342. items:
  3343. type: number
  3344. x-nullable: true
  3345. x-nullable: true
  3346. linkId_gantt:
  3347. description: |
  3348. ID of card which is the parent link in gantt view
  3349. type: array
  3350. items:
  3351. type: string
  3352. x-nullable: true
  3353. x-nullable: true
  3354. cardNumber:
  3355. description: |
  3356. A boardwise sequentially increasing number that is assigned
  3357. to every newly created card
  3358. type: number
  3359. x-nullable: true
  3360. required:
  3361. - archived
  3362. - swimlaneId
  3363. - createdAt
  3364. - modifiedAt
  3365. - dateLastActivity
  3366. - userId
  3367. - type
  3368. CardsVote:
  3369. type: object
  3370. properties:
  3371. question:
  3372. type: string
  3373. positive:
  3374. description: |
  3375. list of members (user IDs)
  3376. type: array
  3377. items:
  3378. type: string
  3379. x-nullable: true
  3380. negative:
  3381. description: |
  3382. list of members (user IDs)
  3383. type: array
  3384. items:
  3385. type: string
  3386. x-nullable: true
  3387. end:
  3388. type: string
  3389. public:
  3390. type: boolean
  3391. allowNonBoardMembers:
  3392. type: boolean
  3393. required:
  3394. - question
  3395. - public
  3396. - allowNonBoardMembers
  3397. CardsPoker:
  3398. type: object
  3399. properties:
  3400. question:
  3401. type: boolean
  3402. one:
  3403. description: |
  3404. poker card one
  3405. type: array
  3406. items:
  3407. type: string
  3408. x-nullable: true
  3409. two:
  3410. description: |
  3411. poker card two
  3412. type: array
  3413. items:
  3414. type: string
  3415. x-nullable: true
  3416. three:
  3417. description: |
  3418. poker card three
  3419. type: array
  3420. items:
  3421. type: string
  3422. x-nullable: true
  3423. five:
  3424. description: |
  3425. poker card five
  3426. type: array
  3427. items:
  3428. type: string
  3429. x-nullable: true
  3430. eight:
  3431. description: |
  3432. poker card eight
  3433. type: array
  3434. items:
  3435. type: string
  3436. x-nullable: true
  3437. thirteen:
  3438. description: |
  3439. poker card thirteen
  3440. type: array
  3441. items:
  3442. type: string
  3443. x-nullable: true
  3444. twenty:
  3445. description: |
  3446. poker card twenty
  3447. type: array
  3448. items:
  3449. type: string
  3450. x-nullable: true
  3451. forty:
  3452. description: |
  3453. poker card forty
  3454. type: array
  3455. items:
  3456. type: string
  3457. x-nullable: true
  3458. oneHundred:
  3459. description: |
  3460. poker card oneHundred
  3461. type: array
  3462. items:
  3463. type: string
  3464. x-nullable: true
  3465. unsure:
  3466. description: |
  3467. poker card unsure
  3468. type: array
  3469. items:
  3470. type: string
  3471. x-nullable: true
  3472. end:
  3473. type: string
  3474. allowNonBoardMembers:
  3475. type: boolean
  3476. estimation:
  3477. description: |
  3478. poker estimation value
  3479. type: number
  3480. required:
  3481. - question
  3482. - allowNonBoardMembers
  3483. CardsCustomfields:
  3484. type: object
  3485. ChecklistItems:
  3486. type: object
  3487. description: An item in a checklist
  3488. properties:
  3489. title:
  3490. description: |
  3491. the text of the item
  3492. type: string
  3493. sort:
  3494. description: |
  3495. the sorting field of the item
  3496. type: number
  3497. isFinished:
  3498. description: |
  3499. Is the item checked?
  3500. type: boolean
  3501. checklistId:
  3502. description: |
  3503. the checklist ID the item is attached to
  3504. type: string
  3505. cardId:
  3506. description: |
  3507. the card ID the item is attached to
  3508. type: string
  3509. createdAt:
  3510. type: string
  3511. x-nullable: true
  3512. modifiedAt:
  3513. type: string
  3514. required:
  3515. - title
  3516. - sort
  3517. - isFinished
  3518. - checklistId
  3519. - cardId
  3520. - modifiedAt
  3521. Checklists:
  3522. type: object
  3523. description: A Checklist
  3524. properties:
  3525. cardId:
  3526. description: |
  3527. The ID of the card the checklist is in
  3528. type: string
  3529. title:
  3530. description: |
  3531. the title of the checklist
  3532. type: string
  3533. finishedAt:
  3534. description: |
  3535. When was the checklist finished
  3536. type: string
  3537. x-nullable: true
  3538. createdAt:
  3539. description: |
  3540. Creation date of the checklist
  3541. type: string
  3542. modifiedAt:
  3543. type: string
  3544. sort:
  3545. description: |
  3546. sorting value of the checklist
  3547. type: number
  3548. required:
  3549. - cardId
  3550. - title
  3551. - createdAt
  3552. - modifiedAt
  3553. - sort
  3554. CustomFields:
  3555. type: object
  3556. description: A custom field on a card in the board
  3557. properties:
  3558. boardIds:
  3559. description: |
  3560. the ID of the board
  3561. type: array
  3562. items:
  3563. type: string
  3564. name:
  3565. description: |
  3566. name of the custom field
  3567. type: string
  3568. type:
  3569. description: |
  3570. type of the custom field
  3571. type: string
  3572. enum:
  3573. - text
  3574. - number
  3575. - date
  3576. - dropdown
  3577. - checkbox
  3578. - currency
  3579. - stringtemplate
  3580. settings:
  3581. description: |
  3582. settings of the custom field
  3583. $ref: "#/definitions/CustomFieldsSettings"
  3584. showOnCard:
  3585. description: |
  3586. should we show on the cards this custom field
  3587. type: boolean
  3588. automaticallyOnCard:
  3589. description: |
  3590. should the custom fields automatically be added on cards?
  3591. type: boolean
  3592. alwaysOnCard:
  3593. description: |
  3594. should the custom field be automatically added to all cards?
  3595. type: boolean
  3596. showLabelOnMiniCard:
  3597. description: |
  3598. should the label of the custom field be shown on minicards?
  3599. type: boolean
  3600. showSumAtTopOfList:
  3601. description: |
  3602. should the sum of the custom fields be shown at top of list?
  3603. type: boolean
  3604. createdAt:
  3605. type: string
  3606. x-nullable: true
  3607. modifiedAt:
  3608. type: string
  3609. required:
  3610. - boardIds
  3611. - name
  3612. - type
  3613. - settings
  3614. - showOnCard
  3615. - automaticallyOnCard
  3616. - alwaysOnCard
  3617. - showLabelOnMiniCard
  3618. - showSumAtTopOfList
  3619. - modifiedAt
  3620. CustomFieldsSettings:
  3621. type: object
  3622. properties:
  3623. currencyCode:
  3624. type: string
  3625. dropdownItems:
  3626. description: |
  3627. list of drop down items objects
  3628. type: array
  3629. items:
  3630. $ref: "#/definitions/CustomFieldsSettingsDropdownitems"
  3631. stringtemplateFormat:
  3632. type: string
  3633. stringtemplateSeparator:
  3634. type: string
  3635. CustomFieldsSettingsDropdownitems:
  3636. type: object
  3637. Integrations:
  3638. type: object
  3639. description: Integration with third-party applications
  3640. properties:
  3641. enabled:
  3642. description: |
  3643. is the integration enabled?
  3644. type: boolean
  3645. title:
  3646. description: |
  3647. name of the integration
  3648. type: string
  3649. x-nullable: true
  3650. type:
  3651. description: |
  3652. type of the integratation (Default to 'outgoing-webhooks')
  3653. type: string
  3654. activities:
  3655. description: |
  3656. activities the integration gets triggered (list)
  3657. type: array
  3658. items:
  3659. type: string
  3660. url:
  3661. type: string
  3662. token:
  3663. description: |
  3664. token of the integration
  3665. type: string
  3666. x-nullable: true
  3667. boardId:
  3668. description: |
  3669. Board ID of the integration
  3670. type: string
  3671. createdAt:
  3672. description: |
  3673. Creation date of the integration
  3674. type: string
  3675. modifiedAt:
  3676. type: string
  3677. userId:
  3678. description: |
  3679. user ID who created the interation
  3680. type: string
  3681. required:
  3682. - enabled
  3683. - type
  3684. - activities
  3685. - url
  3686. - boardId
  3687. - createdAt
  3688. - modifiedAt
  3689. - userId
  3690. Lists:
  3691. type: object
  3692. description: A list (column) in the Wekan board.
  3693. properties:
  3694. title:
  3695. description: |
  3696. the title of the list
  3697. type: string
  3698. starred:
  3699. description: |
  3700. if a list is stared
  3701. then we put it on the top
  3702. type: boolean
  3703. x-nullable: true
  3704. archived:
  3705. description: |
  3706. is the list archived
  3707. type: boolean
  3708. archivedAt:
  3709. description: |
  3710. latest archiving date
  3711. type: string
  3712. x-nullable: true
  3713. boardId:
  3714. description: |
  3715. the board associated to this list
  3716. type: string
  3717. swimlaneId:
  3718. description: |
  3719. the swimlane associated to this list. Used for templates
  3720. type: string
  3721. createdAt:
  3722. description: |
  3723. creation date
  3724. type: string
  3725. sort:
  3726. description: |
  3727. is the list sorted
  3728. type: number
  3729. x-nullable: true
  3730. width:
  3731. description: |
  3732. list width, default 270px
  3733. type: string
  3734. x-nullable: true
  3735. height:
  3736. description: |
  3737. list height
  3738. type: string
  3739. x-nullable: true
  3740. updatedAt:
  3741. description: |
  3742. last update of the list
  3743. type: string
  3744. x-nullable: true
  3745. modifiedAt:
  3746. type: string
  3747. wipLimit:
  3748. description: |
  3749. WIP object, see below
  3750. $ref: "#/definitions/ListsWiplimit"
  3751. x-nullable: true
  3752. color:
  3753. description: |
  3754. the color of the list
  3755. type: string
  3756. enum:
  3757. - white
  3758. - green
  3759. - yellow
  3760. - orange
  3761. - red
  3762. - purple
  3763. - blue
  3764. - sky
  3765. - lime
  3766. - pink
  3767. - black
  3768. - silver
  3769. - peachpuff
  3770. - crimson
  3771. - plum
  3772. - darkgreen
  3773. - slateblue
  3774. - magenta
  3775. - gold
  3776. - navy
  3777. - gray
  3778. - saddlebrown
  3779. - paleturquoise
  3780. - mistyrose
  3781. - indigo
  3782. x-nullable: true
  3783. type:
  3784. description: |
  3785. The type of list
  3786. type: string
  3787. required:
  3788. - title
  3789. - archived
  3790. - boardId
  3791. - swimlaneId
  3792. - createdAt
  3793. - modifiedAt
  3794. - type
  3795. ListsWiplimit:
  3796. type: object
  3797. properties:
  3798. value:
  3799. description: |
  3800. value of the WIP
  3801. type: number
  3802. enabled:
  3803. description: |
  3804. is the WIP enabled
  3805. type: boolean
  3806. soft:
  3807. description: |
  3808. is the WIP a soft or hard requirement
  3809. type: boolean
  3810. required:
  3811. - value
  3812. - enabled
  3813. - soft
  3814. Swimlanes:
  3815. type: object
  3816. description: A swimlane is an line in the kaban board.
  3817. properties:
  3818. title:
  3819. description: |
  3820. the title of the swimlane
  3821. type: string
  3822. archived:
  3823. description: |
  3824. is the swimlane archived?
  3825. type: boolean
  3826. archivedAt:
  3827. description: |
  3828. latest archiving date of the swimlane
  3829. type: string
  3830. x-nullable: true
  3831. boardId:
  3832. description: |
  3833. the ID of the board the swimlane is attached to
  3834. type: string
  3835. createdAt:
  3836. description: |
  3837. creation date of the swimlane
  3838. type: string
  3839. sort:
  3840. description: |
  3841. the sort value of the swimlane
  3842. type: number
  3843. x-nullable: true
  3844. color:
  3845. description: |
  3846. the color of the swimlane
  3847. type: string
  3848. enum:
  3849. - white
  3850. - green
  3851. - yellow
  3852. - orange
  3853. - red
  3854. - purple
  3855. - blue
  3856. - sky
  3857. - lime
  3858. - pink
  3859. - black
  3860. - silver
  3861. - peachpuff
  3862. - crimson
  3863. - plum
  3864. - darkgreen
  3865. - slateblue
  3866. - magenta
  3867. - gold
  3868. - navy
  3869. - gray
  3870. - saddlebrown
  3871. - paleturquoise
  3872. - mistyrose
  3873. - indigo
  3874. x-nullable: true
  3875. updatedAt:
  3876. description: |
  3877. when was the swimlane last edited
  3878. type: string
  3879. x-nullable: true
  3880. modifiedAt:
  3881. type: string
  3882. type:
  3883. description: |
  3884. The type of swimlane
  3885. type: string
  3886. required:
  3887. - title
  3888. - archived
  3889. - boardId
  3890. - createdAt
  3891. - modifiedAt
  3892. - type
  3893. Users:
  3894. type: object
  3895. description: A User in wekan
  3896. properties:
  3897. username:
  3898. description: |
  3899. the username of the user
  3900. type: string
  3901. x-nullable: true
  3902. orgs:
  3903. description: |
  3904. the list of organizations that a user belongs to
  3905. type: array
  3906. items:
  3907. $ref: "#/definitions/UsersOrgs"
  3908. x-nullable: true
  3909. teams:
  3910. description: |
  3911. the list of teams that a user belongs to
  3912. type: array
  3913. items:
  3914. $ref: "#/definitions/UsersTeams"
  3915. x-nullable: true
  3916. emails:
  3917. description: |
  3918. the list of emails attached to a user
  3919. type: array
  3920. items:
  3921. $ref: "#/definitions/UsersEmails"
  3922. x-nullable: true
  3923. createdAt:
  3924. description: |
  3925. creation date of the user
  3926. type: string
  3927. modifiedAt:
  3928. type: string
  3929. profile:
  3930. description: |
  3931. profile settings
  3932. $ref: "#/definitions/UsersProfile"
  3933. x-nullable: true
  3934. services:
  3935. description: |
  3936. services field of the user
  3937. type: object
  3938. x-nullable: true
  3939. heartbeat:
  3940. description: |
  3941. last time the user has been seen
  3942. type: string
  3943. x-nullable: true
  3944. isAdmin:
  3945. description: |
  3946. is the user an admin of the board?
  3947. type: boolean
  3948. x-nullable: true
  3949. createdThroughApi:
  3950. description: |
  3951. was the user created through the API?
  3952. type: boolean
  3953. x-nullable: true
  3954. loginDisabled:
  3955. description: |
  3956. loginDisabled field of the user
  3957. type: boolean
  3958. x-nullable: true
  3959. authenticationMethod:
  3960. description: |
  3961. authentication method of the user
  3962. type: string
  3963. sessionData:
  3964. description: |
  3965. profile settings
  3966. $ref: "#/definitions/UsersSessiondata"
  3967. x-nullable: true
  3968. importUsernames:
  3969. description: |
  3970. username for imported
  3971. type: array
  3972. items:
  3973. type: string
  3974. x-nullable: true
  3975. x-nullable: true
  3976. required:
  3977. - createdAt
  3978. - modifiedAt
  3979. - authenticationMethod
  3980. UsersProfile:
  3981. type: object
  3982. properties:
  3983. avatarUrl:
  3984. description: |
  3985. URL of the avatar of the user
  3986. type: string
  3987. emailBuffer:
  3988. description: |
  3989. list of email buffers of the user
  3990. type: array
  3991. items:
  3992. type: string
  3993. x-nullable: true
  3994. fullname:
  3995. description: |
  3996. full name of the user
  3997. type: string
  3998. showDesktopDragHandles:
  3999. description: |
  4000. does the user want to show desktop drag handles?
  4001. type: boolean
  4002. hideCheckedItems:
  4003. description: |
  4004. does the user want to hide checked checklist items?
  4005. type: boolean
  4006. cardMaximized:
  4007. description: |
  4008. has user clicked maximize card?
  4009. type: boolean
  4010. customFieldsGrid:
  4011. description: |
  4012. has user at card Custom Fields have Grid (false) or one per row (true) layout?
  4013. type: boolean
  4014. hiddenSystemMessages:
  4015. description: |
  4016. does the user want to hide system messages?
  4017. type: boolean
  4018. hiddenMinicardLabelText:
  4019. description: |
  4020. does the user want to hide minicard label texts?
  4021. type: boolean
  4022. initials:
  4023. description: |
  4024. initials of the user
  4025. type: string
  4026. invitedBoards:
  4027. description: |
  4028. board IDs the user has been invited to
  4029. type: array
  4030. items:
  4031. type: string
  4032. x-nullable: true
  4033. language:
  4034. description: |
  4035. language of the user
  4036. type: string
  4037. moveAndCopyDialog:
  4038. description: |
  4039. move and copy card dialog
  4040. type: object
  4041. moveChecklistDialog:
  4042. description: |
  4043. move checklist dialog
  4044. type: object
  4045. copyChecklistDialog:
  4046. description: |
  4047. copy checklist dialog
  4048. type: object
  4049. notifications:
  4050. description: |
  4051. enabled notifications for the user
  4052. type: array
  4053. items:
  4054. $ref: "#/definitions/UsersProfileNotifications"
  4055. rescueCardDescription:
  4056. description: |
  4057. show dialog for saving card description on unintentional card closing
  4058. type: boolean
  4059. showCardsCountAt:
  4060. description: |
  4061. showCardCountAt field of the user
  4062. type: number
  4063. startDayOfWeek:
  4064. description: |
  4065. startDayOfWeek field of the user
  4066. type: number
  4067. starredBoards:
  4068. description: |
  4069. list of starred board IDs
  4070. type: array
  4071. items:
  4072. type: string
  4073. x-nullable: true
  4074. icode:
  4075. description: |
  4076. icode
  4077. type: string
  4078. boardView:
  4079. description: |
  4080. boardView field of the user
  4081. type: string
  4082. enum:
  4083. - board-view-swimlanes
  4084. - board-view-lists
  4085. - board-view-cal
  4086. listSortBy:
  4087. description: |
  4088. default sort list for user
  4089. type: string
  4090. enum:
  4091. - -modifiedat
  4092. - modifiedat
  4093. - -title
  4094. - title
  4095. - -sort
  4096. - sort
  4097. templatesBoardId:
  4098. description: |
  4099. Reference to the templates board
  4100. type: string
  4101. cardTemplatesSwimlaneId:
  4102. description: |
  4103. Reference to the card templates swimlane Id
  4104. type: string
  4105. listTemplatesSwimlaneId:
  4106. description: |
  4107. Reference to the list templates swimlane Id
  4108. type: string
  4109. boardTemplatesSwimlaneId:
  4110. description: |
  4111. Reference to the board templates swimlane Id
  4112. type: string
  4113. required:
  4114. - templatesBoardId
  4115. - cardTemplatesSwimlaneId
  4116. - listTemplatesSwimlaneId
  4117. - boardTemplatesSwimlaneId
  4118. UsersSessiondata:
  4119. type: object
  4120. properties:
  4121. totalHits:
  4122. description: |
  4123. Total hits from last searchquery['members.userId'] = Meteor.userId();
  4124. last hit that was returned
  4125. type: number
  4126. UsersOrgs:
  4127. type: object
  4128. properties:
  4129. orgId:
  4130. description: |
  4131. The uniq ID of the organization
  4132. type: string
  4133. orgDisplayName:
  4134. description: |
  4135. The display name of the organization
  4136. type: string
  4137. required:
  4138. - orgId
  4139. - orgDisplayName
  4140. UsersTeams:
  4141. type: object
  4142. properties:
  4143. teamId:
  4144. description: |
  4145. The uniq ID of the team
  4146. type: string
  4147. teamDisplayName:
  4148. description: |
  4149. The display name of the team
  4150. type: string
  4151. required:
  4152. - teamId
  4153. - teamDisplayName
  4154. UsersEmails:
  4155. type: object
  4156. properties:
  4157. address:
  4158. description: |
  4159. The email address
  4160. type: string
  4161. verified:
  4162. description: |
  4163. Has the email been verified
  4164. type: boolean
  4165. required:
  4166. - address
  4167. - verified
  4168. UsersProfileMoveandcopydialog:
  4169. type: object
  4170. properties:
  4171. boardId:
  4172. description: |
  4173. last selected board id
  4174. type: string
  4175. swimlaneId:
  4176. description: |
  4177. last selected swimlane id
  4178. type: string
  4179. listId:
  4180. description: |
  4181. last selected list id
  4182. type: string
  4183. required:
  4184. - boardId
  4185. - swimlaneId
  4186. - listId
  4187. UsersProfileMovechecklistdialog:
  4188. type: object
  4189. properties:
  4190. boardId:
  4191. description: |
  4192. last selected board id
  4193. type: string
  4194. swimlaneId:
  4195. description: |
  4196. last selected swimlane id
  4197. type: string
  4198. listId:
  4199. description: |
  4200. last selected list id
  4201. type: string
  4202. cardId:
  4203. description: |
  4204. last selected card id
  4205. type: string
  4206. required:
  4207. - boardId
  4208. - swimlaneId
  4209. - listId
  4210. - cardId
  4211. UsersProfileCopychecklistdialog:
  4212. type: object
  4213. properties:
  4214. boardId:
  4215. description: |
  4216. last selected board id
  4217. type: string
  4218. swimlaneId:
  4219. description: |
  4220. last selected swimlane id
  4221. type: string
  4222. listId:
  4223. description: |
  4224. last selected list id
  4225. type: string
  4226. cardId:
  4227. description: |
  4228. last selected card id
  4229. type: string
  4230. required:
  4231. - boardId
  4232. - swimlaneId
  4233. - listId
  4234. - cardId
  4235. UsersProfileNotifications:
  4236. type: object
  4237. properties:
  4238. activity:
  4239. description: |
  4240. The id of the activity this notification references
  4241. type: string
  4242. read:
  4243. description: |
  4244. the date on which this notification was read
  4245. type: string
  4246. required:
  4247. - activity