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.password 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

x-ratelimit-limit: 3000
x-ratelimit-reset: 3331
x-ratelimit-remaining: 2891
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2017-08-18T03:52:38Z
strict-transport-security: max-age=31536000
status: 200 OK
transfer-encoding: chunked
content-type: application/json; charset=utf-8
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.eu.amp.cisco.com/v1/event_streams"
    },
    "results": {
      "total": 1
    }
  },
  "data": [
    {
      "id": 3952,
      "name": "fireamp-api-doc-stream",
      "amqp_credentials": {
        "user_name": "3952-16db5cf986eec6f44422",
        "password": "e42d6f2a38118d6d4aedcad4488d606c33295a54",
        "queue_name": "event_stream_3952",
        "host": "export-streaming-lb1-int.qa1.immunet.com",
        "port": "443",
        "proto": "https"
      }
    }
  ]
}