Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "swagger": "2.0",
- "info": {
- "title": "Lepricoin API",
- "description": "",
- "version": ""
- },
- "schemes": [
- "https"
- ],
- "paths": {
- "/accounts": {
- "get": {
- "operationId": "accounts_list",
- "responses": {
- "200": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "project",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "email",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "addresses__address",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- }
- ],
- "description": "Get lepricoin account list\nwith crypto balances",
- "summary": "Get lepricoin account list",
- "tags": [
- "accounts"
- ]
- },
- "post": {
- "operationId": "accounts_create",
- "responses": {
- "201": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "data",
- "in": "body",
- "schema": {
- "type": "object",
- "properties": {
- "email": {
- "description": "",
- "type": "string"
- },
- "extra": {
- "description": "",
- "type": "string"
- },
- "project": {
- "description": "",
- "type": "integer"
- }
- },
- "required": [
- "project"
- ]
- }
- }
- ],
- "consumes": [
- "application/json"
- ],
- "tags": [
- "accounts"
- ]
- }
- },
- "/accounts/{uuid}": {
- "get": {
- "operationId": "accounts_read",
- "responses": {
- "200": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "uuid",
- "required": true,
- "in": "path",
- "description": "A UUID string identifying this account.",
- "type": "string"
- },
- {
- "name": "project",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "email",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "addresses__address",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- }
- ],
- "description": "Get specify lepricoin account\nwith crypto balances",
- "summary": "Get specify lepricoin account",
- "tags": [
- "accounts"
- ]
- }
- },
- "/api_token": {
- "get": {
- "operationId": "api_token_list",
- "responses": {
- "200": {
- "description": ""
- }
- },
- "parameters": [],
- "description": "Get all",
- "summary": "Get all",
- "tags": [
- "api_token"
- ]
- },
- "post": {
- "operationId": "api_token_create",
- "responses": {
- "201": {
- "description": ""
- }
- },
- "parameters": [],
- "tags": [
- "api_token"
- ]
- }
- },
- "/api_token/{key}": {
- "get": {
- "operationId": "api_token_read",
- "responses": {
- "200": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "key",
- "required": true,
- "in": "path",
- "description": "A unique value identifying this Token.",
- "type": "string"
- }
- ],
- "description": "Get projects wallet settings",
- "summary": "Get projects wallet settings",
- "tags": [
- "api_token"
- ]
- },
- "delete": {
- "operationId": "api_token_delete",
- "responses": {
- "204": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "key",
- "required": true,
- "in": "path",
- "description": "A unique value identifying this Token.",
- "type": "string"
- }
- ],
- "tags": [
- "api_token"
- ]
- }
- },
- "/crypto/addresses": {
- "get": {
- "operationId": "crypto_addresses_list",
- "responses": {
- "200": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "account",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "currency",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "address",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- }
- ],
- "description": "Get crypto currency addresses\nFilters supported",
- "summary": "Get crypto currency addresses",
- "tags": [
- "crypto"
- ]
- }
- },
- "/crypto/addresses/{id}": {
- "get": {
- "operationId": "crypto_addresses_read",
- "responses": {
- "200": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "description": "A unique integer value identifying this crypto address.",
- "type": "integer"
- },
- {
- "name": "account",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "currency",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "address",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- }
- ],
- "tags": [
- "crypto"
- ]
- }
- },
- "/crypto/hot_balances": {
- "get": {
- "operationId": "crypto_hot_balances_list",
- "responses": {
- "200": {
- "description": ""
- }
- },
- "parameters": [],
- "tags": [
- "crypto"
- ]
- }
- },
- "/crypto/hot_balances/{id}": {
- "get": {
- "operationId": "crypto_hot_balances_read",
- "responses": {
- "200": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "description": "A unique integer value identifying this project.",
- "type": "integer"
- }
- ],
- "description": "Get real HOT wallet balance buy specify Project (account)",
- "summary": "Get real HOT wallet balance buy specify Project (account)",
- "tags": [
- "crypto"
- ]
- }
- },
- "/crypto/hot_to_cold_log": {
- "get": {
- "operationId": "crypto_hot_to_cold_log_list",
- "responses": {
- "200": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "project",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "currency",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "txid",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "hot_address",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "cold_address",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- }
- ],
- "description": "Get hot-to-cold transactions log",
- "summary": "Get hot-to-cold transactions log",
- "tags": [
- "crypto"
- ]
- }
- },
- "/crypto/hot_to_cold_log/{id}": {
- "get": {
- "operationId": "crypto_hot_to_cold_log_read",
- "responses": {
- "200": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "description": "A unique integer value identifying this hot to cold log.",
- "type": "integer"
- },
- {
- "name": "project",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "currency",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "txid",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "hot_address",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "cold_address",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- }
- ],
- "tags": [
- "crypto"
- ]
- }
- },
- "/crypto/transactions": {
- "get": {
- "operationId": "crypto_transactions_list",
- "responses": {
- "200": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "address__account",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "address__currency",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "address__address",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "txid",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "txtype",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "status",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "block_id",
- "required": false,
- "in": "query",
- "description": "",
- "type": "number"
- },
- {
- "name": "txtime",
- "required": false,
- "in": "query",
- "description": "",
- "type": "number"
- },
- {
- "name": "start_date",
- "required": false,
- "in": "query",
- "description": "",
- "type": "number"
- },
- {
- "name": "updated_at_gte",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- }
- ],
- "description": "Get crypto transactions list\nFilters supported",
- "summary": "Get crypto transactions list",
- "tags": [
- "crypto"
- ]
- }
- },
- "/crypto/transactions/{id}": {
- "get": {
- "operationId": "crypto_transactions_read",
- "responses": {
- "200": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "description": "A unique integer value identifying this crypto transaction.",
- "type": "integer"
- },
- {
- "name": "address__account",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "address__currency",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "address__address",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "txid",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "txtype",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "status",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- },
- {
- "name": "block_id",
- "required": false,
- "in": "query",
- "description": "",
- "type": "number"
- },
- {
- "name": "txtime",
- "required": false,
- "in": "query",
- "description": "",
- "type": "number"
- },
- {
- "name": "start_date",
- "required": false,
- "in": "query",
- "description": "",
- "type": "number"
- },
- {
- "name": "updated_at_gte",
- "required": false,
- "in": "query",
- "description": "",
- "type": "string"
- }
- ],
- "tags": [
- "crypto"
- ]
- }
- },
- "/projects": {
- "get": {
- "operationId": "projects_list",
- "responses": {
- "200": {
- "description": ""
- }
- },
- "parameters": [],
- "description": "Get projects",
- "summary": "Get projects",
- "tags": [
- "projects"
- ]
- },
- "post": {
- "operationId": "projects_create",
- "responses": {
- "201": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "data",
- "in": "body",
- "schema": {
- "type": "object",
- "properties": {
- "name": {
- "description": "",
- "type": "string"
- },
- "eth_cold_address": {
- "description": "",
- "type": "string"
- },
- "btc_cold_address": {
- "description": "",
- "type": "string"
- },
- "eth_hot_balance_min": {
- "description": "",
- "type": "number"
- },
- "btc_hot_balance_min": {
- "description": "",
- "type": "number"
- },
- "eth_hot_balance_max": {
- "description": "",
- "type": "number"
- },
- "btc_hot_balance_max": {
- "description": "",
- "type": "number"
- },
- "ltc_hot_address": {
- "description": "",
- "type": "string"
- },
- "ltc_hot_balance": {
- "description": "",
- "type": "number"
- },
- "config": {
- "description": "",
- "type": "object"
- },
- "sia_hot_address": {
- "description": "",
- "type": "string"
- },
- "sia_hot_balance": {
- "description": "",
- "type": "number"
- },
- "etc_hot_address": {
- "description": "",
- "type": "string"
- },
- "etc_hot_balance": {
- "description": "",
- "type": "string"
- },
- "dcr_hot_address": {
- "description": "",
- "type": "string"
- },
- "dcr_hot_balance": {
- "description": "",
- "type": "number"
- }
- },
- "required": [
- "name",
- "eth_cold_address",
- "btc_cold_address",
- "eth_hot_balance_max",
- "btc_hot_balance_max",
- "ltc_hot_address",
- "ltc_hot_balance",
- "config",
- "sia_hot_address",
- "sia_hot_balance",
- "etc_hot_address",
- "etc_hot_balance",
- "dcr_hot_address",
- "dcr_hot_balance"
- ]
- }
- }
- ],
- "consumes": [
- "application/json"
- ],
- "tags": [
- "projects"
- ]
- }
- },
- "/projects/confirm_new_config": {
- "post": {
- "operationId": "projects_confirm_hot_to_cold_config",
- "responses": {
- "201": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "data",
- "in": "body",
- "schema": {
- "type": "object",
- "properties": {
- "token": {
- "description": "",
- "type": "string"
- }
- },
- "required": [
- "token"
- ]
- }
- }
- ],
- "consumes": [
- "application/json"
- ],
- "tags": [
- "projects"
- ]
- }
- },
- "/projects/{id}": {
- "get": {
- "operationId": "projects_read",
- "responses": {
- "200": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "description": "A unique integer value identifying this project.",
- "type": "integer"
- }
- ],
- "description": "Get projects wallet settings",
- "summary": "Get projects wallet settings",
- "tags": [
- "projects"
- ]
- }
- },
- "/projects/{id}/balance": {
- "get": {
- "operationId": "projects_get_project_balances",
- "responses": {
- "200": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "description": "A unique integer value identifying this project.",
- "type": "integer"
- }
- ],
- "tags": [
- "projects"
- ]
- }
- },
- "/projects/{id}/cancel_withdraw": {
- "post": {
- "operationId": "projects_cancel_withdraw",
- "responses": {
- "201": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "description": "A unique integer value identifying this project.",
- "type": "integer"
- },
- {
- "name": "data",
- "in": "body",
- "schema": {
- "type": "object",
- "properties": {
- "token": {
- "description": "",
- "type": "string"
- }
- },
- "required": [
- "token"
- ]
- }
- }
- ],
- "consumes": [
- "application/json"
- ],
- "tags": [
- "projects"
- ]
- }
- },
- "/projects/{id}/confirm_withdraw": {
- "post": {
- "operationId": "projects_confirm_withdraw",
- "responses": {
- "201": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "description": "A unique integer value identifying this project.",
- "type": "integer"
- },
- {
- "name": "data",
- "in": "body",
- "schema": {
- "type": "object",
- "properties": {
- "token": {
- "description": "",
- "type": "string"
- }
- },
- "required": [
- "token"
- ]
- }
- }
- ],
- "consumes": [
- "application/json"
- ],
- "tags": [
- "projects"
- ]
- }
- },
- "/projects/{id}/deposit": {
- "post": {
- "operationId": "projects_deposit",
- "responses": {
- "201": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "description": "A unique integer value identifying this project.",
- "type": "integer"
- },
- {
- "name": "data",
- "in": "body",
- "schema": {
- "type": "object",
- "properties": {
- "address": {
- "description": "",
- "type": "string"
- },
- "amount": {
- "description": "",
- "type": "number"
- },
- "extra_data": {
- "description": "",
- "type": "string"
- }
- },
- "required": [
- "address",
- "amount",
- "extra_data"
- ]
- }
- }
- ],
- "consumes": [
- "application/json"
- ],
- "tags": [
- "projects"
- ]
- }
- },
- "/projects/{id}/new_config": {
- "post": {
- "operationId": "projects_edit_hot_to_cold_config",
- "responses": {
- "201": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "description": "A unique integer value identifying this project.",
- "type": "integer"
- },
- {
- "name": "data",
- "in": "body",
- "schema": {
- "type": "object",
- "properties": {
- "eth_hot_balance_min": {
- "description": "",
- "type": "number"
- },
- "btc_hot_balance_min": {
- "description": "",
- "type": "number"
- },
- "sia_hot_balance_min": {
- "description": "",
- "type": "number"
- },
- "eth_hot_balance_max": {
- "description": "",
- "type": "number"
- },
- "btc_hot_balance_max": {
- "description": "",
- "type": "number"
- },
- "sia_hot_balance_max": {
- "description": "",
- "type": "number"
- }
- },
- "required": [
- "eth_hot_balance_min",
- "btc_hot_balance_min",
- "sia_hot_balance_min",
- "eth_hot_balance_max",
- "btc_hot_balance_max",
- "sia_hot_balance_max"
- ]
- }
- }
- ],
- "consumes": [
- "application/json"
- ],
- "tags": [
- "projects"
- ]
- }
- },
- "/projects/{id}/withdraw_request": {
- "post": {
- "operationId": "projects_withdraw_request",
- "responses": {
- "201": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "description": "A unique integer value identifying this project.",
- "type": "integer"
- },
- {
- "name": "data",
- "in": "body",
- "schema": {
- "type": "object",
- "properties": {
- "account": {
- "description": "",
- "type": "string"
- },
- "currency": {
- "description": "",
- "type": "string"
- },
- "address_to": {
- "description": "",
- "type": "string"
- },
- "amount": {
- "description": "",
- "type": "number"
- }
- },
- "required": [
- "account",
- "currency",
- "address_to",
- "amount"
- ]
- }
- }
- ],
- "consumes": [
- "application/json"
- ],
- "tags": [
- "projects"
- ]
- }
- },
- "/users/auth": {
- "post": {
- "operationId": "users_auth_create",
- "responses": {
- "201": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "data",
- "in": "body",
- "schema": {
- "type": "object",
- "properties": {
- "email": {
- "description": "",
- "type": "string"
- },
- "password": {
- "description": "",
- "type": "string"
- }
- },
- "required": [
- "email",
- "password"
- ]
- }
- }
- ],
- "consumes": [
- "application/json"
- ],
- "tags": [
- "users"
- ]
- }
- },
- "/users/change_password": {
- "post": {
- "operationId": "users_change_password_create",
- "responses": {
- "201": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "data",
- "in": "body",
- "schema": {
- "type": "object",
- "properties": {
- "old_password": {
- "description": "",
- "type": "string"
- },
- "new_password": {
- "description": "",
- "type": "string"
- }
- },
- "required": [
- "old_password",
- "new_password"
- ]
- }
- }
- ],
- "consumes": [
- "application/json"
- ],
- "tags": [
- "users"
- ]
- }
- },
- "/users/password_reset": {
- "post": {
- "operationId": "users_password_reset_create",
- "responses": {
- "201": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "data",
- "in": "body",
- "schema": {
- "type": "object",
- "properties": {
- "email": {
- "description": "",
- "type": "string"
- }
- },
- "required": [
- "email"
- ]
- }
- }
- ],
- "consumes": [
- "application/json"
- ],
- "tags": [
- "users"
- ]
- }
- },
- "/users/password_reset/complete": {
- "post": {
- "operationId": "users_password_reset_complete",
- "responses": {
- "201": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "data",
- "in": "body",
- "schema": {
- "type": "object",
- "properties": {
- "token": {
- "description": "",
- "type": "string"
- },
- "new_password": {
- "description": "",
- "type": "string"
- }
- },
- "required": [
- "token",
- "new_password"
- ]
- }
- }
- ],
- "consumes": [
- "application/json"
- ],
- "tags": [
- "users"
- ]
- }
- },
- "/users/register": {
- "post": {
- "operationId": "users_register_create",
- "responses": {
- "201": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "data",
- "in": "body",
- "schema": {
- "type": "object",
- "properties": {
- "email": {
- "description": "",
- "type": "string"
- },
- "password": {
- "description": "",
- "type": "string"
- }
- },
- "required": [
- "email",
- "password"
- ]
- }
- }
- ],
- "description": "Creates the user.",
- "summary": "Creates the user.",
- "consumes": [
- "application/json"
- ],
- "tags": [
- "users"
- ]
- }
- },
- "/webhooks": {
- "post": {
- "operationId": "webhooks_create",
- "responses": {
- "201": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "data",
- "in": "body",
- "schema": {
- "type": "object",
- "properties": {
- "data": {
- "description": "",
- "type": "string"
- }
- }
- }
- }
- ],
- "consumes": [
- "application/json"
- ],
- "tags": [
- "webhooks"
- ]
- }
- },
- "/withdraw/{token}": {
- "get": {
- "operationId": "withdraw_read",
- "responses": {
- "200": {
- "description": ""
- }
- },
- "parameters": [
- {
- "name": "token",
- "required": true,
- "in": "path",
- "description": "",
- "type": "string"
- }
- ],
- "tags": [
- "withdraw"
- ]
- }
- }
- },
- "securityDefinitions": {
- "basic": {
- "type": "basic"
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement