Cisco AMP for Endpoints API

GET /v1/event_streams

Description

Returns a list of event stream resources

Show Response Fields

Name Type Description
version String
metadata.links.self String
metadata.results.total Integer
data Array
data[].id Integer
data[].name String
data[].amqp_credentials.user_name String
data[].amqp_credentials.queue_name String
data[].amqp_credentials.host String
data[].amqp_credentials.port String
data[].amqp_credentials.proto String
Write
Preview

Examples

Fetch list of event streams

Fetch list of event streams

Request

Requires Authorization
GET /v1/event_streams
Headers
accept: application/json
content-type: application/json
authorization: Basic FILTERED

cURL Edit, then copy and paste on your terminal

curl -X GET \
-H 'accept: application/json' \
-H 'content-type: application/json' \
--compressed -H 'Accept-Encoding: gzip, deflate' \
-u YOUR_API_CLIENT_ID \
'https://api.eu.amp.cisco.com/v1/event_streams'

Response

Shortened for readability

strict-transport-security: max-age=31536000
content-type: application/json; charset=utf-8
status: 200 OK
x-ratelimit-limit: 3000
x-ratelimit-reset: 3289
x-ratelimit-remaining: 2697
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2019-08-02T18:40:25Z
transfer-encoding: chunked
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.eu.amp.cisco.com/v1/event_streams"
    },
    "results": {
      "total": 2
    }
  },
  "data": [
    {
      "id": 26276,
      "name": "NVoWjBni",
      "group_guids": [
        "5cdf70dd-1b14-46a0-be90-e08da14172d8"
      ],
      "event_types": [
        1090519054
      ],
      "amqp_credentials": {
        "user_name": "26276-16db5cf986eec6f44422",
        "queue_name": "event_stream_26276",
        "host": "export-streaming-lb-int.qa1.immunet.com",
        "port": "443",
        "proto": "https"
      }
    },
    {
      "id": 26277,
      "name": "bAsULJNS",
      "group_guids": [
        "5cdf70dd-1b14-46a0-be90-e08da14172d8"
      ],
      "amqp_credentials": {
        "user_name": "26277-16db5cf986eec6f44422",
        "queue_name": "event_stream_26277",
        "host": "export-streaming-lb-int.qa1.immunet.com",
        "port": "443",
        "proto": "https"
      }
    }
  ]
}