Skip to content

Commit

Permalink
v1.11.1 Release (#197)
Browse files Browse the repository at this point in the history
* Added missing X-MBX-APIKEY and Content Type headers to the Crypto Loan endpoints

* Reverted back automated changes from "" to null
  • Loading branch information
jonte-z committed Apr 14, 2023
1 parent ea7c163 commit ebbb7d7
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 12 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 1.11.1 - 2023-04-14
- Added missing X-MBX-APIKEY and Content Type headers to the Crypto Loan endpoints

## 1.11.0 - 2023-03-24
- Rename collections
- Fix an bug that if the timestamp is not in the last second position, the request could return error.
Expand Down
145 changes: 133 additions & 12 deletions collections/Binance Spot API.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -1835,7 +1835,18 @@
"name": "Borrow - Crypto Loan Borrow (TRADE)",
"request": {
"method": "POST",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "X-MBX-APIKEY",
"value": "{{binance-api-key}}",
"type": "text"
}
],
"url": {
"raw": "{{url}}/sapi/v1/loan/borrow?loanCoin=&collateralCoin=&loanTerm=&timestamp={{timestamp}}&signature={{signature}}",
"host": [
Expand Down Expand Up @@ -1897,7 +1908,18 @@
"name": "Borrow - Get Loan Borrow History (USER_DATA)",
"request": {
"method": "GET",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "X-MBX-APIKEY",
"value": "{{binance-api-key}}",
"type": "text"
}
],
"url": {
"raw": "{{url}}/sapi/v1/loan/borrow/history?timestamp={{timestamp}}&signature={{signature}}",
"host": [
Expand Down Expand Up @@ -1974,7 +1996,18 @@
"name": "Borrow - Get Loan Ongoing Orders (USER_DATA)",
"request": {
"method": "GET",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "X-MBX-APIKEY",
"value": "{{binance-api-key}}",
"type": "text"
}
],
"url": {
"raw": "{{url}}/sapi/v1/loan/ongoing/orders?timestamp={{timestamp}}&signature={{signature}}",
"host": [
Expand Down Expand Up @@ -2041,7 +2074,18 @@
"name": "Repay - Crypto Loan Repay (TRADE)",
"request": {
"method": "POST",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "X-MBX-APIKEY",
"value": "{{binance-api-key}}",
"type": "text"
}
],
"url": {
"raw": "{{url}}/sapi/v1/loan/repay?timestamp={{timestamp}}&signature={{signature}}&orderId=&amount=",
"host": [
Expand Down Expand Up @@ -2099,7 +2143,18 @@
"name": "Repay - Get Loan Repayment History (USER_DATA)",
"request": {
"method": "GET",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "X-MBX-APIKEY",
"value": "{{binance-api-key}}",
"type": "text"
}
],
"url": {
"raw": "{{url}}/sapi/v1/loan/repay/history?timestamp={{timestamp}}&signature={{signature}}",
"host": [
Expand Down Expand Up @@ -2175,7 +2230,18 @@
"name": "Adjust LTV - Crypto Loan Adjust LTV (TRADE)",
"request": {
"method": "POST",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "X-MBX-APIKEY",
"value": "{{binance-api-key}}",
"type": "text"
}
],
"url": {
"raw": "{{url}}/sapi/v1/loan/adjust/ltv?timestamp={{timestamp}}&signature={{signature}}&orderId=&amount=&direction=",
"host": [
Expand Down Expand Up @@ -2227,7 +2293,18 @@
"name": "Adjust LTV - Get Loan LTV Adjustment History (USER_DATA)",
"request": {
"method": "GET",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "X-MBX-APIKEY",
"value": "{{binance-api-key}}",
"type": "text"
}
],
"url": {
"raw": "{{url}}/sapi/v1/loan/ltv/adjustment/history?timestamp={{timestamp}}&signature={{signature}}",
"host": [
Expand Down Expand Up @@ -2304,7 +2381,18 @@
"name": "Get Loanable Assets Data (USER_DATA)",
"request": {
"method": "GET",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "X-MBX-APIKEY",
"value": "{{binance-api-key}}",
"type": "text"
}
],
"url": {
"raw": "{{url}}/sapi/v1/loan/loanable/data?timestamp={{timestamp}}&signature={{signature}}",
"host": [
Expand Down Expand Up @@ -2354,7 +2442,18 @@
"name": "Get Collateral Assets Data (USER_DATA)",
"request": {
"method": "GET",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "X-MBX-APIKEY",
"value": "{{binance-api-key}}",
"type": "text"
}
],
"url": {
"raw": "{{url}}/sapi/v1/loan/collateral/data?timestamp={{timestamp}}&signature={{signature}}",
"host": [
Expand Down Expand Up @@ -2404,7 +2503,18 @@
"name": "Check Collateral Repay Rate (USER_DATA)",
"request": {
"method": "GET",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "X-MBX-APIKEY",
"value": "{{binance-api-key}}",
"type": "text"
}
],
"url": {
"raw": "{{url}}/sapi/v1/loan/repay/collateral/rate?loanCoin=&collateralCoin=&repayAmount=&timestamp={{timestamp}}&signature={{signature}}",
"host": [
Expand Down Expand Up @@ -2457,7 +2567,18 @@
"name": "Crypto Loan Customize Margin Call (TRADE)",
"request": {
"method": "POST",
"header": [],
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "X-MBX-APIKEY",
"value": "{{binance-api-key}}",
"type": "text"
}
],
"url": {
"raw": "{{url}}/sapi/v1/loan/customize/margin_call?marginCall=&timestamp={{timestamp}}&signature={{signature}}",
"host": [
Expand Down Expand Up @@ -16938,4 +17059,4 @@
}
}
]
}
}

0 comments on commit ebbb7d7

Please sign in to comment.