All URIs are relative to https://api.evident.io
| Method | HTTP request | Description |
|---|---|---|
| list_for_alert | GET /api/v2/alerts/{alert_id}/tags.json_api | Get a list of Tags |
| show | GET /api/v2/tags/{id}.json_api | Show a single Tag |
PaginatedCollection list_for_alert(alert_id, page=page)
Get a list of Tags
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.TagsApi()
alert_id = 56 # int | The ID of the alert to list tags for
page = '{:number=>1,+:size=>20}' # str | Page Number and Page Size. Number is the page number of the collection to return, size is the number of items to return per page. (optional) (default to {:number=>1,+:size=>20})
try:
# Get a list of Tags
api_response = api_instance.list_for_alert(alert_id, page=page)
pprint(api_response)
except ApiException as e:
print("Exception when calling TagsApi->list_for_alert: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| alert_id | int | The ID of the alert to list tags for | |
| page | str | Page Number and Page Size. Number is the page number of the collection to return, size is the number of items to return per page. | [optional] [default to {:number=>1,+:size=>20}] |
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]
Tag show(id)
Show a single Tag
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.TagsApi()
id = 56 # int | Tag ID
try:
# Show a single Tag
api_response = api_instance.show(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling TagsApi->show: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | Tag 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]