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.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 event stream with given id

Fetch event stream with given id

Request

Requires Authorization
GET /v1/event_streams/3952
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.amp.cisco.com/v1/event_streams/3952'

Response

Shortened for readability

x-ratelimit-limit: 3000
x-ratelimit-reset: 3331
x-ratelimit-remaining: 2890
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.amp.cisco.com/v1/event_streams/3952"
    }
  },
  "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"
    }
  }
}