Cisco AMP for Endpoints API

GET /v1/event_streams/{:id}

Description

Returns information about an active event stream resource

Show Response Fields

Name Type Description
version String
metadata.links.self String
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 event stream with given id

Fetch event stream with given id

Request

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

cURL Edit, then copy and paste on your terminal

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

Response

Shortened for readability

content-type: application/json; charset=utf-8
transfer-encoding: chunked
status: 200 OK
x-ratelimit-limit: 3000
x-ratelimit-reset: 1981
referrer-policy: strict-origin-when-cross-origin
x-ratelimit-remaining: 2839
x-permitted-cross-domain-policies: none
x-download-options: noopen
etag: W/"c6820967bb9a3657615eceabbbdaf7d7"
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2021-05-05T23:55:49Z
strict-transport-security: max-age=31536000
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.apjc.amp.cisco.com/v1/event_streams/28855"
    }
  },
  "data": {
    "id": 28855,
    "name": "RYyOhiFm",
    "group_guids": [
      "a4a983ef-91df-428f-9b08-1e88ec5357df"
    ],
    "event_types": [
      1090519054
    ],
    "amqp_credentials": {
      "user_name": "28855-16db5cf986eec6f44422",
      "queue_name": "event_stream_28855",
      "host": "export-streaming-lb-int.qa1.immunet.com",
      "port": "443",
      "proto": "amqps"
    }
  }
}