Open xxi511 opened 4 years ago
我覺得可以從確認 APIClientProtocol
開始,不知道其他人看法如何?
2021-03-07
目前 https://api.devptt.site:5000 裡已經有以下 api 實作:
User:
POST
/api/account/attemptregisterPOST
/api/account/registerPOST
/api/account/loginGET
/api/useridGET
/api/user/{user_id}/favoritesGET
/api/user/{user_id}Board:
GET
/api/boards/autocompleteGET
/api/boards/byclassGET
/api/boards/popularGET
/api/boardsGET
/api/board/{bid}/summaryPOST
/api/class/{cls}/boardGET
/api/board/{bid}Article:
GET
/api/board/{bid}/articlesGET
/api/board/{bid}/article/{aid}GET
/api/board/{bid}/article/{aid}/commentsPOST
/api/board/{bid}/article
API 大部分都還沒實作(2020/11/11),開工前注意
https://api.devptt.site:5000/
[ ]
POST
loginGET
/api/Article/{board}GET
/api/Article/{board}/{file}GET
/api/Rank/{board}/{aid}[ ]
POST
/api/Rank/{board}/{aid}GET
/api/BoardGET
/api/Board/{name}GET
/api/Board/SearchGET
/api/Board/PopularGET
/api/Board/Favorite/{id}GET
/api/Board/Category/{name}[ ]
GET
/api/Board/{name}/ModeratorsGET
/api/User/{id}