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(model=model)
Get model schemata for data objects returned by this API.
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.SchemaApi()
model = 'model_example' # str | Optional model filter. If omitted, will return all models. (optional)
try:
# Get model schemata for data objects returned by this API.
api_response = api_instance.schema_get(model=model)
pprint(api_response)
except ApiException as e:
print("Exception when calling SchemaApi->schema_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
model | str | 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
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object schema_websocket_help()
Returns help text & subject list for websocket usage.
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.SchemaApi()
try:
# Returns help text & subject list for websocket usage.
api_response = api_instance.schema_websocket_help()
pprint(api_response)
except ApiException as e:
print("Exception when calling SchemaApi->schema_websocket_help: %s\n" % e)
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
[Back to top] [Back to API list] [Back to Model list] [Back to README]