Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.2 KB

UserApi.md

File metadata and controls

54 lines (37 loc) · 1.2 KB

UserApi

All URIs are relative to https://api.factom.pro/v1

Method HTTP request Description
getUser GET /user Get user info

getUser

InlineResponse2001 getUser()

Get user info

This endpoint returns information about user, such as limits & usage stats.

Example

// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.UserApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();


UserApi apiInstance = new UserApi();
try {
    InlineResponse2001 result = apiInstance.getUser();
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling UserApi#getUser");
    e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

InlineResponse2001

Authorization

[Bearer Authorization](../README.md#Bearer Authorization)

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json