ApiEndpoints.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  1. [
  2. {
  3. "ContainingType": "bitforum.Controllers.API.AccountController",
  4. "Method": "ChangeEmail",
  5. "RelativePath": "api/Account/change-email",
  6. "HttpMethod": "POST",
  7. "IsController": true,
  8. "Order": 0,
  9. "Parameters": [
  10. {
  11. "Name": "request",
  12. "Type": "bitforum.DTOs.Request.ChangeEmailDto",
  13. "IsRequired": true
  14. }
  15. ],
  16. "ReturnTypes": [
  17. {
  18. "Type": "bitforum.DTOs.Response.ResultDto",
  19. "MediaTypes": [
  20. "text/plain",
  21. "application/json",
  22. "text/json"
  23. ],
  24. "StatusCode": 200
  25. }
  26. ]
  27. },
  28. {
  29. "ContainingType": "bitforum.Controllers.API.AccountController",
  30. "Method": "ChangeNickname",
  31. "RelativePath": "api/Account/change-nickname",
  32. "HttpMethod": "POST",
  33. "IsController": true,
  34. "Order": 0,
  35. "Parameters": [
  36. {
  37. "Name": "request",
  38. "Type": "bitforum.DTOs.Request.ChangeNicknameDto",
  39. "IsRequired": true
  40. }
  41. ],
  42. "ReturnTypes": [
  43. {
  44. "Type": "bitforum.DTOs.Response.ResultDto",
  45. "MediaTypes": [
  46. "text/plain",
  47. "application/json",
  48. "text/json"
  49. ],
  50. "StatusCode": 200
  51. }
  52. ]
  53. },
  54. {
  55. "ContainingType": "bitforum.Controllers.API.AccountController",
  56. "Method": "ChangePassword",
  57. "RelativePath": "api/Account/change-password",
  58. "HttpMethod": "POST",
  59. "IsController": true,
  60. "Order": 0,
  61. "Parameters": [
  62. {
  63. "Name": "request",
  64. "Type": "bitforum.DTOs.Request.ChangePasswordDto",
  65. "IsRequired": true
  66. }
  67. ],
  68. "ReturnTypes": [
  69. {
  70. "Type": "bitforum.DTOs.Response.ResultDto",
  71. "MediaTypes": [
  72. "text/plain",
  73. "application/json",
  74. "text/json"
  75. ],
  76. "StatusCode": 200
  77. }
  78. ]
  79. },
  80. {
  81. "ContainingType": "bitforum.Controllers.API.AccountController",
  82. "Method": "Info",
  83. "RelativePath": "api/Account/Info/{email}",
  84. "HttpMethod": "GET",
  85. "IsController": true,
  86. "Order": 0,
  87. "Parameters": [
  88. {
  89. "Name": "email",
  90. "Type": "System.String",
  91. "IsRequired": true
  92. }
  93. ],
  94. "ReturnTypes": [
  95. {
  96. "Type": "bitforum.DTOs.Response.ResultDto",
  97. "MediaTypes": [
  98. "text/plain",
  99. "application/json",
  100. "text/json"
  101. ],
  102. "StatusCode": 200
  103. }
  104. ]
  105. },
  106. {
  107. "ContainingType": "bitforum.Controllers.API.AccountController",
  108. "Method": "LoginLog",
  109. "RelativePath": "api/Account/login-log",
  110. "HttpMethod": "GET",
  111. "IsController": true,
  112. "Order": 0,
  113. "Parameters": [
  114. {
  115. "Name": "page",
  116. "Type": "System.Int32",
  117. "IsRequired": false
  118. },
  119. {
  120. "Name": "type",
  121. "Type": "System.String",
  122. "IsRequired": false
  123. }
  124. ],
  125. "ReturnTypes": [
  126. {
  127. "Type": "bitforum.DTOs.Response.ResultDto",
  128. "MediaTypes": [
  129. "text/plain",
  130. "application/json",
  131. "text/json"
  132. ],
  133. "StatusCode": 200
  134. }
  135. ]
  136. },
  137. {
  138. "ContainingType": "bitforum.Controllers.API.AccountController",
  139. "Method": "Withdraw",
  140. "RelativePath": "api/Account/withdraw",
  141. "HttpMethod": "POST",
  142. "IsController": true,
  143. "Order": 0,
  144. "Parameters": [],
  145. "ReturnTypes": [
  146. {
  147. "Type": "bitforum.DTOs.Response.ResultDto",
  148. "MediaTypes": [
  149. "text/plain",
  150. "application/json",
  151. "text/json"
  152. ],
  153. "StatusCode": 200
  154. }
  155. ]
  156. },
  157. {
  158. "ContainingType": "bitforum.Controllers.API.Auth.PasswordController",
  159. "Method": "ForgotPassword",
  160. "RelativePath": "api/auth/forgot-password/{email}",
  161. "HttpMethod": "GET",
  162. "IsController": true,
  163. "Order": 0,
  164. "Parameters": [
  165. {
  166. "Name": "email",
  167. "Type": "System.String",
  168. "IsRequired": true
  169. }
  170. ],
  171. "ReturnTypes": [
  172. {
  173. "Type": "bitforum.DTOs.Response.ResultDto",
  174. "MediaTypes": [
  175. "text/plain",
  176. "application/json",
  177. "text/json"
  178. ],
  179. "StatusCode": 200
  180. }
  181. ]
  182. },
  183. {
  184. "ContainingType": "bitforum.Controllers.API.Auth.LoginController",
  185. "Method": "Login",
  186. "RelativePath": "api/auth/login",
  187. "HttpMethod": "POST",
  188. "IsController": true,
  189. "Order": 0,
  190. "Parameters": [
  191. {
  192. "Name": "request",
  193. "Type": "bitforum.DTOs.Request.LoginDto",
  194. "IsRequired": true
  195. }
  196. ],
  197. "ReturnTypes": [
  198. {
  199. "Type": "bitforum.DTOs.Response.ResultDto",
  200. "MediaTypes": [
  201. "text/plain",
  202. "application/json",
  203. "text/json"
  204. ],
  205. "StatusCode": 200
  206. }
  207. ]
  208. },
  209. {
  210. "ContainingType": "bitforum.Controllers.API.AuthController",
  211. "Method": "RefreshToken",
  212. "RelativePath": "api/Auth/refresh-token",
  213. "HttpMethod": "GET",
  214. "IsController": true,
  215. "Order": 0,
  216. "Parameters": [],
  217. "ReturnTypes": [
  218. {
  219. "Type": "bitforum.DTOs.Response.ResultDto",
  220. "MediaTypes": [
  221. "text/plain",
  222. "application/json",
  223. "text/json"
  224. ],
  225. "StatusCode": 200
  226. }
  227. ]
  228. },
  229. {
  230. "ContainingType": "bitforum.Controllers.API.Auth.RegisterController",
  231. "Method": "Register",
  232. "RelativePath": "api/auth/register",
  233. "HttpMethod": "POST",
  234. "IsController": true,
  235. "Order": 0,
  236. "Parameters": [
  237. {
  238. "Name": "request",
  239. "Type": "bitforum.DTOs.Request.RegisterDto",
  240. "IsRequired": true
  241. }
  242. ],
  243. "ReturnTypes": [
  244. {
  245. "Type": "bitforum.DTOs.Response.ResultDto",
  246. "MediaTypes": [
  247. "text/plain",
  248. "application/json",
  249. "text/json"
  250. ],
  251. "StatusCode": 200
  252. }
  253. ]
  254. },
  255. {
  256. "ContainingType": "bitforum.Controllers.API.Auth.RegisterController",
  257. "Method": "Registration",
  258. "RelativePath": "api/auth/registration/{email}",
  259. "HttpMethod": "GET",
  260. "IsController": true,
  261. "Order": 0,
  262. "Parameters": [
  263. {
  264. "Name": "email",
  265. "Type": "System.String",
  266. "IsRequired": true
  267. }
  268. ],
  269. "ReturnTypes": [
  270. {
  271. "Type": "bitforum.DTOs.Response.ResultDto",
  272. "MediaTypes": [
  273. "text/plain",
  274. "application/json",
  275. "text/json"
  276. ],
  277. "StatusCode": 200
  278. }
  279. ]
  280. },
  281. {
  282. "ContainingType": "bitforum.Controllers.API.AuthController",
  283. "Method": "ResendVerify",
  284. "RelativePath": "api/Auth/resend-verify",
  285. "HttpMethod": "POST",
  286. "IsController": true,
  287. "Order": 0,
  288. "Parameters": [
  289. {
  290. "Name": "request",
  291. "Type": "bitforum.DTOs.Request.ResendVerifyNumberDto",
  292. "IsRequired": true
  293. }
  294. ],
  295. "ReturnTypes": [
  296. {
  297. "Type": "bitforum.DTOs.Response.ResultDto",
  298. "MediaTypes": [
  299. "text/plain",
  300. "application/json",
  301. "text/json"
  302. ],
  303. "StatusCode": 200
  304. }
  305. ]
  306. },
  307. {
  308. "ContainingType": "bitforum.Controllers.API.Auth.PasswordController",
  309. "Method": "ResetPassword",
  310. "RelativePath": "api/auth/reset-password",
  311. "HttpMethod": "POST",
  312. "IsController": true,
  313. "Order": 0,
  314. "Parameters": [
  315. {
  316. "Name": "request",
  317. "Type": "bitforum.DTOs.Request.ResetPasswordDto",
  318. "IsRequired": true
  319. }
  320. ],
  321. "ReturnTypes": [
  322. {
  323. "Type": "bitforum.DTOs.Response.ResultDto",
  324. "MediaTypes": [
  325. "text/plain",
  326. "application/json",
  327. "text/json"
  328. ],
  329. "StatusCode": 200
  330. }
  331. ]
  332. },
  333. {
  334. "ContainingType": "bitforum.Controllers.API.AuthController",
  335. "Method": "Verification",
  336. "RelativePath": "api/Auth/verification",
  337. "HttpMethod": "POST",
  338. "IsController": true,
  339. "Order": 0,
  340. "Parameters": [
  341. {
  342. "Name": "request",
  343. "Type": "bitforum.DTOs.Request.VerificationNumberDto",
  344. "IsRequired": true
  345. }
  346. ],
  347. "ReturnTypes": [
  348. {
  349. "Type": "bitforum.DTOs.Response.ResultDto",
  350. "MediaTypes": [
  351. "text/plain",
  352. "application/json",
  353. "text/json"
  354. ],
  355. "StatusCode": 200
  356. }
  357. ]
  358. },
  359. {
  360. "ContainingType": "bitforum.Controllers.API.AuthController",
  361. "Method": "VerifyEmail",
  362. "RelativePath": "api/Auth/verify-email/{token}",
  363. "HttpMethod": "GET",
  364. "IsController": true,
  365. "Order": 0,
  366. "Parameters": [
  367. {
  368. "Name": "token",
  369. "Type": "System.String",
  370. "IsRequired": true
  371. }
  372. ],
  373. "ReturnTypes": [
  374. {
  375. "Type": "bitforum.DTOs.Response.ResultDto",
  376. "MediaTypes": [
  377. "text/plain",
  378. "application/json",
  379. "text/json"
  380. ],
  381. "StatusCode": 200
  382. }
  383. ]
  384. },
  385. {
  386. "ContainingType": "bitforum.Controllers.API.AuthController",
  387. "Method": "VerifyAccessToken",
  388. "RelativePath": "api/Auth/verify-token",
  389. "HttpMethod": "GET",
  390. "IsController": true,
  391. "Order": 0,
  392. "Parameters": [],
  393. "ReturnTypes": [
  394. {
  395. "Type": "bitforum.DTOs.Response.ResultDto",
  396. "MediaTypes": [
  397. "text/plain",
  398. "application/json",
  399. "text/json"
  400. ],
  401. "StatusCode": 200
  402. }
  403. ]
  404. },
  405. {
  406. "ContainingType": "bitforum.Controllers.API.SystemController",
  407. "Method": "Banner",
  408. "RelativePath": "api/System/banner/{code}",
  409. "HttpMethod": "GET",
  410. "IsController": true,
  411. "Order": 0,
  412. "Parameters": [
  413. {
  414. "Name": "code",
  415. "Type": "System.String",
  416. "IsRequired": true
  417. }
  418. ],
  419. "ReturnTypes": [
  420. {
  421. "Type": "bitforum.DTOs.Response.ResultDto",
  422. "MediaTypes": [
  423. "text/plain",
  424. "application/json",
  425. "text/json"
  426. ],
  427. "StatusCode": 200
  428. }
  429. ]
  430. },
  431. {
  432. "ContainingType": "bitforum.Controllers.API.SystemController",
  433. "Method": "Configs",
  434. "RelativePath": "api/System/configs",
  435. "HttpMethod": "GET",
  436. "IsController": true,
  437. "Order": 0,
  438. "Parameters": [],
  439. "ReturnTypes": [
  440. {
  441. "Type": "bitforum.DTOs.Response.ResultDto",
  442. "MediaTypes": [
  443. "text/plain",
  444. "application/json",
  445. "text/json"
  446. ],
  447. "StatusCode": 200
  448. }
  449. ]
  450. },
  451. {
  452. "ContainingType": "bitforum.Controllers.API.SystemController",
  453. "Method": "Docs",
  454. "RelativePath": "api/System/docs/{code}",
  455. "HttpMethod": "GET",
  456. "IsController": true,
  457. "Order": 0,
  458. "Parameters": [
  459. {
  460. "Name": "code",
  461. "Type": "System.String",
  462. "IsRequired": true
  463. }
  464. ],
  465. "ReturnTypes": [
  466. {
  467. "Type": "bitforum.DTOs.Response.ResultDto",
  468. "MediaTypes": [
  469. "text/plain",
  470. "application/json",
  471. "text/json"
  472. ],
  473. "StatusCode": 200
  474. }
  475. ]
  476. },
  477. {
  478. "ContainingType": "bitforum.Controllers.API.SystemController",
  479. "Method": "Faq",
  480. "RelativePath": "api/System/faq/{code}",
  481. "HttpMethod": "GET",
  482. "IsController": true,
  483. "Order": 0,
  484. "Parameters": [
  485. {
  486. "Name": "code",
  487. "Type": "System.String",
  488. "IsRequired": true
  489. },
  490. {
  491. "Name": "search",
  492. "Type": "System.String",
  493. "IsRequired": false
  494. }
  495. ],
  496. "ReturnTypes": [
  497. {
  498. "Type": "bitforum.DTOs.Response.ResultDto",
  499. "MediaTypes": [
  500. "text/plain",
  501. "application/json",
  502. "text/json"
  503. ],
  504. "StatusCode": 200
  505. }
  506. ]
  507. },
  508. {
  509. "ContainingType": "bitforum.Controllers.API.SystemController",
  510. "Method": "FaqCategories",
  511. "RelativePath": "api/System/faq/categories",
  512. "HttpMethod": "GET",
  513. "IsController": true,
  514. "Order": 0,
  515. "Parameters": [],
  516. "ReturnTypes": [
  517. {
  518. "Type": "bitforum.DTOs.Response.ResultDto",
  519. "MediaTypes": [
  520. "text/plain",
  521. "application/json",
  522. "text/json"
  523. ],
  524. "StatusCode": 200
  525. }
  526. ]
  527. },
  528. {
  529. "ContainingType": "bitforum.Controllers.API.SystemController",
  530. "Method": "Popup",
  531. "RelativePath": "api/System/popup",
  532. "HttpMethod": "GET",
  533. "IsController": true,
  534. "Order": 0,
  535. "Parameters": [],
  536. "ReturnTypes": [
  537. {
  538. "Type": "bitforum.DTOs.Response.ResultDto",
  539. "MediaTypes": [
  540. "text/plain",
  541. "application/json",
  542. "text/json"
  543. ],
  544. "StatusCode": 200
  545. }
  546. ]
  547. }
  548. ]