All URIs are relative to https://api.evident.io
Method | HTTP request | Description |
---|---|---|
show | GET /api/v2/alerts/{alert_id}/attribution.json_api | Show the attribution for an alert |
Attribution show(alert_id, include=include)
Show the attribution 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.AttributionApi()
alert_id = 56 # int | The ID of the alert to retrieve user attribution for
include = 'include_example' # str | Related objects that can be included in the response: alert See Including Objects for more information. (optional)
try:
# Show the attribution for an alert
api_response = api_instance.show(alert_id, include=include)
pprint(api_response)
except ApiException as e:
print("Exception when calling AttributionApi->show: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
alert_id | int | The ID of the alert to retrieve user attribution for | |
include | str | Related objects that can be included in the response: alert See Including Objects for more information. | [optional] |
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]