Skip to content

Latest commit

 

History

History
92 lines (63 loc) · 2.34 KB

SchemaApi.md

File metadata and controls

92 lines (63 loc) · 2.34 KB

SchemaApi

All URIs are relative to https://localhost/api/v1

Method HTTP request Description
schemaGet GET /schema Get model schemata for data objects returned by this API.
schemaWebsocketHelp GET /schema/websocketHelp Returns help text & subject list for websocket usage.

schemaGet

Object schemaGet(model)

Get model schemata for data objects returned by this API.

Example

// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.SchemaApi;


SchemaApi apiInstance = new SchemaApi();
String model = "model_example"; // String | Optional model filter. If omitted, will return all models.
try {
    Object result = apiInstance.schemaGet(model);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling SchemaApi#schemaGet");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
model String Optional model filter. If omitted, will return all models. [optional]

Return type

Object

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, application/x-www-form-urlencoded
  • Accept: application/json, application/xml, text/xml, application/javascript, text/javascript

schemaWebsocketHelp

Object schemaWebsocketHelp()

Returns help text & subject list for websocket usage.

Example

// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.SchemaApi;


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

Parameters

This endpoint does not need any parameter.

Return type

Object

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, application/x-www-form-urlencoded
  • Accept: application/json, application/xml, text/xml, application/javascript, text/javascript