Advertisement
Guest User

Untitled

a guest
Dec 18th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.58 KB | None | 0 0
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "title": "Lepricoin API",
  5. "description": "",
  6. "version": ""
  7. },
  8. "schemes": [
  9. "https"
  10. ],
  11. "paths": {
  12. "/accounts": {
  13. "get": {
  14. "operationId": "accounts_list",
  15. "responses": {
  16. "200": {
  17. "description": ""
  18. }
  19. },
  20. "parameters": [
  21. {
  22. "name": "project",
  23. "required": false,
  24. "in": "query",
  25. "description": "",
  26. "type": "string"
  27. },
  28. {
  29. "name": "email",
  30. "required": false,
  31. "in": "query",
  32. "description": "",
  33. "type": "string"
  34. },
  35. {
  36. "name": "addresses__address",
  37. "required": false,
  38. "in": "query",
  39. "description": "",
  40. "type": "string"
  41. }
  42. ],
  43. "description": "Get lepricoin account list\nwith crypto balances",
  44. "summary": "Get lepricoin account list",
  45. "tags": [
  46. "accounts"
  47. ]
  48. },
  49. "post": {
  50. "operationId": "accounts_create",
  51. "responses": {
  52. "201": {
  53. "description": ""
  54. }
  55. },
  56. "parameters": [
  57. {
  58. "name": "data",
  59. "in": "body",
  60. "schema": {
  61. "type": "object",
  62. "properties": {
  63. "email": {
  64. "description": "",
  65. "type": "string"
  66. },
  67. "extra": {
  68. "description": "",
  69. "type": "string"
  70. },
  71. "project": {
  72. "description": "",
  73. "type": "integer"
  74. }
  75. },
  76. "required": [
  77. "project"
  78. ]
  79. }
  80. }
  81. ],
  82. "consumes": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "accounts"
  87. ]
  88. }
  89. },
  90. "/accounts/{uuid}": {
  91. "get": {
  92. "operationId": "accounts_read",
  93. "responses": {
  94. "200": {
  95. "description": ""
  96. }
  97. },
  98. "parameters": [
  99. {
  100. "name": "uuid",
  101. "required": true,
  102. "in": "path",
  103. "description": "A UUID string identifying this account.",
  104. "type": "string"
  105. },
  106. {
  107. "name": "project",
  108. "required": false,
  109. "in": "query",
  110. "description": "",
  111. "type": "string"
  112. },
  113. {
  114. "name": "email",
  115. "required": false,
  116. "in": "query",
  117. "description": "",
  118. "type": "string"
  119. },
  120. {
  121. "name": "addresses__address",
  122. "required": false,
  123. "in": "query",
  124. "description": "",
  125. "type": "string"
  126. }
  127. ],
  128. "description": "Get specify lepricoin account\nwith crypto balances",
  129. "summary": "Get specify lepricoin account",
  130. "tags": [
  131. "accounts"
  132. ]
  133. }
  134. },
  135. "/api_token": {
  136. "get": {
  137. "operationId": "api_token_list",
  138. "responses": {
  139. "200": {
  140. "description": ""
  141. }
  142. },
  143. "parameters": [],
  144. "description": "Get all",
  145. "summary": "Get all",
  146. "tags": [
  147. "api_token"
  148. ]
  149. },
  150. "post": {
  151. "operationId": "api_token_create",
  152. "responses": {
  153. "201": {
  154. "description": ""
  155. }
  156. },
  157. "parameters": [],
  158. "tags": [
  159. "api_token"
  160. ]
  161. }
  162. },
  163. "/api_token/{key}": {
  164. "get": {
  165. "operationId": "api_token_read",
  166. "responses": {
  167. "200": {
  168. "description": ""
  169. }
  170. },
  171. "parameters": [
  172. {
  173. "name": "key",
  174. "required": true,
  175. "in": "path",
  176. "description": "A unique value identifying this Token.",
  177. "type": "string"
  178. }
  179. ],
  180. "description": "Get projects wallet settings",
  181. "summary": "Get projects wallet settings",
  182. "tags": [
  183. "api_token"
  184. ]
  185. },
  186. "delete": {
  187. "operationId": "api_token_delete",
  188. "responses": {
  189. "204": {
  190. "description": ""
  191. }
  192. },
  193. "parameters": [
  194. {
  195. "name": "key",
  196. "required": true,
  197. "in": "path",
  198. "description": "A unique value identifying this Token.",
  199. "type": "string"
  200. }
  201. ],
  202. "tags": [
  203. "api_token"
  204. ]
  205. }
  206. },
  207. "/crypto/addresses": {
  208. "get": {
  209. "operationId": "crypto_addresses_list",
  210. "responses": {
  211. "200": {
  212. "description": ""
  213. }
  214. },
  215. "parameters": [
  216. {
  217. "name": "account",
  218. "required": false,
  219. "in": "query",
  220. "description": "",
  221. "type": "string"
  222. },
  223. {
  224. "name": "currency",
  225. "required": false,
  226. "in": "query",
  227. "description": "",
  228. "type": "string"
  229. },
  230. {
  231. "name": "address",
  232. "required": false,
  233. "in": "query",
  234. "description": "",
  235. "type": "string"
  236. }
  237. ],
  238. "description": "Get crypto currency addresses\nFilters supported",
  239. "summary": "Get crypto currency addresses",
  240. "tags": [
  241. "crypto"
  242. ]
  243. }
  244. },
  245. "/crypto/addresses/{id}": {
  246. "get": {
  247. "operationId": "crypto_addresses_read",
  248. "responses": {
  249. "200": {
  250. "description": ""
  251. }
  252. },
  253. "parameters": [
  254. {
  255. "name": "id",
  256. "required": true,
  257. "in": "path",
  258. "description": "A unique integer value identifying this crypto address.",
  259. "type": "integer"
  260. },
  261. {
  262. "name": "account",
  263. "required": false,
  264. "in": "query",
  265. "description": "",
  266. "type": "string"
  267. },
  268. {
  269. "name": "currency",
  270. "required": false,
  271. "in": "query",
  272. "description": "",
  273. "type": "string"
  274. },
  275. {
  276. "name": "address",
  277. "required": false,
  278. "in": "query",
  279. "description": "",
  280. "type": "string"
  281. }
  282. ],
  283. "tags": [
  284. "crypto"
  285. ]
  286. }
  287. },
  288. "/crypto/hot_balances": {
  289. "get": {
  290. "operationId": "crypto_hot_balances_list",
  291. "responses": {
  292. "200": {
  293. "description": ""
  294. }
  295. },
  296. "parameters": [],
  297. "tags": [
  298. "crypto"
  299. ]
  300. }
  301. },
  302. "/crypto/hot_balances/{id}": {
  303. "get": {
  304. "operationId": "crypto_hot_balances_read",
  305. "responses": {
  306. "200": {
  307. "description": ""
  308. }
  309. },
  310. "parameters": [
  311. {
  312. "name": "id",
  313. "required": true,
  314. "in": "path",
  315. "description": "A unique integer value identifying this project.",
  316. "type": "integer"
  317. }
  318. ],
  319. "description": "Get real HOT wallet balance buy specify Project (account)",
  320. "summary": "Get real HOT wallet balance buy specify Project (account)",
  321. "tags": [
  322. "crypto"
  323. ]
  324. }
  325. },
  326. "/crypto/hot_to_cold_log": {
  327. "get": {
  328. "operationId": "crypto_hot_to_cold_log_list",
  329. "responses": {
  330. "200": {
  331. "description": ""
  332. }
  333. },
  334. "parameters": [
  335. {
  336. "name": "project",
  337. "required": false,
  338. "in": "query",
  339. "description": "",
  340. "type": "string"
  341. },
  342. {
  343. "name": "currency",
  344. "required": false,
  345. "in": "query",
  346. "description": "",
  347. "type": "string"
  348. },
  349. {
  350. "name": "txid",
  351. "required": false,
  352. "in": "query",
  353. "description": "",
  354. "type": "string"
  355. },
  356. {
  357. "name": "hot_address",
  358. "required": false,
  359. "in": "query",
  360. "description": "",
  361. "type": "string"
  362. },
  363. {
  364. "name": "cold_address",
  365. "required": false,
  366. "in": "query",
  367. "description": "",
  368. "type": "string"
  369. }
  370. ],
  371. "description": "Get hot-to-cold transactions log",
  372. "summary": "Get hot-to-cold transactions log",
  373. "tags": [
  374. "crypto"
  375. ]
  376. }
  377. },
  378. "/crypto/hot_to_cold_log/{id}": {
  379. "get": {
  380. "operationId": "crypto_hot_to_cold_log_read",
  381. "responses": {
  382. "200": {
  383. "description": ""
  384. }
  385. },
  386. "parameters": [
  387. {
  388. "name": "id",
  389. "required": true,
  390. "in": "path",
  391. "description": "A unique integer value identifying this hot to cold log.",
  392. "type": "integer"
  393. },
  394. {
  395. "name": "project",
  396. "required": false,
  397. "in": "query",
  398. "description": "",
  399. "type": "string"
  400. },
  401. {
  402. "name": "currency",
  403. "required": false,
  404. "in": "query",
  405. "description": "",
  406. "type": "string"
  407. },
  408. {
  409. "name": "txid",
  410. "required": false,
  411. "in": "query",
  412. "description": "",
  413. "type": "string"
  414. },
  415. {
  416. "name": "hot_address",
  417. "required": false,
  418. "in": "query",
  419. "description": "",
  420. "type": "string"
  421. },
  422. {
  423. "name": "cold_address",
  424. "required": false,
  425. "in": "query",
  426. "description": "",
  427. "type": "string"
  428. }
  429. ],
  430. "tags": [
  431. "crypto"
  432. ]
  433. }
  434. },
  435. "/crypto/transactions": {
  436. "get": {
  437. "operationId": "crypto_transactions_list",
  438. "responses": {
  439. "200": {
  440. "description": ""
  441. }
  442. },
  443. "parameters": [
  444. {
  445. "name": "address__account",
  446. "required": false,
  447. "in": "query",
  448. "description": "",
  449. "type": "string"
  450. },
  451. {
  452. "name": "address__currency",
  453. "required": false,
  454. "in": "query",
  455. "description": "",
  456. "type": "string"
  457. },
  458. {
  459. "name": "address__address",
  460. "required": false,
  461. "in": "query",
  462. "description": "",
  463. "type": "string"
  464. },
  465. {
  466. "name": "txid",
  467. "required": false,
  468. "in": "query",
  469. "description": "",
  470. "type": "string"
  471. },
  472. {
  473. "name": "txtype",
  474. "required": false,
  475. "in": "query",
  476. "description": "",
  477. "type": "string"
  478. },
  479. {
  480. "name": "status",
  481. "required": false,
  482. "in": "query",
  483. "description": "",
  484. "type": "string"
  485. },
  486. {
  487. "name": "block_id",
  488. "required": false,
  489. "in": "query",
  490. "description": "",
  491. "type": "number"
  492. },
  493. {
  494. "name": "txtime",
  495. "required": false,
  496. "in": "query",
  497. "description": "",
  498. "type": "number"
  499. },
  500. {
  501. "name": "start_date",
  502. "required": false,
  503. "in": "query",
  504. "description": "",
  505. "type": "number"
  506. },
  507. {
  508. "name": "updated_at_gte",
  509. "required": false,
  510. "in": "query",
  511. "description": "",
  512. "type": "string"
  513. }
  514. ],
  515. "description": "Get crypto transactions list\nFilters supported",
  516. "summary": "Get crypto transactions list",
  517. "tags": [
  518. "crypto"
  519. ]
  520. }
  521. },
  522. "/crypto/transactions/{id}": {
  523. "get": {
  524. "operationId": "crypto_transactions_read",
  525. "responses": {
  526. "200": {
  527. "description": ""
  528. }
  529. },
  530. "parameters": [
  531. {
  532. "name": "id",
  533. "required": true,
  534. "in": "path",
  535. "description": "A unique integer value identifying this crypto transaction.",
  536. "type": "integer"
  537. },
  538. {
  539. "name": "address__account",
  540. "required": false,
  541. "in": "query",
  542. "description": "",
  543. "type": "string"
  544. },
  545. {
  546. "name": "address__currency",
  547. "required": false,
  548. "in": "query",
  549. "description": "",
  550. "type": "string"
  551. },
  552. {
  553. "name": "address__address",
  554. "required": false,
  555. "in": "query",
  556. "description": "",
  557. "type": "string"
  558. },
  559. {
  560. "name": "txid",
  561. "required": false,
  562. "in": "query",
  563. "description": "",
  564. "type": "string"
  565. },
  566. {
  567. "name": "txtype",
  568. "required": false,
  569. "in": "query",
  570. "description": "",
  571. "type": "string"
  572. },
  573. {
  574. "name": "status",
  575. "required": false,
  576. "in": "query",
  577. "description": "",
  578. "type": "string"
  579. },
  580. {
  581. "name": "block_id",
  582. "required": false,
  583. "in": "query",
  584. "description": "",
  585. "type": "number"
  586. },
  587. {
  588. "name": "txtime",
  589. "required": false,
  590. "in": "query",
  591. "description": "",
  592. "type": "number"
  593. },
  594. {
  595. "name": "start_date",
  596. "required": false,
  597. "in": "query",
  598. "description": "",
  599. "type": "number"
  600. },
  601. {
  602. "name": "updated_at_gte",
  603. "required": false,
  604. "in": "query",
  605. "description": "",
  606. "type": "string"
  607. }
  608. ],
  609. "tags": [
  610. "crypto"
  611. ]
  612. }
  613. },
  614. "/projects": {
  615. "get": {
  616. "operationId": "projects_list",
  617. "responses": {
  618. "200": {
  619. "description": ""
  620. }
  621. },
  622. "parameters": [],
  623. "description": "Get projects",
  624. "summary": "Get projects",
  625. "tags": [
  626. "projects"
  627. ]
  628. },
  629. "post": {
  630. "operationId": "projects_create",
  631. "responses": {
  632. "201": {
  633. "description": ""
  634. }
  635. },
  636. "parameters": [
  637. {
  638. "name": "data",
  639. "in": "body",
  640. "schema": {
  641. "type": "object",
  642. "properties": {
  643. "name": {
  644. "description": "",
  645. "type": "string"
  646. },
  647. "eth_cold_address": {
  648. "description": "",
  649. "type": "string"
  650. },
  651. "btc_cold_address": {
  652. "description": "",
  653. "type": "string"
  654. },
  655. "eth_hot_balance_min": {
  656. "description": "",
  657. "type": "number"
  658. },
  659. "btc_hot_balance_min": {
  660. "description": "",
  661. "type": "number"
  662. },
  663. "eth_hot_balance_max": {
  664. "description": "",
  665. "type": "number"
  666. },
  667. "btc_hot_balance_max": {
  668. "description": "",
  669. "type": "number"
  670. },
  671. "ltc_hot_address": {
  672. "description": "",
  673. "type": "string"
  674. },
  675. "ltc_hot_balance": {
  676. "description": "",
  677. "type": "number"
  678. },
  679. "config": {
  680. "description": "",
  681. "type": "object"
  682. },
  683. "sia_hot_address": {
  684. "description": "",
  685. "type": "string"
  686. },
  687. "sia_hot_balance": {
  688. "description": "",
  689. "type": "number"
  690. },
  691. "etc_hot_address": {
  692. "description": "",
  693. "type": "string"
  694. },
  695. "etc_hot_balance": {
  696. "description": "",
  697. "type": "string"
  698. },
  699. "dcr_hot_address": {
  700. "description": "",
  701. "type": "string"
  702. },
  703. "dcr_hot_balance": {
  704. "description": "",
  705. "type": "number"
  706. }
  707. },
  708. "required": [
  709. "name",
  710. "eth_cold_address",
  711. "btc_cold_address",
  712. "eth_hot_balance_max",
  713. "btc_hot_balance_max",
  714. "ltc_hot_address",
  715. "ltc_hot_balance",
  716. "config",
  717. "sia_hot_address",
  718. "sia_hot_balance",
  719. "etc_hot_address",
  720. "etc_hot_balance",
  721. "dcr_hot_address",
  722. "dcr_hot_balance"
  723. ]
  724. }
  725. }
  726. ],
  727. "consumes": [
  728. "application/json"
  729. ],
  730. "tags": [
  731. "projects"
  732. ]
  733. }
  734. },
  735. "/projects/confirm_new_config": {
  736. "post": {
  737. "operationId": "projects_confirm_hot_to_cold_config",
  738. "responses": {
  739. "201": {
  740. "description": ""
  741. }
  742. },
  743. "parameters": [
  744. {
  745. "name": "data",
  746. "in": "body",
  747. "schema": {
  748. "type": "object",
  749. "properties": {
  750. "token": {
  751. "description": "",
  752. "type": "string"
  753. }
  754. },
  755. "required": [
  756. "token"
  757. ]
  758. }
  759. }
  760. ],
  761. "consumes": [
  762. "application/json"
  763. ],
  764. "tags": [
  765. "projects"
  766. ]
  767. }
  768. },
  769. "/projects/{id}": {
  770. "get": {
  771. "operationId": "projects_read",
  772. "responses": {
  773. "200": {
  774. "description": ""
  775. }
  776. },
  777. "parameters": [
  778. {
  779. "name": "id",
  780. "required": true,
  781. "in": "path",
  782. "description": "A unique integer value identifying this project.",
  783. "type": "integer"
  784. }
  785. ],
  786. "description": "Get projects wallet settings",
  787. "summary": "Get projects wallet settings",
  788. "tags": [
  789. "projects"
  790. ]
  791. }
  792. },
  793. "/projects/{id}/balance": {
  794. "get": {
  795. "operationId": "projects_get_project_balances",
  796. "responses": {
  797. "200": {
  798. "description": ""
  799. }
  800. },
  801. "parameters": [
  802. {
  803. "name": "id",
  804. "required": true,
  805. "in": "path",
  806. "description": "A unique integer value identifying this project.",
  807. "type": "integer"
  808. }
  809. ],
  810. "tags": [
  811. "projects"
  812. ]
  813. }
  814. },
  815. "/projects/{id}/cancel_withdraw": {
  816. "post": {
  817. "operationId": "projects_cancel_withdraw",
  818. "responses": {
  819. "201": {
  820. "description": ""
  821. }
  822. },
  823. "parameters": [
  824. {
  825. "name": "id",
  826. "required": true,
  827. "in": "path",
  828. "description": "A unique integer value identifying this project.",
  829. "type": "integer"
  830. },
  831. {
  832. "name": "data",
  833. "in": "body",
  834. "schema": {
  835. "type": "object",
  836. "properties": {
  837. "token": {
  838. "description": "",
  839. "type": "string"
  840. }
  841. },
  842. "required": [
  843. "token"
  844. ]
  845. }
  846. }
  847. ],
  848. "consumes": [
  849. "application/json"
  850. ],
  851. "tags": [
  852. "projects"
  853. ]
  854. }
  855. },
  856. "/projects/{id}/confirm_withdraw": {
  857. "post": {
  858. "operationId": "projects_confirm_withdraw",
  859. "responses": {
  860. "201": {
  861. "description": ""
  862. }
  863. },
  864. "parameters": [
  865. {
  866. "name": "id",
  867. "required": true,
  868. "in": "path",
  869. "description": "A unique integer value identifying this project.",
  870. "type": "integer"
  871. },
  872. {
  873. "name": "data",
  874. "in": "body",
  875. "schema": {
  876. "type": "object",
  877. "properties": {
  878. "token": {
  879. "description": "",
  880. "type": "string"
  881. }
  882. },
  883. "required": [
  884. "token"
  885. ]
  886. }
  887. }
  888. ],
  889. "consumes": [
  890. "application/json"
  891. ],
  892. "tags": [
  893. "projects"
  894. ]
  895. }
  896. },
  897. "/projects/{id}/deposit": {
  898. "post": {
  899. "operationId": "projects_deposit",
  900. "responses": {
  901. "201": {
  902. "description": ""
  903. }
  904. },
  905. "parameters": [
  906. {
  907. "name": "id",
  908. "required": true,
  909. "in": "path",
  910. "description": "A unique integer value identifying this project.",
  911. "type": "integer"
  912. },
  913. {
  914. "name": "data",
  915. "in": "body",
  916. "schema": {
  917. "type": "object",
  918. "properties": {
  919. "address": {
  920. "description": "",
  921. "type": "string"
  922. },
  923. "amount": {
  924. "description": "",
  925. "type": "number"
  926. },
  927. "extra_data": {
  928. "description": "",
  929. "type": "string"
  930. }
  931. },
  932. "required": [
  933. "address",
  934. "amount",
  935. "extra_data"
  936. ]
  937. }
  938. }
  939. ],
  940. "consumes": [
  941. "application/json"
  942. ],
  943. "tags": [
  944. "projects"
  945. ]
  946. }
  947. },
  948. "/projects/{id}/new_config": {
  949. "post": {
  950. "operationId": "projects_edit_hot_to_cold_config",
  951. "responses": {
  952. "201": {
  953. "description": ""
  954. }
  955. },
  956. "parameters": [
  957. {
  958. "name": "id",
  959. "required": true,
  960. "in": "path",
  961. "description": "A unique integer value identifying this project.",
  962. "type": "integer"
  963. },
  964. {
  965. "name": "data",
  966. "in": "body",
  967. "schema": {
  968. "type": "object",
  969. "properties": {
  970. "eth_hot_balance_min": {
  971. "description": "",
  972. "type": "number"
  973. },
  974. "btc_hot_balance_min": {
  975. "description": "",
  976. "type": "number"
  977. },
  978. "sia_hot_balance_min": {
  979. "description": "",
  980. "type": "number"
  981. },
  982. "eth_hot_balance_max": {
  983. "description": "",
  984. "type": "number"
  985. },
  986. "btc_hot_balance_max": {
  987. "description": "",
  988. "type": "number"
  989. },
  990. "sia_hot_balance_max": {
  991. "description": "",
  992. "type": "number"
  993. }
  994. },
  995. "required": [
  996. "eth_hot_balance_min",
  997. "btc_hot_balance_min",
  998. "sia_hot_balance_min",
  999. "eth_hot_balance_max",
  1000. "btc_hot_balance_max",
  1001. "sia_hot_balance_max"
  1002. ]
  1003. }
  1004. }
  1005. ],
  1006. "consumes": [
  1007. "application/json"
  1008. ],
  1009. "tags": [
  1010. "projects"
  1011. ]
  1012. }
  1013. },
  1014. "/projects/{id}/withdraw_request": {
  1015. "post": {
  1016. "operationId": "projects_withdraw_request",
  1017. "responses": {
  1018. "201": {
  1019. "description": ""
  1020. }
  1021. },
  1022. "parameters": [
  1023. {
  1024. "name": "id",
  1025. "required": true,
  1026. "in": "path",
  1027. "description": "A unique integer value identifying this project.",
  1028. "type": "integer"
  1029. },
  1030. {
  1031. "name": "data",
  1032. "in": "body",
  1033. "schema": {
  1034. "type": "object",
  1035. "properties": {
  1036. "account": {
  1037. "description": "",
  1038. "type": "string"
  1039. },
  1040. "currency": {
  1041. "description": "",
  1042. "type": "string"
  1043. },
  1044. "address_to": {
  1045. "description": "",
  1046. "type": "string"
  1047. },
  1048. "amount": {
  1049. "description": "",
  1050. "type": "number"
  1051. }
  1052. },
  1053. "required": [
  1054. "account",
  1055. "currency",
  1056. "address_to",
  1057. "amount"
  1058. ]
  1059. }
  1060. }
  1061. ],
  1062. "consumes": [
  1063. "application/json"
  1064. ],
  1065. "tags": [
  1066. "projects"
  1067. ]
  1068. }
  1069. },
  1070. "/users/auth": {
  1071. "post": {
  1072. "operationId": "users_auth_create",
  1073. "responses": {
  1074. "201": {
  1075. "description": ""
  1076. }
  1077. },
  1078. "parameters": [
  1079. {
  1080. "name": "data",
  1081. "in": "body",
  1082. "schema": {
  1083. "type": "object",
  1084. "properties": {
  1085. "email": {
  1086. "description": "",
  1087. "type": "string"
  1088. },
  1089. "password": {
  1090. "description": "",
  1091. "type": "string"
  1092. }
  1093. },
  1094. "required": [
  1095. "email",
  1096. "password"
  1097. ]
  1098. }
  1099. }
  1100. ],
  1101. "consumes": [
  1102. "application/json"
  1103. ],
  1104. "tags": [
  1105. "users"
  1106. ]
  1107. }
  1108. },
  1109. "/users/change_password": {
  1110. "post": {
  1111. "operationId": "users_change_password_create",
  1112. "responses": {
  1113. "201": {
  1114. "description": ""
  1115. }
  1116. },
  1117. "parameters": [
  1118. {
  1119. "name": "data",
  1120. "in": "body",
  1121. "schema": {
  1122. "type": "object",
  1123. "properties": {
  1124. "old_password": {
  1125. "description": "",
  1126. "type": "string"
  1127. },
  1128. "new_password": {
  1129. "description": "",
  1130. "type": "string"
  1131. }
  1132. },
  1133. "required": [
  1134. "old_password",
  1135. "new_password"
  1136. ]
  1137. }
  1138. }
  1139. ],
  1140. "consumes": [
  1141. "application/json"
  1142. ],
  1143. "tags": [
  1144. "users"
  1145. ]
  1146. }
  1147. },
  1148. "/users/password_reset": {
  1149. "post": {
  1150. "operationId": "users_password_reset_create",
  1151. "responses": {
  1152. "201": {
  1153. "description": ""
  1154. }
  1155. },
  1156. "parameters": [
  1157. {
  1158. "name": "data",
  1159. "in": "body",
  1160. "schema": {
  1161. "type": "object",
  1162. "properties": {
  1163. "email": {
  1164. "description": "",
  1165. "type": "string"
  1166. }
  1167. },
  1168. "required": [
  1169. "email"
  1170. ]
  1171. }
  1172. }
  1173. ],
  1174. "consumes": [
  1175. "application/json"
  1176. ],
  1177. "tags": [
  1178. "users"
  1179. ]
  1180. }
  1181. },
  1182. "/users/password_reset/complete": {
  1183. "post": {
  1184. "operationId": "users_password_reset_complete",
  1185. "responses": {
  1186. "201": {
  1187. "description": ""
  1188. }
  1189. },
  1190. "parameters": [
  1191. {
  1192. "name": "data",
  1193. "in": "body",
  1194. "schema": {
  1195. "type": "object",
  1196. "properties": {
  1197. "token": {
  1198. "description": "",
  1199. "type": "string"
  1200. },
  1201. "new_password": {
  1202. "description": "",
  1203. "type": "string"
  1204. }
  1205. },
  1206. "required": [
  1207. "token",
  1208. "new_password"
  1209. ]
  1210. }
  1211. }
  1212. ],
  1213. "consumes": [
  1214. "application/json"
  1215. ],
  1216. "tags": [
  1217. "users"
  1218. ]
  1219. }
  1220. },
  1221. "/users/register": {
  1222. "post": {
  1223. "operationId": "users_register_create",
  1224. "responses": {
  1225. "201": {
  1226. "description": ""
  1227. }
  1228. },
  1229. "parameters": [
  1230. {
  1231. "name": "data",
  1232. "in": "body",
  1233. "schema": {
  1234. "type": "object",
  1235. "properties": {
  1236. "email": {
  1237. "description": "",
  1238. "type": "string"
  1239. },
  1240. "password": {
  1241. "description": "",
  1242. "type": "string"
  1243. }
  1244. },
  1245. "required": [
  1246. "email",
  1247. "password"
  1248. ]
  1249. }
  1250. }
  1251. ],
  1252. "description": "Creates the user.",
  1253. "summary": "Creates the user.",
  1254. "consumes": [
  1255. "application/json"
  1256. ],
  1257. "tags": [
  1258. "users"
  1259. ]
  1260. }
  1261. },
  1262. "/webhooks": {
  1263. "post": {
  1264. "operationId": "webhooks_create",
  1265. "responses": {
  1266. "201": {
  1267. "description": ""
  1268. }
  1269. },
  1270. "parameters": [
  1271. {
  1272. "name": "data",
  1273. "in": "body",
  1274. "schema": {
  1275. "type": "object",
  1276. "properties": {
  1277. "data": {
  1278. "description": "",
  1279. "type": "string"
  1280. }
  1281. }
  1282. }
  1283. }
  1284. ],
  1285. "consumes": [
  1286. "application/json"
  1287. ],
  1288. "tags": [
  1289. "webhooks"
  1290. ]
  1291. }
  1292. },
  1293. "/withdraw/{token}": {
  1294. "get": {
  1295. "operationId": "withdraw_read",
  1296. "responses": {
  1297. "200": {
  1298. "description": ""
  1299. }
  1300. },
  1301. "parameters": [
  1302. {
  1303. "name": "token",
  1304. "required": true,
  1305. "in": "path",
  1306. "description": "",
  1307. "type": "string"
  1308. }
  1309. ],
  1310. "tags": [
  1311. "withdraw"
  1312. ]
  1313. }
  1314. }
  1315. },
  1316. "securityDefinitions": {
  1317. "basic": {
  1318. "type": "basic"
  1319. }
  1320. }
  1321. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement