All URIs are relative to https://www.bitmex.com/api/v1
Method | HTTP request | Description |
---|---|---|
schema_get | GET /schema | Get model schemata for data objects returned by this API. |
schema_websocket_help | GET /schema/websocketHelp | Returns help text & subject list for websocket usage. |
Object schema_get(opts)
Get model schemata for data objects returned by this API.
# load the gem
require 'swagger_client'
api_instance = SwaggerClient::SchemaApi.new
opts = {
model: 'model_example' # String | Optional model filter. If omitted, will return all models.
}
begin
#Get model schemata for data objects returned by this API.
result = api_instance.schema_get(opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling SchemaApi->schema_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
model | String | Optional model filter. If omitted, will return all models. | [optional] |
Object
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
Object schema_websocket_help
Returns help text & subject list for websocket usage.
# load the gem
require 'swagger_client'
api_instance = SwaggerClient::SchemaApi.new
begin
#Returns help text & subject list for websocket usage.
result = api_instance.schema_websocket_help
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling SchemaApi->schema_websocket_help: #{e}"
end
This endpoint does not need any parameter.
Object
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript