Skip to content

Commit 56edbdf

Browse files
author
Samuel Reed
committed
Rebuild with latest swagger-codegen and swagger spec
Fixes issues with connectors pointing to localhost. Fixes BitMEX#411
1 parent dd75f92 commit 56edbdf

File tree

1,782 files changed

+55153
-46441
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,782 files changed

+55153
-46441
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.0-SNAPSHOT
1+
2.4.11-SNAPSHOT

auto-generated/akka-scala/README.md

+16-19
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
BitMEX API
44
- API version: 1.2.0
55

6-
## REST API for the BitMEX Trading Platform [View Changelog](/app/apiChangelog) #### Getting Started Base URI: [https://www.bitmex.com/api/v1](/api/v1) ##### Fetching Data All REST endpoints are documented below. You can try out any query right from this interface. Most table queries accept `count`, `start`, and `reverse` params. Set `reverse=true` to get rows newest-first. Additional documentation regarding filters, timestamps, and authentication is available in [the main API documentation](/app/restAPI). *All* table data is available via the [Websocket](/app/wsAPI). We highly recommend using the socket if you want to have the quickest possible data without being subject to ratelimits. ##### Return Types By default, all data is returned as JSON. Send `?_format=csv` to get CSV data or `?_format=xml` to get XML data. ##### Trade Data Queries *This is only a small subset of what is available, to get you started.* Fill in the parameters and click the `Try it out!` button to try any of these queries. * [Pricing Data](#!/Quote/Quote_get) * [Trade Data](#!/Trade/Trade_get) * [OrderBook Data](#!/OrderBook/OrderBook_getL2) * [Settlement Data](#!/Settlement/Settlement_get) * [Exchange Statistics](#!/Stats/Stats_history) Every function of the BitMEX.com platform is exposed here and documented. Many more functions are available. ##### Swagger Specification [⇩ Download Swagger JSON](swagger.json) ## All API Endpoints Click to expand a section.
6+
## REST API for the BitMEX Trading Platform [View Changelog](/app/apiChangelog) - #### Getting Started Base URI: [https://www.bitmex.com/api/v1](/api/v1) ##### Fetching Data All REST endpoints are documented below. You can try out any query right from this interface. Most table queries accept `count`, `start`, and `reverse` params. Set `reverse=true` to get rows newest-first. Additional documentation regarding filters, timestamps, and authentication is available in [the main API documentation](/app/restAPI). _All_ table data is available via the [Websocket](/app/wsAPI). We highly recommend using the socket if you want to have the quickest possible data without being subject to ratelimits. ##### Return Types By default, all data is returned as JSON. Send `?_format=csv` to get CSV data or `?_format=xml` to get XML data. ##### Trade Data Queries _This is only a small subset of what is available, to get you started._ Fill in the parameters and click the `Try it out!` button to try any of these queries. - [Pricing Data](#!/Quote/Quote_get) - [Trade Data](#!/Trade/Trade_get) - [OrderBook Data](#!/OrderBook/OrderBook_getL2) - [Settlement Data](#!/Settlement/Settlement_get) - [Exchange Statistics](#!/Stats/Stats_history) Every function of the BitMEX.com platform is exposed here and documented. Many more functions are available. ##### Swagger Specification [⇩ Download Swagger JSON](swagger.json) - ## All API Endpoints Click to expand a section.
77

88

99
*Automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen)*
@@ -61,15 +61,11 @@ libraryDependencies += "io.swagger" % "swagger-client" % "1.0.0"
6161

6262
## Documentation for API Endpoints
6363

64-
All URIs are relative to *https://localhost/api/v1*
64+
All URIs are relative to *https://www.bitmex.com/api/v1*
6565

6666
Class | Method | HTTP request | Description
6767
------------ | ------------- | ------------- | -------------
68-
*APIKeyApi* | **aPIKey.disable** | **POST** /apiKey/disable | Disable an API Key.
69-
*APIKeyApi* | **aPIKey.enable** | **POST** /apiKey/enable | Enable an API Key.
7068
*APIKeyApi* | **aPIKey.get** | **GET** /apiKey | Get your API Keys.
71-
*APIKeyApi* | **aPIKey.new** | **POST** /apiKey | Create a new API Key.
72-
*APIKeyApi* | **aPIKey.remove** | **DELETE** /apiKey | Remove an API Key.
7369
*AnnouncementApi* | **announcement.get** | **GET** /announcement | Get site announcements.
7470
*AnnouncementApi* | **announcement.getUrgent** | **GET** /announcement/urgent | Get urgent (banner) announcements.
7571
*ChatApi* | **chat.get** | **GET** /chat | Get chat messages.
@@ -79,6 +75,7 @@ Class | Method | HTTP request | Description
7975
*ExecutionApi* | **execution.get** | **GET** /execution | Get all raw executions for your account.
8076
*ExecutionApi* | **execution.getTradeHistory** | **GET** /execution/tradeHistory | Get all balance-affecting executions. This includes each trade, insurance charge, and settlement.
8177
*FundingApi* | **funding.get** | **GET** /funding | Get funding history.
78+
*GlobalNotificationApi* | **globalNotification.get** | **GET** /globalNotification | Get your current GlobalNotifications.
8279
*InstrumentApi* | **instrument.get** | **GET** /instrument | Get instruments.
8380
*InstrumentApi* | **instrument.getActive** | **GET** /instrument/active | Get all active instruments and instruments that have expired in <24hrs.
8481
*InstrumentApi* | **instrument.getActiveAndIndices** | **GET** /instrument/activeAndIndices | Helper method. Gets all active instruments and all indices. This is a join of the result of /indices and /active.
@@ -89,7 +86,6 @@ Class | Method | HTTP request | Description
8986
*LeaderboardApi* | **leaderboard.get** | **GET** /leaderboard | Get current leaderboard.
9087
*LeaderboardApi* | **leaderboard.getName** | **GET** /leaderboard/name | Get your alias on the leaderboard.
9188
*LiquidationApi* | **liquidation.get** | **GET** /liquidation | Get liquidation orders.
92-
*NotificationApi* | **notification.get** | **GET** /notification | Get your current notifications.
9389
*OrderApi* | **order.amend** | **PUT** /order | Amend the quantity or price of an open order.
9490
*OrderApi* | **order.amendBulk** | **PUT** /order/bulk | Amend multiple orders for the same symbol.
9591
*OrderApi* | **order.cancel** | **DELETE** /order | Cancel order(s). Send multiple order IDs to cancel in bulk.
@@ -117,25 +113,24 @@ Class | Method | HTTP request | Description
117113
*TradeApi* | **trade.getBucketed** | **GET** /trade/bucketed | Get previous trades in time buckets.
118114
*UserApi* | **user.cancelWithdrawal** | **POST** /user/cancelWithdrawal | Cancel a withdrawal.
119115
*UserApi* | **user.checkReferralCode** | **GET** /user/checkReferralCode | Check if a referral code is valid.
116+
*UserApi* | **user.communicationToken** | **POST** /user/communicationToken | Register your communication token for mobile clients
120117
*UserApi* | **user.confirm** | **POST** /user/confirmEmail | Confirm your email address with a token.
121-
*UserApi* | **user.confirmEnableTFA** | **POST** /user/confirmEnableTFA | Confirm two-factor auth for this account. If using a Yubikey, simply send a token to this endpoint.
122118
*UserApi* | **user.confirmWithdrawal** | **POST** /user/confirmWithdrawal | Confirm a withdrawal.
123-
*UserApi* | **user.disableTFA** | **POST** /user/disableTFA | Disable two-factor auth for this account.
124119
*UserApi* | **user.get** | **GET** /user | Get your user model.
125120
*UserApi* | **user.getAffiliateStatus** | **GET** /user/affiliateStatus | Get your current affiliate/referral status.
126121
*UserApi* | **user.getCommission** | **GET** /user/commission | Get your account's commission status.
127122
*UserApi* | **user.getDepositAddress** | **GET** /user/depositAddress | Get a deposit address.
123+
*UserApi* | **user.getExecutionHistory** | **GET** /user/executionHistory | Get the execution history by day.
128124
*UserApi* | **user.getMargin** | **GET** /user/margin | Get your account's margin status. Send a currency of \"all\" to receive an array of all supported currencies.
125+
*UserApi* | **user.getQuoteFillRatio** | **GET** /user/quoteFillRatio | Get 7 days worth of Quote Fill Ratio statistics.
129126
*UserApi* | **user.getWallet** | **GET** /user/wallet | Get your current wallet information.
130127
*UserApi* | **user.getWalletHistory** | **GET** /user/walletHistory | Get a history of all of your wallet transactions (deposits, withdrawals, PNL).
131128
*UserApi* | **user.getWalletSummary** | **GET** /user/walletSummary | Get a summary of all of your wallet transactions (deposits, withdrawals, PNL).
132129
*UserApi* | **user.logout** | **POST** /user/logout | Log out of BitMEX.
133-
*UserApi* | **user.logoutAll** | **POST** /user/logoutAll | Log all systems out of BitMEX. This will revoke all of your account's access tokens, logging you out on all devices.
134130
*UserApi* | **user.minWithdrawalFee** | **GET** /user/minWithdrawalFee | Get the minimum withdrawal fee for a currency.
135-
*UserApi* | **user.requestEnableTFA** | **POST** /user/requestEnableTFA | Get secret key for setting up two-factor auth.
136131
*UserApi* | **user.requestWithdrawal** | **POST** /user/requestWithdrawal | Request a withdrawal to an external wallet.
137132
*UserApi* | **user.savePreferences** | **POST** /user/preferences | Save user preferences.
138-
*UserApi* | **user.update** | **PUT** /user | Update your password, name, and other attributes.
133+
*UserEventApi* | **userEvent.get** | **GET** /userEvent | Get your user events
139134

140135

141136
## Documentation for Models
@@ -146,25 +141,26 @@ Class | Method | HTTP request | Description
146141
- [Announcement](Announcement.md)
147142
- [Chat](Chat.md)
148143
- [ChatChannel](ChatChannel.md)
144+
- [CommunicationToken](CommunicationToken.md)
149145
- [ConnectedUsers](ConnectedUsers.md)
150146
- [Error](Error.md)
151147
- [ErrorError](ErrorError.md)
152148
- [Execution](Execution.md)
153149
- [Funding](Funding.md)
150+
- [GlobalNotification](GlobalNotification.md)
154151
- [IndexComposite](IndexComposite.md)
155152
- [InlineResponse200](InlineResponse200.md)
156-
- [InlineResponse2001](InlineResponse2001.md)
157153
- [Instrument](Instrument.md)
158154
- [InstrumentInterval](InstrumentInterval.md)
159155
- [Insurance](Insurance.md)
160156
- [Leaderboard](Leaderboard.md)
161157
- [Liquidation](Liquidation.md)
162158
- [Margin](Margin.md)
163-
- [Notification](Notification.md)
164159
- [Order](Order.md)
165160
- [OrderBookL2](OrderBookL2.md)
166161
- [Position](Position.md)
167162
- [Quote](Quote.md)
163+
- [QuoteFillRatio](QuoteFillRatio.md)
168164
- [Settlement](Settlement.md)
169165
- [Stats](Stats.md)
170166
- [StatsHistory](StatsHistory.md)
@@ -173,7 +169,8 @@ Class | Method | HTTP request | Description
173169
- [TradeBin](TradeBin.md)
174170
- [Transaction](Transaction.md)
175171
- [User](User.md)
176-
- [UserCommission](UserCommission.md)
172+
- [UserCommissionsBySymbol](UserCommissionsBySymbol.md)
173+
- [UserEvent](UserEvent.md)
177174
- [UserPreferences](UserPreferences.md)
178175
- [Wallet](Wallet.md)
179176
- [XAny](XAny.md)
@@ -182,16 +179,16 @@ Class | Method | HTTP request | Description
182179
## Documentation for Authorization
183180

184181
Authentication schemes defined for the API:
185-
### apiKey
182+
### apiExpires
186183

187184
- **Type**: API key
188-
- **API key parameter name**: api-key
185+
- **API key parameter name**: api-expires
189186
- **Location**: HTTP header
190187

191-
### apiNonce
188+
### apiKey
192189

193190
- **Type**: API key
194-
- **API key parameter name**: api-nonce
191+
- **API key parameter name**: api-key
195192
- **Location**: HTTP header
196193

197194
### apiSignature

0 commit comments

Comments
 (0)