Skip to content

Latest commit

 

History

History
83 lines (64 loc) · 2.92 KB

UserEventApi.md

File metadata and controls

83 lines (64 loc) · 2.92 KB

IO.Swagger.Api.UserEventApi

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

Method HTTP request Description
UserEventGet GET /userEvent Get your user events

UserEventGet

List UserEventGet (double? count = null, double? startId = null)

Get your user events

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class UserEventGetExample
    {
        public void main()
        {
            // Configure API key authorization: apiExpires
            Configuration.Default.AddApiKey("api-expires", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.AddApiKeyPrefix("api-expires", "Bearer");
            // Configure API key authorization: apiKey
            Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
            // Configure API key authorization: apiSignature
            Configuration.Default.AddApiKey("api-signature", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.AddApiKeyPrefix("api-signature", "Bearer");

            var apiInstance = new UserEventApi();
            var count = 1.2;  // double? | Number of results to fetch. (optional)  (default to 150)
            var startId = 1.2;  // double? | Cursor for pagination. (optional) 

            try
            {
                // Get your user events
                List<UserEvent> result = apiInstance.UserEventGet(count, startId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserEventApi.UserEventGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
count double? Number of results to fetch. [optional] [default to 150]
startId double? Cursor for pagination. [optional]

Return type

List

Authorization

apiExpires, apiKey, apiSignature

HTTP request headers

  • 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]