All URIs are relative to http://localhost/
| Method | HTTP request | Description |
|---|---|---|
| forAlert | GET api/v2/alerts/{alert_id}/metadata.json_api | Show the metadata for an alert |
| show | GET api/v2/metadata/{id}.json_api | Show a single Metadata |
Metadata forAlert(alertId)
Show the metadata for an alert
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.MetadataApi;
MetadataApi apiInstance = new MetadataApi();
Integer alertId = 56; // Integer | Alert Id
try {
Metadata result = apiInstance.forAlert(alertId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MetadataApi#forAlert");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| alertId | Integer | Alert Id |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
Metadata show(id)
Show a single Metadata
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.MetadataApi;
MetadataApi apiInstance = new MetadataApi();
Integer id = 56; // Integer | Metadata ID
try {
Metadata result = apiInstance.show(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MetadataApi#show");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Metadata ID |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json