{"openapi":"3.0.1","info":{"title":"104learn-giver api doc","description":"api doc for repo 104learn-giver-website","version":"1.0.0"},"externalDocs":{"description":"github repo","url":"https://github.com/104corp/104learn-giver-website"},"servers":[{"url":"http://localhost:3000"}],"tags":[{"name":"question","description":"問答商務邏輯相關的 api"},{"name":"docapi","description":"doc api"}],"paths":{"/api/getLatestQuestions":{"get":{"tags":["question"],"summary":"取得最新的問題(不分tag)","parameters":[{"$ref":"#/components/parameters/queryOffset"},{"$ref":"#/components/parameters/queryLimit"}],"responses":{"200":{"$ref":"#/components/responses/getLatestQuestions"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/getLatestQuestions/{tagId}":{"get":{"tags":["question"],"summary":"取得該tagId最新的問題","parameters":[{"$ref":"#/components/parameters/queryOffset"},{"$ref":"#/components/parameters/queryLimit"},{"$ref":"#/components/parameters/pathTagId"}],"responses":{"200":{"$ref":"#/components/responses/getLatestQuestions"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/getNotifies":{"get":{"tags":["question"],"summary":"取得該登入者的通知","responses":{"200":{"$ref":"#/components/responses/getNotifies"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/getPopularQuestions":{"get":{"tags":["question"],"summary":"取得熱門的問題(不分tag)","parameters":[{"$ref":"#/components/parameters/queryOffset"},{"$ref":"#/components/parameters/queryLimit"}],"responses":{"200":{"$ref":"#/components/responses/getPopularQuestions"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/getPopularQuestions/{tagId}":{"get":{"tags":["question"],"summary":"取得該tagId熱門的問題","parameters":[{"$ref":"#/components/parameters/queryOffset"},{"$ref":"#/components/parameters/queryLimit"},{"$ref":"#/components/parameters/pathTagId"}],"responses":{"200":{"$ref":"#/components/responses/getPopularQuestions"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/getQuestion/{questionId}":{"get":{"tags":["question"],"summary":"取得該questionId的問題資訊","parameters":[{"$ref":"#/components/parameters/pathQuestionId"}],"responses":{"200":{"$ref":"#/components/responses/getQuestion"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/getRepliesByQuestion/{questionId}":{"get":{"tags":["question"],"summary":"取得該questionId的問題資訊","parameters":[{"$ref":"#/components/parameters/pathQuestionId"}],"responses":{"200":{"$ref":"#/components/responses/getRepliesByQuestion"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/getUnreadCount":{"get":{"tags":["question"],"summary":"取得該登入者的未讀取通知數量","responses":{"200":{"$ref":"#/components/responses/getUnreadCount"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/getBanners":{"get":{"tags":["question"],"summary":"取得所有banner資訊","responses":{"200":{"$ref":"#/components/responses/getBanners"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/getFileUrl/{fileId}":{"get":{"tags":["docapi"],"summary":"取得該 fileId 的檔案資訊","parameters":[{"$ref":"#/components/parameters/pathFileId"}],"responses":{"200":{"$ref":"#/components/responses/getFileUrl"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/getQuestions":{"post":{"tags":["question"],"summary":"取得該questionId列表的問題資訊","requestBody":{"$ref":"#/components/requestBodies/getQuestions"},"responses":{"200":{"$ref":"#/components/responses/getQuestions"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/addBlacklist":{"post":{"tags":["question"],"summary":"前台檢舉發問後，會將問題新增到黑名單列表","requestBody":{"$ref":"#/components/requestBodies/addBlacklist"},"responses":{"200":{"$ref":"#/components/responses/success"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/addView":{"post":{"tags":["question"],"summary":"questionId觀看次數","requestBody":{"$ref":"#/components/requestBodies/addView"},"responses":{"200":{"$ref":"#/components/responses/success"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/createQuestion":{"post":{"tags":["question"],"summary":"新增通知訊息","requestBody":{"$ref":"#/components/requestBodies/createQuestion"},"responses":{"200":{"$ref":"#/components/responses/createQuestion"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/createReply":{"post":{"tags":["question"],"summary":"新增回覆","requestBody":{"$ref":"#/components/requestBodies/createReply"},"responses":{"200":{"$ref":"#/components/responses/createReply"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/updateNotifiesToRead":{"put":{"tags":["question"],"summary":"將登入者的未讀取通知改為已讀取","responses":{"200":{"$ref":"#/components/responses/success"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/updateQuestion":{"put":{"tags":["question"],"summary":"更改問題內容","requestBody":{"$ref":"#/components/requestBodies/updateQuestion"},"responses":{"200":{"$ref":"#/components/responses/success"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/updateMember":{"put":{"tags":["question"],"summary":"更改使用者資料","requestBody":{"$ref":"#/components/requestBodies/updateMember"},"responses":{"200":{"$ref":"#/components/responses/success"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/deleteQuestion/{deleteQuestionId}":{"delete":{"tags":["question"],"summary":"刪除問題","parameters":[{"$ref":"#/components/parameters/pathDeleteQuestionId"}],"responses":{"200":{"$ref":"#/components/responses/success"},"default":{"$ref":"#/components/responses/exception"}}}},"/api/deleteReply/{deleteReplyId}":{"delete":{"tags":["question"],"summary":"刪除回覆","parameters":[{"$ref":"#/components/parameters/pathDeleteReplyId"}],"responses":{"200":{"$ref":"#/components/responses/success"},"default":{"$ref":"#/components/responses/exception"}}}}},"components":{"requestBodies":{"addBlacklist":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"toPid":{"$ref":"#/components/parameters/toPid"},"questionId":{"$ref":"#/components/parameters/questionId"},"reasonType":{"$ref":"#/components/parameters/reasonType"},"reason":{"$ref":"#/components/parameters/reasonType"}},"required":["toPid","questionId","reasonType","reason"]},"example":{"toPid":"241568","questionId":"c5990a80-f972-11e9-9d47-1937cab997af","reasonType":"1","reason":"testing"}}}},"addView":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"pid":{"$ref":"#/components/parameters/pid"},"questionId":{"$ref":"#/components/parameters/questionId"}},"required":["pid","questionId"]},"example":{"pid":"241568","questionId":"c5990a80-f972-11e9-9d47-1937cab997af"}}}},"createNotify":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"$ref":"#/components/parameters/content"},"anonymous":{"$ref":"#/components/parameters/anonymous"},"pkey":{"$ref":"#/components/parameters/questionId"},"msgSeq":{"$ref":"#/components/parameters/replyId"},"topMsgSeq":{"$ref":"#/components/parameters/topMsgSeq"}},"required":["toPmessageid","pkey","msgSeq"]},"example":{"pkey":"c5990a80-f972-11e9-9d47-1937cab997af","message":"testing","msgSeq":"5589"}}}},"createQuestion":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"$ref":"#/components/parameters/content"},"anonymous":{"$ref":"#/components/parameters/anonymous"},"tags":{"$ref":"#/components/parameters/tags"}},"required":["content","tags"]},"example":{"content":"testing","anonymous":"1","tags":["00f27603-85a3-11e8-b307-065035b8ff22"]}}}},"createReply":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"questionId":{"$ref":"#/components/parameters/questionId"},"content":{"$ref":"#/components/parameters/content"},"anonymous":{"$ref":"#/components/parameters/anonymous"},"topMsgSeq":{"$ref":"#/components/parameters/topMsgSeq"}},"required":["questionId","content"]},"example":{"questionId":"c5990a80-f972-11e9-9d47-1937cab997af","content":"testing"}}}},"getQuestions":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"questionIds":{"$ref":"#/components/parameters/questionIds"}},"required":["questionIds"]},"example":{"questionIds":["c5990a80-f972-11e9-9d47-1937cab997af"]}}}},"updateQuestion":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"questionId":{"$ref":"#/components/parameters/questionId"},"content":{"$ref":"#/components/parameters/content"}},"required":["questionId","content"]},"example":{"questionId":"c5990a80-f972-11e9-9d47-1937cab997af","content":"testing"}}}},"updateMember":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"nickname":{"$ref":"#/components/parameters/nickname"},"companyName":{"$ref":"#/components/parameters/companyName"},"jobTitle":{"$ref":"#/components/parameters/jobTitle"},"imgFileid":{"$ref":"#/components/parameters/imgFileid"}},"required":["nickname","companyName","jobTitle","imgFileid"]},"example":{"nickname":"wukevin_update","companyName":"鼎翰科技股份有限公司_update","jobTitle":"研發副總經理_update","imgFileid":"412bcb89e0114158946c40feeffdc58a11"}}}}},"responses":{"exception":{"description":"執行失敗","content":{"application/json":{"schema":{"$ref":"#/components/schemas/exception"},"example":{"error":"exception message"}}}},"success":{"description":"執行成功","content":{"application/json":{"schema":{"$ref":"#/components/schemas/success"},"example":{"data":{"result":"success"}}}}},"createQuestion":{"description":"執行成功，且回傳新增的questionId","content":{"application/json":{"schema":{"$ref":"#/components/schemas/createQuestion"},"example":{"data":{"questionId":"response-created-questionId"}}}}},"createReply":{"description":"執行成功，且回傳新增的replyId, autoReplyId","content":{"application/json":{"schema":{"$ref":"#/components/schemas/createReply"},"example":{"data":{"replyId":"response-created-replyId"}}}}},"getQuestions":{"description":"執行成功，且回傳question列表","content":{"application/json":{"schema":{"$ref":"#/components/schemas/getQuestions"},"example":{"data":[{"questionId":"c5990a80-f972-11e9-9d47-1937cab997af","pid":"241568","content":"測試","createdate":1572260694000,"modifydate":1572260694000,"anonymous":false,"viewCount":2,"memberInfo":{"nickname":"wukevin","companyName":"鼎翰科技股份有限公司","jobTitle":"研發副總經理","imgFileid":"412bcb89e0114158946c40feeffdc58a11","createdate":1571389041000,"modifydate":1571621602000},"tagInfos":[{"tagId":"2d0830e4-85a3-11e8-b307-065035b8ff22","tagName":"職場倫理"},{"tagId":"f99667c0-85a2-11e8-b307-065035b8ff22","tagName":"其他"}]}]}}}},"getLatestQuestions":{"description":"執行成功，且回傳最新的問題列表","content":{"application/json":{"schema":{"$ref":"#/components/schemas/getLatestQuestions"},"example":{"data":[{"questionId":"c5990a80-f972-11e9-9d47-1937cab997af","pid":"241568","content":"測試","createdate":1572260694000,"modifydate":1572260694000,"anonymous":false,"viewCount":2,"memberInfo":{"nickname":"wukevin","companyName":"鼎翰科技股份有限公司","jobTitle":"研發副總經理","imgFileid":"412bcb89e0114158946c40feeffdc58a11","createdate":1571389041000,"modifydate":1571621602000}}]}}}},"getPopularQuestions":{"description":"執行成功，且回傳最新的問題列表","content":{"application/json":{"schema":{"$ref":"#/components/schemas/getLatestQuestions"},"example":{"data":[{"questionId":"66bdd590-7d30-11e9-9d95-8121e20cfdaa","pid":"240664","content":"測docapi","createdate":1558598244000,"modifydate":1558598244000,"anonymous":false,"viewCount":8,"memberInfo":{"nickname":"李小龍","companyName":"","jobTitle":"總經理","imgFileid":"ecec7bd49e10476da2a602a28728dff811","createdate":1558589442000,"modifydate":null}}]}}}},"getNotifies":{"description":"執行成功，且回傳通知列表","content":{"application/json":{"schema":{"$ref":"#/components/schemas/getNotifies"},"example":{"data":[{"noticeId":"1c605431-6b1c-4e0c-8bfd-dd7ea91a0b03","toPid":"241568","fromPid":"241568","content":"測試","msgSeq":"5590","pkey":"c5990a80-f972-11e9-9d47-1937cab997af","createdate":1572260694000,"isread":true,"anonymous":false,"memberInfo":{"nickname":"wukevin","companyName":"鼎翰科技股份有限公司","jobTitle":"研發副總經理","imgFileid":"412bcb89e0114158946c40feeffdc58a11","createdate":1571389041000,"modifydate":1571621602000}}]}}}},"getQuestion":{"description":"執行成功，且回傳問題資訊","content":{"application/json":{"schema":{"$ref":"#/components/schemas/getQuestion"},"example":{"data":{"questionId":"c5990a80-f972-11e9-9d47-1937cab997af","pid":"241568","content":"測試","createdate":1572260694000,"modifydate":1572260694000,"anonymous":false,"viewCount":2,"memberInfo":{"nickname":"wukevin","companyName":"鼎翰科技股份有限公司","jobTitle":"研發副總經理","imgFileid":"412bcb89e0114158946c40feeffdc58a11","createdate":1571389041000,"modifydate":1571621602000},"tagInfos":[{"tagId":"2d0830e4-85a3-11e8-b307-065035b8ff22","tagName":"職場倫理"},{"tagId":"f99667c0-85a2-11e8-b307-065035b8ff22","tagName":"其他"}]}}}}},"getRepliesByQuestion":{"description":"執行成功，且回傳回覆資訊列表","content":{"application/json":{"schema":{"$ref":"#/components/schemas/getRepliesByQuestion"},"example":{"data":[{"msgSeq":"5589","pkey":"c5990a80-f972-11e9-9d47-1937cab997af","modifier":"-1","message":"您好，目前還無法回答您的問題，敬請耐心等待唷！","modifydate":1572260695000,"anonymous":false,"topMsgSeq":"0","memberInfo":{"nickname":"職涯診所 小編","companyName":"","jobTitle":"","imgFileid":"robot","createdate":1484493105000,"modifydate":1480691534000}}]}}}},"getUnreadCount":{"description":"執行成功，且回傳未讀取筆數","content":{"application/json":{"schema":{"$ref":"#/components/schemas/getUnreadCount"},"example":{"data":{"count":0}}}}},"getFileUrl":{"description":"執行成功，且回傳docapi檔案資訊","content":{"application/json":{"schema":{"$ref":"#/components/schemas/getFileUrl"},"example":{"data":[{"convertStatus":"success","fileExtension":"png","height":139,"width":240,"url":["http://localhost:3000/asset/img/testing.png"]}]}}}},"getBanners":{"description":"執行成功，且回傳所有banner資訊","content":{"application/json":{"schema":{"$ref":"#/components/schemas/getBanners"},"example":{"data":[{"bannerSeq":"9","fileid":"0db34d762b484828af8186da9c5b5c6b11","url":"null"},{"bannerSeq":"10","fileid":"8549a43ea3be4f4e9f821b63948cf92611","url":"null"},{"bannerSeq":"11","fileid":"7a3045f84b4c406499c2f360d6d3723e11","url":"null"}]}}}}},"schemas":{"success":{"type":"object","properties":{"data":{"type":"object","properties":{"result":{"$ref":"#/components/parameters/success"}}}}},"exception":{"type":"object","properties":{"error":{"type":"string"}}},"createQuestion":{"type":"object","properties":{"data":{"type":"object","properties":{"questionId":{"$ref":"#/components/parameters/questionId"}}}}},"createReply":{"type":"object","properties":{"data":{"type":"object","properties":{"replyId":{"$ref":"#/components/parameters/replyId"},"autoReplyId":{"$ref":"#/components/parameters/replyId"}}}}},"getQuestions":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"questionId":{"$ref":"#/components/parameters/questionId"},"pid":{"$ref":"#/components/parameters/pid"},"content":{"$ref":"#/components/parameters/content"},"createdate":{"$ref":"#/components/parameters/createdate"},"modifydate":{"$ref":"#/components/parameters/modifydate"},"anonymous":{"$ref":"#/components/parameters/anonymous"},"viewCount":{"$ref":"#/components/parameters/viewCount"},"memberInfo":{"type":"object","properties":{"nickname":{"$ref":"#/components/parameters/nickname"},"jobTitle":{"$ref":"#/components/parameters/jobTitle"},"imgFileid":{"$ref":"#/components/parameters/imgFileid"},"createdate":{"$ref":"#/components/parameters/createdate"},"modifydate":{"$ref":"#/components/parameters/modifydate"}}},"tagInfos":{"type":"array","items":{"type":"object","properties":{"tagId":{"$ref":"#/components/parameters/tagId"},"tagName":{"$ref":"#/components/parameters/tagName"}}}}}}}}},"getLatestQuestions":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"questionId":{"$ref":"#/components/parameters/questionId"},"pid":{"$ref":"#/components/parameters/pid"},"content":{"$ref":"#/components/parameters/content"},"createdate":{"$ref":"#/components/parameters/createdate"},"modifydate":{"$ref":"#/components/parameters/modifydate"},"anonymous":{"$ref":"#/components/parameters/anonymous"},"viewCount":{"$ref":"#/components/parameters/viewCount"},"memberInfo":{"type":"object","properties":{"nickname":{"$ref":"#/components/parameters/nickname"},"jobTitle":{"$ref":"#/components/parameters/jobTitle"},"imgFileid":{"$ref":"#/components/parameters/imgFileid"},"createdate":{"$ref":"#/components/parameters/createdate"},"modifydate":{"$ref":"#/components/parameters/modifydate"}}}}}}}},"getNotifies":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"noticeId":{"$ref":"#/components/parameters/noticeId"},"toPid":{"$ref":"#/components/parameters/toPid"},"fromPid":{"$ref":"#/components/parameters/fromPid"},"content":{"$ref":"#/components/parameters/content"},"createdate":{"$ref":"#/components/parameters/createdate"},"isread":{"$ref":"#/components/parameters/isread"},"anonymous":{"$ref":"#/components/parameters/anonymous"}}}}}},"getQuestion":{"type":"object","properties":{"data":{"type":"object","properties":{"questionId":{"$ref":"#/components/parameters/questionId"},"pid":{"$ref":"#/components/parameters/pid"},"content":{"$ref":"#/components/parameters/content"},"createdate":{"$ref":"#/components/parameters/createdate"},"modifydate":{"$ref":"#/components/parameters/modifydate"},"anonymous":{"$ref":"#/components/parameters/anonymous"},"viewCount":{"$ref":"#/components/parameters/viewCount"},"memberInfo":{"type":"object","properties":{"nickname":{"$ref":"#/components/parameters/nickname"},"jobTitle":{"$ref":"#/components/parameters/jobTitle"},"imgFileid":{"$ref":"#/components/parameters/imgFileid"},"createdate":{"$ref":"#/components/parameters/createdate"},"modifydate":{"$ref":"#/components/parameters/modifydate"}}},"tagInfos":{"type":"array","items":{"type":"object","properties":{"tagId":{"$ref":"#/components/parameters/tagId"},"tagName":{"$ref":"#/components/parameters/tagName"}}}}}}}},"getRepliesByQuestion":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"msgSeq":{"$ref":"#/components/parameters/replyId"},"pkey":{"$ref":"#/components/parameters/pkey"},"modifier":{"$ref":"#/components/parameters/modifier"},"message":{"$ref":"#/components/parameters/content"},"modifydate":{"$ref":"#/components/parameters/modifydate"},"anonymous":{"$ref":"#/components/parameters/anonymous"},"topMsgSeq":{"$ref":"#/components/parameters/topMsgSeq"},"memberInfo":{"type":"object","properties":{"nickname":{"$ref":"#/components/parameters/nickname"},"jobTitle":{"$ref":"#/components/parameters/jobTitle"},"imgFileid":{"$ref":"#/components/parameters/imgFileid"},"createdate":{"$ref":"#/components/parameters/createdate"},"modifydate":{"$ref":"#/components/parameters/modifydate"}}}}}}}},"getUnreadCount":{"type":"object","properties":{"data":{"type":"object","properties":{"count":{"$ref":"#/components/parameters/count"}}}}},"getFileUrl":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"fileExtension":{"type":"string","description":"副檔名","example":"png"},"height":{"type":"number","description":"圖片高","example":139},"width":{"type":"number","description":"圖片寬","example":240},"url":{"type":"array","items":{"type":"string","description":"圖片url","example":"http://localhost:3000/public/img/testing.png"}}}}}}},"getBanners":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"bannerSeq":{"type":"string","description":"banner id","example":"2"},"fileid":{"type":"string","description":"file id","example":"45a0a4f50deb49749185ad2ebb2baad011"},"url":{"type":"string","description":"點選url","example":"www.104.com.tw"}}}}}}},"parameters":{"success":{"type":"string","enum":["success","failed"],"description":"是否成功","example":"success"},"count":{"type":"number","description":"數量","example":0},"toPid":{"type":"string","description":"針對目標的pid","example":"241568"},"fromPid":{"type":"string","description":"發起者的pid","example":"1234"},"questionId":{"type":"string","description":"問題id","example":"c5990a80-f972-11e9-9d47-1937cab997af"},"reasonType":{"type":"string","description":"檢舉原因(1=垃圾內容、2=暴力或具危險、4=版權問題、8=煽情露骨、16=仇恨騷擾霸凌、32=其他、64=假冒身分、128=常常騷擾我或別人","example":"1"},"reason":{"type":"string","description":"檢舉說明","example":"testing reason"},"content":{"type":"string","description":"文字內容","example":"testing content"},"anonymous":{"type":"string","description":"是否匿名 0:否 1:是","example":"1"},"tags":{"type":"array","items":{"type":"string","example":"c5990a80-f972-11e9-9d47-1937cab997af"}},"topMsgSeq":{"type":"string","description":"如果為0，則為一般針對問題回覆，如果非0，則是針對回覆做回覆","example":"0"},"replyId":{"type":"string","description":"回覆id","example":"5590"},"tagId":{"type":"string","description":"tag id","example":"00f27603-85a3-11e8-b307-065035b8ff22"},"tagName":{"type":"string","description":"tag名稱","example":"面試。薪資"},"modifier":{"type":"string","description":"修改者pid","example":"241568"},"createdate":{"type":"number","description":"建立時間","example":1531379715000},"modifydate":{"type":"number","description":"修改時間","example":1531379715000},"pid":{"type":"string","description":"pid","example":"241568"},"viewCount":{"type":"number","description":"查閱次數","example":2},"nickname":{"type":"string","description":"名稱","example":"wukevin"},"companyName":{"type":"string","description":"公司名稱","example":"鼎翰科技股份有限公司"},"jobTitle":{"type":"string","description":"職稱","example":"研發副總經理"},"imgFileid":{"type":"string","description":"doc api file id","example":"412bcb89e0114158946c40feeffdc58a11"},"noticeId":{"type":"string","description":"通知id","example":"1c605431-6b1c-4e0c-8bfd-dd7ea91a0b03"},"isread":{"type":"boolean","description":"通知是否已讀","example":true},"pkey":{"type":"string","description":"關聯的id(在不同的table，意思或不一樣，有可能是tagId或articleId)","example":"1c605431-6b1c-4e0c-8bfd-dd7ea91a0b03"},"questionIds":{"type":"array","items":{"type":"string","description":"問題id","example":"c5990a80-f972-11e9-9d47-1937cab997af"}},"pathQuestionId":{"name":"questionId","in":"path","description":"問題id","required":true,"schema":{"type":"string"},"example":"c5990a80-f972-11e9-9d47-1937cab997af"},"pathDeleteQuestionId":{"name":"deleteQuestionId","in":"path","description":"問題id","required":true,"schema":{"type":"string"},"example":"98966bd0-f185-11e9-9d47-1937cab997af"},"pathReplyId":{"name":"replyId","in":"path","description":"回覆id","required":true,"schema":{"type":"string"},"example":"5590"},"pathDeleteReplyId":{"name":"deleteReplyId","in":"path","description":"回覆id","required":true,"schema":{"type":"string"},"example":"5584"},"pathTagId":{"name":"tagId","in":"path","description":"tag id","required":true,"schema":{"type":"string"},"example":"2d0830e4-85a3-11e8-b307-065035b8ff22"},"pathFileId":{"name":"fileId","in":"path","description":"doc api file id","required":true,"schema":{"type":"string"},"example":"47aafd3c1ba24866a7b4db305a88e29813"},"queryOffset":{"name":"offset","in":"query","description":"略過前面筆數","schema":{"type":"number"},"default":0,"example":0},"queryLimit":{"name":"limit","in":"query","description":"取幾筆資料","schema":{"type":"number"},"default":20,"example":1}}}}