GET /v1/event_streams
Description
Returns a list of event stream resources
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 |
Examples
Fetch list of event streams
Request
Requires AuthorizationGET /v1/event_streams
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.eu.amp.cisco.com/v1/event_streams'
Response
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.eu.amp.cisco.com/v1/event_streams'
Shortened for readability
content-type: application/json transfer-encoding: chunked status: 200 OK x-ratelimit-limit: 3000 x-ratelimit-reset: 890 strict-transport-security: max-age=31536000; includeSubDomains, max-age=31536000 referrer-policy: strict-origin-when-cross-origin x-ratelimit-remaining: 2835 x-permitted-cross-domain-policies: none x-download-options: noopen etag: W/"aa7617468e9c909be26fd0a802be7e19" x-frame-options: SAMEORIGIN x-ratelimit-resetdate: 2022-03-18T11:55:11Z
{
"version": "v1.2.0",
"metadata": {
"links": {
"self": "https://api.eu.amp.cisco.com/v1/event_streams"
},
"results": {
"total": 2
}
},
"data": [
{
"id": 30098,
"name": "dBoEkqNI",
"group_guids": [
"a4a983ef-91df-428f-9b08-1e88ec5357df"
],
"event_types": [
1090519054
],
"amqp_credentials": {
"user_name": "30098-16db5cf986eec6f44422",
"queue_name": "event_stream_30098",
"host": "export-streaming-lb-int.qa1.immunet.com",
"port": "443",
"proto": "amqps"
}
},
{
"id": 30099,
"name": "rxIJLtls",
"group_guids": [
"a4a983ef-91df-428f-9b08-1e88ec5357df"
],
"amqp_credentials": {
"user_name": "30099-16db5cf986eec6f44422",
"queue_name": "event_stream_30099",
"host": "export-streaming-lb-int.qa1.immunet.com",
"port": "443",
"proto": "amqps"
}
}
]
}