All URIs are relative to https://api.evident.io
| Method | HTTP request | Description |
|---|---|---|
| for_alert | 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 for_alert(alert_id)
Show the metadata for an alert
from __future__ import print_statement
import time
import esp_sdk
from esp_sdk.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = esp_sdk.MetadataApi()
alert_id = 56 # int | Alert Id
try:
# Show the metadata for an alert
api_response = api_instance.for_alert(alert_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling MetadataApi->for_alert: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| alert_id | int | Alert Id |
See https://github.com/EvidentSecurity/esp-sdk-python#set-your-hmac-security-keys
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Metadata show(id)
Show a single Metadata
from __future__ import print_statement
import time
import esp_sdk
from esp_sdk.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = esp_sdk.MetadataApi()
id = 56 # int | Metadata ID
try:
# Show a single Metadata
api_response = api_instance.show(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling MetadataApi->show: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | Metadata ID |
See https://github.com/EvidentSecurity/esp-sdk-python#set-your-hmac-security-keys
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]