Skip to content

Commit

Permalink
Rebuild with latest swagger-codegen and swagger spec
Browse files Browse the repository at this point in the history
Fixes issues with connectors pointing to localhost.

Fixes BitMEX#411
  • Loading branch information
Samuel Reed committed Dec 18, 2019
1 parent dd75f92 commit 56edbdf
Show file tree
Hide file tree
Showing 1,782 changed files with 55,153 additions and 46,441 deletions.
2 changes: 1 addition & 1 deletion auto-generated/akka-scala/.swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.0-SNAPSHOT
2.4.11-SNAPSHOT
35 changes: 16 additions & 19 deletions auto-generated/akka-scala/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
BitMEX API
- API version: 1.2.0

## 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.
## 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.


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

## Documentation for API Endpoints

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

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*APIKeyApi* | **aPIKey.disable** | **POST** /apiKey/disable | Disable an API Key.
*APIKeyApi* | **aPIKey.enable** | **POST** /apiKey/enable | Enable an API Key.
*APIKeyApi* | **aPIKey.get** | **GET** /apiKey | Get your API Keys.
*APIKeyApi* | **aPIKey.new** | **POST** /apiKey | Create a new API Key.
*APIKeyApi* | **aPIKey.remove** | **DELETE** /apiKey | Remove an API Key.
*AnnouncementApi* | **announcement.get** | **GET** /announcement | Get site announcements.
*AnnouncementApi* | **announcement.getUrgent** | **GET** /announcement/urgent | Get urgent (banner) announcements.
*ChatApi* | **chat.get** | **GET** /chat | Get chat messages.
Expand All @@ -79,6 +75,7 @@ Class | Method | HTTP request | Description
*ExecutionApi* | **execution.get** | **GET** /execution | Get all raw executions for your account.
*ExecutionApi* | **execution.getTradeHistory** | **GET** /execution/tradeHistory | Get all balance-affecting executions. This includes each trade, insurance charge, and settlement.
*FundingApi* | **funding.get** | **GET** /funding | Get funding history.
*GlobalNotificationApi* | **globalNotification.get** | **GET** /globalNotification | Get your current GlobalNotifications.
*InstrumentApi* | **instrument.get** | **GET** /instrument | Get instruments.
*InstrumentApi* | **instrument.getActive** | **GET** /instrument/active | Get all active instruments and instruments that have expired in <24hrs.
*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.
Expand All @@ -89,7 +86,6 @@ Class | Method | HTTP request | Description
*LeaderboardApi* | **leaderboard.get** | **GET** /leaderboard | Get current leaderboard.
*LeaderboardApi* | **leaderboard.getName** | **GET** /leaderboard/name | Get your alias on the leaderboard.
*LiquidationApi* | **liquidation.get** | **GET** /liquidation | Get liquidation orders.
*NotificationApi* | **notification.get** | **GET** /notification | Get your current notifications.
*OrderApi* | **order.amend** | **PUT** /order | Amend the quantity or price of an open order.
*OrderApi* | **order.amendBulk** | **PUT** /order/bulk | Amend multiple orders for the same symbol.
*OrderApi* | **order.cancel** | **DELETE** /order | Cancel order(s). Send multiple order IDs to cancel in bulk.
Expand Down Expand Up @@ -117,25 +113,24 @@ Class | Method | HTTP request | Description
*TradeApi* | **trade.getBucketed** | **GET** /trade/bucketed | Get previous trades in time buckets.
*UserApi* | **user.cancelWithdrawal** | **POST** /user/cancelWithdrawal | Cancel a withdrawal.
*UserApi* | **user.checkReferralCode** | **GET** /user/checkReferralCode | Check if a referral code is valid.
*UserApi* | **user.communicationToken** | **POST** /user/communicationToken | Register your communication token for mobile clients
*UserApi* | **user.confirm** | **POST** /user/confirmEmail | Confirm your email address with a token.
*UserApi* | **user.confirmEnableTFA** | **POST** /user/confirmEnableTFA | Confirm two-factor auth for this account. If using a Yubikey, simply send a token to this endpoint.
*UserApi* | **user.confirmWithdrawal** | **POST** /user/confirmWithdrawal | Confirm a withdrawal.
*UserApi* | **user.disableTFA** | **POST** /user/disableTFA | Disable two-factor auth for this account.
*UserApi* | **user.get** | **GET** /user | Get your user model.
*UserApi* | **user.getAffiliateStatus** | **GET** /user/affiliateStatus | Get your current affiliate/referral status.
*UserApi* | **user.getCommission** | **GET** /user/commission | Get your account's commission status.
*UserApi* | **user.getDepositAddress** | **GET** /user/depositAddress | Get a deposit address.
*UserApi* | **user.getExecutionHistory** | **GET** /user/executionHistory | Get the execution history by day.
*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.
*UserApi* | **user.getQuoteFillRatio** | **GET** /user/quoteFillRatio | Get 7 days worth of Quote Fill Ratio statistics.
*UserApi* | **user.getWallet** | **GET** /user/wallet | Get your current wallet information.
*UserApi* | **user.getWalletHistory** | **GET** /user/walletHistory | Get a history of all of your wallet transactions (deposits, withdrawals, PNL).
*UserApi* | **user.getWalletSummary** | **GET** /user/walletSummary | Get a summary of all of your wallet transactions (deposits, withdrawals, PNL).
*UserApi* | **user.logout** | **POST** /user/logout | Log out of BitMEX.
*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.
*UserApi* | **user.minWithdrawalFee** | **GET** /user/minWithdrawalFee | Get the minimum withdrawal fee for a currency.
*UserApi* | **user.requestEnableTFA** | **POST** /user/requestEnableTFA | Get secret key for setting up two-factor auth.
*UserApi* | **user.requestWithdrawal** | **POST** /user/requestWithdrawal | Request a withdrawal to an external wallet.
*UserApi* | **user.savePreferences** | **POST** /user/preferences | Save user preferences.
*UserApi* | **user.update** | **PUT** /user | Update your password, name, and other attributes.
*UserEventApi* | **userEvent.get** | **GET** /userEvent | Get your user events


## Documentation for Models
Expand All @@ -146,25 +141,26 @@ Class | Method | HTTP request | Description
- [Announcement](Announcement.md)
- [Chat](Chat.md)
- [ChatChannel](ChatChannel.md)
- [CommunicationToken](CommunicationToken.md)
- [ConnectedUsers](ConnectedUsers.md)
- [Error](Error.md)
- [ErrorError](ErrorError.md)
- [Execution](Execution.md)
- [Funding](Funding.md)
- [GlobalNotification](GlobalNotification.md)
- [IndexComposite](IndexComposite.md)
- [InlineResponse200](InlineResponse200.md)
- [InlineResponse2001](InlineResponse2001.md)
- [Instrument](Instrument.md)
- [InstrumentInterval](InstrumentInterval.md)
- [Insurance](Insurance.md)
- [Leaderboard](Leaderboard.md)
- [Liquidation](Liquidation.md)
- [Margin](Margin.md)
- [Notification](Notification.md)
- [Order](Order.md)
- [OrderBookL2](OrderBookL2.md)
- [Position](Position.md)
- [Quote](Quote.md)
- [QuoteFillRatio](QuoteFillRatio.md)
- [Settlement](Settlement.md)
- [Stats](Stats.md)
- [StatsHistory](StatsHistory.md)
Expand All @@ -173,7 +169,8 @@ Class | Method | HTTP request | Description
- [TradeBin](TradeBin.md)
- [Transaction](Transaction.md)
- [User](User.md)
- [UserCommission](UserCommission.md)
- [UserCommissionsBySymbol](UserCommissionsBySymbol.md)
- [UserEvent](UserEvent.md)
- [UserPreferences](UserPreferences.md)
- [Wallet](Wallet.md)
- [XAny](XAny.md)
Expand All @@ -182,16 +179,16 @@ Class | Method | HTTP request | Description
## Documentation for Authorization

Authentication schemes defined for the API:
### apiKey
### apiExpires

- **Type**: API key
- **API key parameter name**: api-key
- **API key parameter name**: api-expires
- **Location**: HTTP header

### apiNonce
### apiKey

- **Type**: API key
- **API key parameter name**: api-nonce
- **API key parameter name**: api-key
- **Location**: HTTP header

### apiSignature
Expand Down
Loading

0 comments on commit 56edbdf

Please sign in to comment.