Skip to content

Commit

Permalink
Merge pull request #317 from Bitcoin-com/stage
Browse files Browse the repository at this point in the history
v2.3.1
  • Loading branch information
cgcardona authored Feb 22, 2019
2 parents 31e8fe8 + be7a478 commit 952cb53
Show file tree
Hide file tree
Showing 17 changed files with 778 additions and 32 deletions.
76 changes: 75 additions & 1 deletion dist/public/bitcoin-com-mainnet-rest-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@
"Txid": {
"type": "string"
},
"SLPConvert": {
"type": "object",
"properties": {
"addresses": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SLPConvert"
},
"example": []
}
}
},
"SLPTxid": {
"type": "string"
},
Expand Down Expand Up @@ -125,6 +137,18 @@
}
}
},
"SLPListBulk": {
"type": "object",
"properties": {
"tokenIds": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SLPListBulk"
},
"example": []
}
}
},
"SLPTxids": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1091,7 +1115,7 @@
"openapi": "3.0.0",
"info": {
"description": "rest.bitcoin.com is the REST layer for Bitcoin.com's Cloud. More info: [developer.bitcoin.com/rest](https://developer.bitcoin.com/rest). Chatroom [geni.us/CashDev](http://geni.us/CashDev)",
"version": "2.3.0",
"version": "2.3.1",
"title": "REST",
"license": {
"name": "MIT",
Expand Down Expand Up @@ -2659,6 +2683,30 @@
"description": "successful response"
}
}
},
"post": {
"tags": [
"slp"
],
"summary": "list token information",
"description": "List multiple SLP tokens by id",
"operationId": "listBulk",
"requestBody": {
"description": "",
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SLPListBulk"
}
}
}
},
"responses": {
"200": {
"description": "successful response"
}
}
}
},
"/slp/list/{tokenId}": {
Expand Down Expand Up @@ -2715,6 +2763,32 @@
}
}
},
"/slp/convert": {
"post": {
"tags": [
"slp"
],
"summary": "convert address to slpAddr, cashAddr and legacy",
"description": "convert address to slpAddr, cashAddr and legacy",
"operationId": "convertBulk",
"requestBody": {
"description": "",
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SLPConvert"
}
}
}
},
"responses": {
"200": {
"description": "successful response"
}
}
}
},
"/slp/balancesForAddress/{address}": {
"get": {
"tags": [
Expand Down
76 changes: 75 additions & 1 deletion dist/public/bitcoin-com-testnet-rest-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@
"Txid": {
"type": "string"
},
"SLPConvert": {
"type": "object",
"properties": {
"addresses": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SLPConvert"
},
"example": []
}
}
},
"SLPTxid": {
"type": "string"
},
Expand Down Expand Up @@ -125,6 +137,18 @@
}
}
},
"SLPListBulk": {
"type": "object",
"properties": {
"tokenIds": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SLPListBulk"
},
"example": []
}
}
},
"SLPTxids": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1091,7 +1115,7 @@
"openapi": "3.0.0",
"info": {
"description": "trest.bitcoin.com is the REST layer for Bitcoin.com's Cloud. More info: [developer.bitcoin.com/rest](https://developer.bitcoin.com/rest). Chatroom [geni.us/CashDev](http://geni.us/CashDev)",
"version": "2.3.0",
"version": "2.3.1",
"title": "REST",
"license": {
"name": "MIT",
Expand Down Expand Up @@ -2659,6 +2683,30 @@
"description": "successful response"
}
}
},
"post": {
"tags": [
"slp"
],
"summary": "list token information",
"description": "List multiple SLP tokens by id",
"operationId": "listBulk",
"requestBody": {
"description": "",
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SLPListBulk"
}
}
}
},
"responses": {
"200": {
"description": "successful response"
}
}
}
},
"/slp/list/{tokenId}": {
Expand Down Expand Up @@ -2715,6 +2763,32 @@
}
}
},
"/slp/convert": {
"post": {
"tags": [
"slp"
],
"summary": "convert address to slpAddr, cashAddr and legacy",
"description": "convert address to slpAddr, cashAddr and legacy",
"operationId": "convertBulk",
"requestBody": {
"description": "",
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SLPConvert"
}
}
}
},
"responses": {
"200": {
"description": "successful response"
}
}
}
},
"/slp/balancesForAddress/{address}": {
"get": {
"tags": [
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rest.bitcoin.com",
"version": "2.3.0",
"version": "2.3.1",
"description": "REST API for Bitcoin.com's Cloud",
"author": "Gabriel Cardona <[email protected]>",
"contributors": [
Expand Down
Loading

0 comments on commit 952cb53

Please sign in to comment.