Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.45 KB

SpanApi.md

File metadata and controls

57 lines (38 loc) · 1.45 KB

spanapi.api.SpanApi

Load the API package

import 'package:spanapi/api.dart';

All URIs are relative to https://api.lab5e.com

Method HTTP request Description
getSystemInfo GET /span/system System information

getSystemInfo

SystemInfoResponse getSystemInfo()

System information

Get system information. This will show the current version of the API that you are using.

Example

import 'package:spanapi/api.dart';
// TODO Configure API key authorization: APIToken
//defaultApiClient.getAuthentication<ApiKeyAuth>('APIToken').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('APIToken').apiKeyPrefix = 'Bearer';

final api_instance = SpanApi();

try {
    final result = api_instance.getSystemInfo();
    print(result);
} catch (e) {
    print('Exception when calling SpanApi->getSystemInfo: $e\n');
}

Parameters

This endpoint does not need any parameter.

Return type

SystemInfoResponse

Authorization

APIToken

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]